Template:Always substitute: Difference between revisions
Jump to navigation
Jump to search
Content added Content deleted
m (1 revision imported) |
(per edit requests on talk page - use tags for accessibility + eliminate parens and "ie") |
||
| Line 3: | Line 3: | ||
| name = Subst only |
| name = Subst only |
||
| type = notice |
| type = notice |
||
| − | | text = |
+ | | text = This template <strong>{{#switch:{{{yesnomaybe|}}}|may=may be [[Help:Substitution|substituted]]</strong>|never=should <em>not</em> be [[Help:Substitution|substituted]]</strong>||#default=should always be [[Help:Substitution|substituted]]</strong> – 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=| |
+ | }}{{#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 05:01, 4 November 2025
| File:Information icon4.svg | This template should always be substituted – use Template:Tlsp. |
File:Test Template Info-Icon - Version (2).svg Template documentation[create] [purge]