Template:Subst only: Difference between revisions

From Meta, a Wikimedia project coordination wiki
Content deleted Content added
combine {{tl|substituted}} with this one
add caps param
Line 4: Line 4:
|type=notice
|type=notice
|image=[[File:Imbox notice.png|32px]]
|image=[[File:Imbox notice.png|32px]]
|text='''This template should always be [[Wikipedia:Substitution|substituted]]''' &ndash; use <tt><nowiki>{{subst:</nowiki>{{lcfirst:{{PAGENAME}}}}<nowiki>}}</nowiki></tt>.}}
|text='''This template should always be [[Wikipedia:Substitution|substituted]]''' &ndash; use <tt><nowiki>{{subst:</nowiki>{{#if: {{{caps|}}}|{{PAGENAME}}|{{lcfirst:{{PAGENAME}}}} }}<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 17:41, 5 September 2011

Template documentation