Template:IsDocSubpage
Revision as of 03:41, 29 June 2022 by Naginreed (talk | contribs) (Created page with "<onlyinclude><includeonly>{{#ifexpr: ( {{#ifeq:{{lc:{{SUBPAGENAME}}}}|{{lc:{{{override|doc}}}}}|1|0}} or ( {{#ifeq:{{lc:{{#titleparts:{{FULLPAGENAME}}|-1|-2}}}}|{{lc:{{{override|doc}}}}}|1|0}} and {{#if:{{#invoke:Template translation|getLanguageSubpage}}|1|0}} ) )<!-- -->|{{{true|1}}}<!-- -->|{{{false|}}}<!-- -->}}</includeonly></onlyinclude> <noinclude> {{doc}} Category:Formatting templates </noinclude>")
Returns 'true' if this template has been transcluded on a /doc or /{{{override}}} page.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Output on true | true | Specifies the output of the template when the current page is a /doc subpage.
| String | optional |
Output on false | false | Specifies the output of the template when the current page is not a /doc subpage. | String | optional |
Doc page name override | override | no description
| String | optional |
The above documentation is transcluded from Template:IsDocSubpage/doc. (edit | history)