Difference between revisions of "Template:Subst only"

From blackwiki
Jump to navigation Jump to search
test>Primefac
m (Changed protection level for "Template:Subst only": high-risk template with 2000+ transclusions ([Edit=Require template editor access] (indefinite) [Move=Require template editor access] (indefinite)))
test>Pppery
(Allow categorization on subpages other than /doc or /sandbox. Ex: Template:BibISBN/0801857899)
Line 4: Line 4:
 
| 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}}}}}}}}}}}). <!--
 
  -->{{#ifeq:{{NAMESPACE}}:{{BASEPAGENAME}}|Template:Subst only |{{braces|[[Wikipedia:Substitution|subst]]:'''''Template name'''''}} |{{{actualtemplate|{{template other|{{Tlsp|{{PAGENAME}}}}|{{Tlsu|{{FULLPAGENAME}}}}}}}}}}}). <!--
  -->{{#if:{{yesno|{{{auto|no}}}}} |Any accidental transclusions will be automatically substituted by a bot.{{{1|}}}{{#ifeq:{{BASEPAGENAME}}|{{PAGENAME}}|[[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=|#default=[[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 01:11, 21 July 2018

Template documentation[create]