Template:IsDocSubpage

From Foundry Wiki
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>")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)


Template-info.png Documentation

Returns 'true' if this template has been transcluded on a /doc or /{{{override}}} page.

Template parameters

ParameterDescriptionTypeStatus
Output on truetrue

Specifies the output of the template when the current page is a /doc subpage.

Default
1
Stringoptional
Output on falsefalse

Specifies the output of the template when the current page is not a /doc subpage.

Stringoptional
Doc page name overrideoverride

no description

Default
doc
Stringoptional
Edit parameter translations