Template:Documentation/template page: Difference between revisions
Template page
More actions
Subtemplate to simplify parent code |
Correctly handle `/doc` subpages |
||
| (4 intermediate revisions by 4 users not shown) | |||
| Line 1: | Line 1: | ||
{{#switch: {{SUBPAGENAME}} | {{#switch: {{SUBPAGENAME}} | ||
| sandbox | | sandbox | ||
| testcases = {{BASEPAGENAME}} | | doc | testcases = {{BASEPAGENAME}} | ||
| #default = {{PAGENAME}} | | #default = {{PAGENAME}} | ||
}}<noinclude> | }}<noinclude> | ||
---- | |||
This subtemplate of {{tl|documentation}} is used to determine the template page name. | This subtemplate of {{tl|documentation}} is used to determine the template page name. | ||
[[Category:Helper templates]] | |||
</noinclude> | |||
Latest revision as of 18:20, 31 July 2021
Documentation/template page
This subtemplate of {{Documentation}} is used to determine the template page name.