Template:Always substitute: Difference between revisions

From Project Basis
Jump to navigation Jump to search
Talod>Sango
Created page with "{{{{{|safesubst:}}}#invoke:Unsubst|main|$B= {{Ombox | name = Subst only | type = notice | text = This template <strong>{{#switch:{{{yesnomaybe|}}}|may=may be substituted</strong>|never=should <em>not</em> be substituted</strong>||#default=should always be substituted</strong> – use <!-- -->{{{actualtemplate|{{template other|{{Tlsp|code=yes|{{#switch:{{SUBPAGENAME}}|doc|sandbox={{BASEPAGENAME}}|{{PAGE..."
 
m 1 revision imported
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{{{{|safesubst:}}}#invoke:Unsubst|main|$B=
{{{{{|safesubst:}}}#invoke:Unsubst|main|$B=
{{Ombox
{{Ombox
| name = Subst only
| style = text-align: center;
| type = notice
| name = Subst only
| 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 <!--
| type = notice
| 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}}}}}}}}}}}. <!--
  -->{{{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]]}}}}}} <!--
Line 10: Line 12:
|never=[[Category:Wikipedia never-substituted templates]]
|never=[[Category:Wikipedia never-substituted templates]]
|may=<!--No applicable category-->
|may=<!--No applicable category-->
|#default=[[Category:Wikipedia substituted templates]]
|#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>

Latest revision as of 15:04, 22 July 2026