Template:Always substitute: Difference between revisions
m 1 revision imported: importing Template:Maintenance category |
m 1 revision imported: Importing template Sfrac |
||
| (One intermediate revision by one other user not shown) | |||
| Line 1: | Line 1: | ||
{{{{{|safesubst:}}}#invoke:Unsubst|main|$B= | {{{{{|safesubst:}}}#invoke:Unsubst|main|$B= | ||
{{Ombox | {{Ombox | ||
| name | |style=text-align: center; | ||
| type | | name = Subst only | ||
| text | | type = notice | ||
-->{{{actualtemplate|{{template other|{{Tlsp|code=yes|{{#switch:{{SUBPAGENAME}}|doc|sandbox={{BASEPAGENAME}}|{{PAGENAME}}}}}}|{{Tlsu|code=yes|{{FULLPAGENAME}}}}}}}}} | | text = This template <strong>{{#switch:{{{yesnomaybe|}}}|may=may be [[Help:Substitution|substituted]]</strong>|never=should <em>not</em> be [[Help:Substitution|substituted]]</strong> – use <!-- | ||
-->{{{actualtemplate|{{template other|{{Tl|code=yes|{{#switch:{{SUBPAGENAME}}|doc|sandbox={{BASEPAGENAME}}|{{PAGENAME}}}}}}|{{tlu|code=yes|{{FULLPAGENAME}}}}}}}}}|#default=should always be [[Help:Substitution|substituted]]</strong> – use <!-- | |||
-->{{{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|}}}{{#if:{{yesno|{{{nocat|}}}}}|<!--no categorization-->|{{#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.}} | ||
}}{{#if:{{yesno|{{{nocat|<noinclude>true</noinclude>}}}}}|<!--no categorization-->|{{#switch:{{SUBPAGENAME}}|doc|sandbox=|{{#switch:{{{yesnomaybe|}}} | }}{{#if:{{yesno|{{{nocat|<noinclude>true</noinclude>}}}}}|<!--no categorization-->|{{#switch:{{SUBPAGENAME}}|doc|sandbox=|{{#switch:{{{yesnomaybe|}}} | ||
|never=[[Category:Wikipedia never-substituted templates]] | |never=[[Category:Wikipedia never-substituted templates]] | ||
|#default=[[Category:Wikipedia substituted templates]] | |may=<!--No applicable category--> | ||
|#default=[[Category:Wikipedia substituted templates]]{{#ifexpr: 0{{Find page text |text=<!%-%- *{{NAMESPACE}}:[{{lc:{{str left|{{Lua escape|{{{1|{{PAGENAME}}}}}}}|1}}}}{{uc:{{str left|{{Lua escape|{{{1|{{PAGENAME}}}}}}}|1}}}}]{{str right|{{Lua escape|{{{1|{{PAGENAME}}}}}}}|1}} *%-%-> |title={{FULLPAGENAME}} |plain=f}} > 0 | [[Category:Templates with matching hidden id]]}} | |||
}}}}}}}}<includeonly>__EXPECTUNUSEDTEMPLATE__</includeonly><noinclude>{{Documentation}}</noinclude> | }}}}}}}}<includeonly>__EXPECTUNUSEDTEMPLATE__</includeonly><noinclude>{{Documentation}}</noinclude> | ||