Template:Subst only: Difference between revisions

From Sarkarverse
Jump to navigation Jump to search
m (1 revision)
 
m (1 revision)
 
(7 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{#if:{{yesno|{{{auto|no}}}}}
<includeonly>{{Ombox
|{{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]]}}
| type = notice
|{{Ombox
| image = [[File:Imbox notice.png|32px|alt=|link=]]
|type=notice
| text = '''This template should always be [[Help:Substitution|substituted]]''', i.e. use <!--
|image=[[File:Imbox notice.png|32px|alt=|link=]]
-->{{#ifeq:{{NAMESPACE}}:{{BASEPAGENAME}}|Template:Subst only |{{braces|[[Wikipedia:Substitution|subst]]:'''''Template name'''''}} |{{{actualtemplate|{{template other|{{tlsp|{{PAGENAME}}}}|{{tlsu|{{FULLPAGENAME}}}}}}}}}}}. <!--
|text='''This template should always be [[Wikipedia:Substitution|substituted]]''' &ndash; use {{Template other|{{tlsp|{{BASEPAGENAME}}}}|{{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]]}}}} <!--
}}<includeonly>{{#ifeq:{{BASEPAGENAME}}|{{PAGENAME}}|[[Category:Wikipedia substituted templates]]}}</includeonly><noinclude>
-->{{#if:{{{alt|}}} |For transcluding, use {{tl|{{{alt|}}}}} instead.}}
{{Documentation}}
}}{{#ifeq:{{BASEPAGENAME}}|{{PAGENAME}} |[[Category:Wikipedia substituted templates]]}}</includeonly><noinclude>{{Documentation}}</noinclude>
</noinclude>

Latest revision as of 14:26, 17 July 2014

Documentation icon Template documentation[create]