Template:IsDocSubpage: Difference between revisions

From Campaigns
Jump to navigation Jump to search
BREAKING CHANGE: Change the default of `false` to the empty string (match commons:Template:IsDocSubpage)
 
m 1 revision imported
 
(No difference)

Latest revision as of 19:52, 3 November 2021

Template documentation

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

Template parameters[Edit template data]

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

[[Category:Utility templates{{#translation:}}]]