Vorlage:Subst only: Unterschied zwischen den Versionen
add caps param
(combine {{tl|substituted}} with this one) |
imported>MC10 (add caps param) |
||
Zeile 4: | Zeile 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]]''' – use <tt><nowiki>{{subst:</nowiki>{{lcfirst:{{PAGENAME}}}}<nowiki>}}</nowiki></tt>.}} | |text='''This template should always be [[Wikipedia:Substitution|substituted]]''' – 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}} | ||
</noinclude> | </noinclude> |