Template:IsDocSubpage

From mediawiki.org
Jump to navigation Jump to search
Template documentation

TemplateData[edit]

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.

Template parameters

This template prefers inline formatting of 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