Template:Always substitute: Difference between revisions

From the Croc Wiki, the Croc encyclopedia
Jump to navigationJump to search
Content added Content deleted
(Allow categorization on subpages other than /doc or /sandbox. Ex: Template:BibISBN/0801857899)
(changes to display properly on doc page per request by Bsherr)
Line 3: Line 3:
| image = [[File:Information icon.svg|40px|alt=|link=]]
| image = [[File:Information icon.svg|40px|alt=|link=]]
| text = '''This template should always be [[Help:Substitution|substituted]]''' (i.e., use <!--
| text = '''This template should always be [[Help:Substitution|substituted]]''' (i.e., use <!--
-->{{#ifeq:{{NAMESPACE}}:{{BASEPAGENAME}}|Template:Subst only |{{braces|[[Wikipedia:Substitution|subst]]:'''''Template name'''''}} |{{{actualtemplate|{{template other|{{Tlsp|{{PAGENAME}}}}|{{Tlsu|{{FULLPAGENAME}}}}}}}}}}}). <!--
-->{{{actualtemplate|{{template other|{{Tlsp|{{#switch:{{SUBPAGENAME}}|doc|sandbox={{BASEPAGENAME}}|{{PAGENAME}}}}}}|{{Tlsu|{{FULLPAGENAME}}}}}}}}}). <!--
-->{{#if:{{yesno|{{{auto|no}}}}} |Any accidental transclusions will be automatically substituted by a bot.{{{1|}}}{{#switch:{{SUBPAGENAME}}|doc|sandbox=|#default=[[Category:Wikipedia templates to be automatically substituted]]}}}} <!--
-->{{#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:{{{alt|}}} |For transcluding, use {{Tl|{{{alt|}}}}} instead.}}
-->{{#if:{{{alt|}}} |For transcluding, use {{Tl|{{{alt|}}}}} instead.}}
}}{{#ifeq:{{BASEPAGENAME}}|{{PAGENAME}}|[[Category:Wikipedia substituted templates]]}}<noinclude>{{Documentation}}</noinclude>
}}{{#ifeq:{{BASEPAGENAME}}|{{PAGENAME}}|[[Category:Wikipedia substituted templates]]}}<noinclude>{{Documentation}}</noinclude>

Revision as of 17:05, September 2, 2018