Difference between revisions of "Template:Always substitute/doc"
Jump to navigation
Jump to search
(Shamelessly copied from wikipedia.org and adapted for SL Wiki) |
(→Usage: Missing |) |
||
Line 10: | Line 10: | ||
<code><nowiki>{{Always substitute}}</nowiki></code> | <code><nowiki>{{Always substitute}}</nowiki></code> | ||
{{tlf|Always substitute}} should be placed on the {{strong|{{Wikipedia|Wikipedia:Template documentation|documentation}} {{Wikipedia|Wikipedia:Subpage|subpage}}}} of any template that requires {{Wikipedia|Help:Substitution|substitution}} rather than {{Wikipedia | {{tlf|Always substitute}} should be placed on the {{strong|{{Wikipedia|Wikipedia:Template documentation|documentation}} {{Wikipedia|Wikipedia:Subpage|subpage}}}} of any template that requires {{Wikipedia|Help:Substitution|substitution}} rather than {{Wikipedia|Transclusion|transclusion}} (i.e. not on the template's own page itself). | ||
Pages that include {{tlf|Always substitute}} are added to [[:Category:Wikipedia substituted templates]]. | Pages that include {{tlf|Always substitute}} are added to [[:Category:Wikipedia substituted templates]]. |
Revision as of 23:31, 15 September 2022
This template should not be substituted. |
This is a documentation subpage for Template:Always substitute. It contains usage information, categories and other content or metadata that is not part of the original template. |
{{Always substitute}} produces the following notice:
This template should always be substituted (i.e., use {{subst:foo}}). |
(but {{Always substitute}} itself should not be substituted.)
Usage
{{Always substitute}}
{{Always 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).
Pages that include {{Always substitute}} are added to Category:Wikipedia substituted templates.
Parameters
|auto =
- If set as "yes", the template to which the notice refers will be subst:ed automatically unless the |demo = yes parameter is set. The notice is amended to state this. Default is "no". Setting this parameter to "yes" places the template in Category:Wikipedia templates to be automatically substituted; see User:AnomieBOT/docs/TemplateSubster for more information.
|alt =
- Use to set an alternate and transcludable name for the template.
Redirects
- {{substed}}
- {{substitute}}
- {{substituted}}
- {{substonly}}
- {{subst only}}
Template:List of subst helper templates