Difference between revisions of "Template:Subst only"
From Roll20 Wiki
m |
m |
||
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}}</noinclude> |
Revision as of 20:28, 16 January 2015
[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. |