Template:Always substitute: Difference between revisions
m (1 revision imported) |
(make __EXPECTUNUSEDTEMPLATE__ includeonly) |
||
Line 4: | Line 4: | ||
| type = notice | | type = notice | ||
| text = '''This template {{#switch:{{{yesnomaybe|}}}|may=may be [[Help:Substitution|substituted]]'''|never=should ''not'' be [[Help:Substitution|substituted]]'''||#default=should always be [[Help:Substitution|substituted]]''' (i.e., use <!-- | | text = '''This template {{#switch:{{{yesnomaybe|}}}|may=may be [[Help:Substitution|substituted]]'''|never=should ''not'' be [[Help:Substitution|substituted]]'''||#default=should always be [[Help:Substitution|substituted]]''' (i.e., use <!-- | ||
-->{{{actualtemplate|{{template other|{{Tlsp|{{#switch:{{SUBPAGENAME}}|doc|sandbox={{BASEPAGENAME}}|{{PAGENAME}}}}}}|{{Tlsu|{{FULLPAGENAME}}}}}}}}})}}. <!-- | -->{{{actualtemplate|{{template other|{{Tlsp|code=yes|{{#switch:{{SUBPAGENAME}}|doc|sandbox={{BASEPAGENAME}}|{{PAGENAME}}}}}}|{{Tlsu|code=yes|{{FULLPAGENAME}}}}}}}}})}}. <!-- | ||
-->{{#if:{{yesno|{{{auto|no}}}}} |Any accidental transclusions will be automatically substituted by a bot.{{{1|}}}{{#switch:{{SUBPAGENAME}}|doc|sandbox=|[[Category:Wikipedia templates to be automatically substituted]]}}}} <!-- | -->{{#if:{{yesno|{{{auto|no}}}}} |Any accidental transclusions will be automatically substituted by a bot.{{{1|}}}{{#if:{{yesno|{{{nocat|}}}}}|<!--no categorization-->|{{#switch:{{SUBPAGENAME}}|doc|sandbox=|[[Category:Wikipedia templates to be automatically substituted]]}}}}}} <!-- | ||
-->{{#if:{{{alt|}}} |For transcluding, use {{Tl|{{{alt|}}}}} instead.}} | -->{{#if:{{{alt|}}} |For transcluding, use {{Tl|{{{alt|}}}}} instead.}} | ||
}}{{#switch:{{SUBPAGENAME}}|doc|sandbox=|[[Category:Wikipedia substituted templates]]}}}}<noinclude>{{Documentation}}</noinclude> | }}{{#if:{{yesno|{{{nocat|<noinclude>true</noinclude>}}}}}|<!--no categorization-->|{{#switch:{{SUBPAGENAME}}|doc|sandbox=|{{#switch:{{{yesnomaybe|}}} | ||
|never=[[Category:Wikipedia never-substituted templates]] | |||
|#default=[[Category:Wikipedia substituted templates]] | |||
}}}}}}}}<includeonly>__EXPECTUNUSEDTEMPLATE__</includeonly><noinclude>{{Documentation}}</noinclude> |
Revision as of 07:41, 3 September 2024
This template should always be substituted (i.e., use Template:Tlsp). |
File:Test Template Info-Icon - Version (2).svg Template documentation[create] [purge]