Difference between revisions of "Template:Subst only"
Jump to navigation
Jump to search
Template documentation[create]
test>GXXF (Removing <includeonly> tags) |
test>Debresser m (Spaces etc.) |
||
| Line 3: | Line 3: | ||
| image = [[File:Imbox notice.png|32px|alt=|link=]] | | image = [[File:Imbox notice.png|32px|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|{{ | + | -->{{#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|}}}{{#ifeq:{{BASEPAGENAME}}|{{PAGENAME}}|[[Category:Wikipedia templates to be automatically substituted]]}}}} <!-- |
| − | -->{{#if:{{{alt|}}} |For transcluding, use {{ | + | -->{{#if:{{{alt|}}} |For transcluding, use {{Tl|{{{alt|}}}}} instead.}} |
| − | }}{{#ifeq:{{BASEPAGENAME}}|{{PAGENAME}} |[[Category:Wikipedia substituted templates]]}} | + | }}{{#ifeq:{{BASEPAGENAME}}|{{PAGENAME}}|[[Category:Wikipedia substituted templates]]}}<noinclude>{{Documentation}}</noinclude> |
| − | <noinclude>{{Documentation}}</noinclude> | ||
Revision as of 22:44, 19 November 2016
| This template should always be substituted (i.e., use {{subst:Template name}}). |
| Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |