Template:Substitute/doc: Difference between revisions
ArrowHead294 (talk | contribs) mNo edit summary |
ArrowHead294 (talk | contribs) mNo edit summary |
||
Line 1: | Line 1: | ||
{{dochead}}{{{{ROOTPAGENAMEE}}|no}} | {{dochead}}{{{{ROOTPAGENAMEE}}|no}}{{wikipedia|Template:Always substitute|Template:May be substituted|Template:Never substitute}} | ||
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. | ||
Line 11: | Line 11: | ||
=== Usage === | === Usage === | ||
==== Templates that ''must'' be substituted ==== | |||
Equivalent to Wikipedia's {{w|Template:Always substitute}} | |||
<pre>{{substitute|always}}</pre> | <pre>{{substitute|always}}</pre> | ||
{{{{ROOTPAGENAMEE}}|always}} | {{{{ROOTPAGENAMEE}}|always|tname=[Template name]}} | ||
==== Templates that ''must not'' be substituted ==== | |||
Equivalent to Wikipedia's {{w|Template:Never substitute}}. | |||
<pre>{{substitute|no}}</pre> | <pre>{{substitute|no}}</pre> | ||
{{{{ROOTPAGENAMEE}}|no}} | {{{{ROOTPAGENAMEE}}|no}} | ||
==== Templates that can be substituted or transcluded ==== | |||
Equivalent to Wikipedia's {{w|Template:May be substituted}}. | |||
<pre>{{substitute|both}}</pre> | <pre>{{substitute|both}}</pre> | ||
{{{{ROOTPAGENAMEE}}|both}} | {{{{ROOTPAGENAMEE}}|both}} |