Difference between revisions of "Template:Subst only"
From Roll20 Wiki
m |
Andreas J. (Talk | contribs) m |
||
(One intermediate revision by one user not shown) | |||
Line 4: | Line 4: | ||
| text = '''This template should always be [[MW:Manual:Substitution|substituted]]''', i.e. use <!-- | | 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. |