Template:Subst only: Difference between revisions
Content deleted Content added
fix param |
Correct output when used on non-template pages |
||
Line 4: | Line 4: | ||
|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 <tt><nowiki>{{subst:</nowiki>{{#if: {{{caps|}}} | {{ucfirst: {{BASEPAGENAME}} }} | {{lcfirst: {{BASEPAGENAME}} }} }}<nowiki>}}</nowiki></tt>.}} |
|text='''This template should always be [[Wikipedia:Substitution|substituted]]''' – use <tt><nowiki>{{subst:</nowiki>{{template other|{{#if: {{{caps|}}} | {{ucfirst: {{BASEPAGENAME}} }} | {{lcfirst: {{BASEPAGENAME}} }} }}|{{FULLPAGENAME}}}}<nowiki>}}</nowiki></tt>.}} |
||
}}<includeonly>{{#ifeq:{{BASEPAGENAME}}|{{PAGENAME}}|[[Category:Wikipedia substituted templates]]}}</includeonly><noinclude> |
}}<includeonly>{{#ifeq:{{BASEPAGENAME}}|{{PAGENAME}}|[[Category:Wikipedia substituted templates]]}}</includeonly><noinclude> |
||
{{Documentation}} |
{{Documentation}} |
Revision as of 21:57, 5 November 2011
This template should always be substituted – use {{subst:subst only}}. |
Template documentation
[create]