Difference between revisions of "Template:Subst only"
Jump to navigation
Jump to search
test>Sardanaphalus (includeonly scope) |
test>Sardanaphalus (#ifeq: to ensure "{{subst:Subst only}}" not shown on this ({{Subst only}}'s own) page) |
||
| Line 2: | Line 2: | ||
| type = notice | | type = notice | ||
| 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 {{{actualtemplate|{{template other|{{tlsp|{{PAGENAME}}}}|{{tlsu|{{FULLPAGENAME}}}}}}}}}. <!-- | + | | 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}}}}}}}}}}}. <!-- | ||
-->{{#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 {{tl|{{{alt|}}}}} instead.}} | -->{{#if:{{{alt|}}} |For transcluding, use {{tl|{{{alt|}}}}} instead.}} | ||
}}{{#ifeq:{{BASEPAGENAME}}|{{PAGENAME}} |[[Category:Wikipedia substituted templates]]}}</includeonly><noinclude>{{Documentation}}</noinclude> | }}{{#ifeq:{{BASEPAGENAME}}|{{PAGENAME}} |[[Category:Wikipedia substituted templates]]}}</includeonly><noinclude>{{Documentation}}</noinclude> | ||