Difference between revisions of "Template:Subst only"
From Roll20 Wiki
m |
Andreas J. (Talk | contribs) m |
||
(2 intermediate revisions by one user not shown) | |||
Line 2: | Line 2: | ||
| type = notice | | type = notice | ||
| image = [[File:Ambox notice.png|32px|alt=|link=]] | | image = [[File:Ambox notice.png|32px|alt=|link=]] | ||
− | | text = '''This template should always be [[ | + | | text = '''This template should always be [[MW:Manual: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}}}}} | | + | -->{{#if:{{yesno|{{{auto|no}}}}} |{{{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}}[[Category:Templates]]</noinclude> |
Latest revision as of 22:10, 31 January 2021
[create] Template documentation
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. |