Template:IsDocSubpage: Difference between revisions
Jump to navigation
Jump to search
>Tacsipacsi use {{#translation:}}—it handles manual translations as well |
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:{{#translation:}}|1|0}} ) )<!-- -->|{{{true|1}}}<!-- -->|{{{false|}}}<!-- -->}}</includeonly></onlyinclude> {{Documentation}} <!-- Add categories to the /doc subpage and interwikis in Wikidata, not here! -->" |
(No difference)
| |
Latest revision as of 19:40, 11 February 2023
| Do not edit. This page is maintained by an automated tool. All edits should be done at mediawiki.org. (translate this warning) |
This is the TemplateData documentation for this template used by VisualEditor and other tools.
IsDocSubpage
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 |