Template:Substitute/doc: Difference between revisions

From Xenharmonic Wiki
Jump to navigation Jump to search
ArrowHead294 (talk | contribs)
mNo edit summary
ArrowHead294 (talk | contribs)
mNo edit summary
Line 1: Line 1:
{{dochead}}
{{dochead}}{{{{ROOTPAGENAMEE}}|no}}
This template is used as a header to show whether a template should be substituted or not.
This template is used as a header to show whether a template should be substituted or not.



Revision as of 14:18, 20 May 2025

This template should not be substituted.

This template is used as a header to show whether a template should be substituted or not.

{{substitute}} should be placed on the documentation subpage of any template that requires substitution rather than transclusion (i.e. not on the template's own page itself).

Templates that should always be substituted must be added to Category:Substituted templates.

Parameters

{{{1}}} (required)
Set this to always if the template should always be substituted, no if the template should not be substituted, or both if the template can be either substituted or transcluded.

Usage

{{substitute|always}}
This template should always be substituted (i.e. use {{subst:Substitute}}).


{{substitute|no}}
This template should not be substituted.


{{substitute|both}}
This template may be substituted.