Template:Subst only: Difference between revisions

From Meta, a Wikimedia project coordination wiki
Content deleted Content added
add caps param
let's try that
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>{{#if: {{{caps|}}}|{{PAGENAME}}|{{lcfirst:{{PAGENAME}}}} }}<nowiki>}}</nowiki></tt>.}}
|text='''This template should always be [[Wikipedia:Substitution|substituted]]''' &ndash; use <tt><nowiki>{{subst:</nowiki>{{#if: {{{caps|}}}|{{ucfirst:|{{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:45, 5 September 2011

{{#if:

|

|

Template documentation