Template:Subst only: Difference between revisions

From Meta, a Wikimedia project coordination wiki
Content deleted Content added
fix magic word
clean up and clarify auto case
Line 1: Line 1:
{{Ombox
{{#if:{{yesno|{{{auto|no}}}}}
|{{Mbox|text=This template intentionally has no transclusions because it is automatically substituted by a bot.{{{1|}}}}}{{#ifeq:{{BASEPAGENAME}}|{{PAGENAME}}|[[Category:Wikipedia templates to be automatically substituted]]}}
|{{Ombox
|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:{{{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:30, 5 April 2014

Template documentation