Template:Substitute/doc: Difference between revisions
ArrowHead294 (talk | contribs) mNo edit summary |
ArrowHead294 (talk | contribs) mNo edit summary |
||
Line 5: | Line 5: | ||
{{tlx|substitute}} should be placed on the {{w|Wikipedia:Template documentation|documentation}} {{w|subpage|s=wp}} of any template that requires [[mw:help:substitution|substitution]] rather than [[mw:help:transclusion|transclusion]] (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 [[mw:help:substitution|substitution]] rather than [[mw:help:transclusion|transclusion]] (i.e. not on the template's own page itself). | ||
Pages that include {{ | Pages that include <code>{{<nowiki />substitute|always}}</code> are added to [[:Category:Substituted templates]]. | ||
==== Parameters ==== | ==== Parameters ==== | ||
; <code>{{{<nowiki />1}}}</code> (required) | ; <code>{{{<nowiki />1}}}</code> (required) | ||
: Set this to <code>always</code> if the template ''should always'' be substituted, <code>no</code> if the template ''should not'' be substituted, or <code>maybe</code> if the template can be either substituted or transcluded. | : Set this to <code>always</code> if the template ''should always'' be substituted, <code>no</code> if the template ''should not'' be substituted, or <code>maybe</code> if the template can be either substituted or transcluded. |