Template:Subst only: Difference between revisions

From Meta, a Wikimedia project coordination wiki
Content deleted Content added
m add feature
includeonly scope
Line 1: Line 1:
{{Ombox
<includeonly>{{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]]''' &ndash; use {{{actualtemplate|{{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 [[Help:Substitution|substituted]]''', i.e. use {{{actualtemplate|{{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>
}}{{#ifeq:{{BASEPAGENAME}}|{{PAGENAME}} |[[Category:Wikipedia substituted templates]]}}</includeonly><noinclude>{{Documentation}}</noinclude>
{{Documentation}}
</noinclude>

Revision as of 10:59, 15 May 2014

Template documentation