Template:Subst only: Difference between revisions

From Meta, a Wikimedia project coordination wiki
Content deleted Content added
clean up and clarify auto case
fix spacing
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 [[Wikipedia:Substitution|substituted]]''' – use {{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:{{{alt|}}}| For transcluding, use {{tl|{{{alt|}}}}} instead.|}}}}
|text='''This template should always be [[Wikipedia:Substitution|substituted]]''' – use {{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:{{{alt|}}}|For transcluding, use {{tl|{{{alt|}}}}} instead.}}
<includeonly>{{#ifeq:{{BASEPAGENAME}}|{{PAGENAME}}|[[Category:Wikipedia substituted templates]]}}</includeonly><noinclude>
}}<includeonly>{{#ifeq:{{BASEPAGENAME}}|{{PAGENAME}}|[[Category:Wikipedia substituted templates]]}}</includeonly><noinclude>
{{Documentation}}
{{Documentation}}
</noinclude>
</noinclude>

Revision as of 17:31, 5 April 2014

Template documentation