Template:Substitute/doc: Difference between revisions
ArrowHead294 (talk | contribs) mNo edit summary |
ArrowHead294 (talk | contribs) mNo edit summary |
||
Line 1: | Line 1: | ||
{{dochead | {{dochead}}{{wikipedia|Template:Always substitute|Template:Never substitute|Template:May be substituted}} | ||
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. '''It should never be substituted.''' | ||
{{tlx|substitute}} should be placed on the {{w|Wikipedia:Template documentation|documentation}} {{w|subpage|s=wp}} of any template that requires {{w|substitution|s=mw:help}} rather than {{w|transclusion|s=mw:help}} (i.e. not on the template's own page itself). | {{tlx|substitute}} should be placed on the {{w|Wikipedia:Template documentation|documentation}} {{w|subpage|s=wp}} of any template that requires {{w|substitution|s=mw:help}} rather than {{w|transclusion|s=mw:help}} (i.e. not on the template's own page itself). | ||
Line 14: | Line 14: | ||
Equivalent to Wikipedia's {{w|Template:Always substitute}}. | Equivalent to Wikipedia's {{w|Template:Always substitute}}. | ||
<pre>{{substitute|always}}</pre> | <pre>{{substitute|always}}</pre> | ||
{{{{ROOTPAGENAMEE}}|always | {{{{ROOTPAGENAMEE}}|always}} | ||
==== Templates that ''must not'' be substituted ==== | ==== Templates that ''must not'' be substituted ==== |