Template:Label: Difference between revisions
Appearance
m punctuation |
m parameter 2 - allow overriding label |
||
| Line 1: | Line 1: | ||
<onlyinclude>{{#switch:{{#if:{{{1|}}}|{{{1}}}|{{PAGELANGUAGE}}}}|en={{{en|}}}|tok={{{tok|}}}|ja={{{ja|}}}|fr={{{fr|}}}|de={{{de|}}}|zh={{{zh|}}}|qqx={{{qqx|}}}|#default={{{en|}}}}}</onlyinclude><!-- | <onlyinclude>{{#if:{{{2|}}}|{{{2}}}|{{#switch:{{#if:{{{1|}}}|{{{1}}}|{{PAGELANGUAGE}}}}|en={{{en|}}}|tok={{{tok|}}}|ja={{{ja|}}}|fr={{{fr|}}}|de={{{de|}}}|zh={{{zh|}}}|qqx={{{qqx|}}}|#default={{{en|}}}}}}}</onlyinclude><!-- | ||
more readable version: | more readable version: | ||
{{#if:{{{2|}}}|{{{2}}} | |||
| {{#switch:{{#if:{{{1|}}}|{{{1}}}|{{PAGELANGUAGE}}}} | |||
|en={{{en|}}}|tok={{{tok|}}}|ja={{{ja|}}}|fr={{{fr|}}}|de={{{de|}}}|zh={{{zh|}}} | |||
|qqx={{{qqx|}}} | |||
|#default={{{en|}}} | |||
}} | |||
}} | |||
--> | --> | ||
[[Category:Templates related to localization]] | [[Category:Templates related to localization]] | ||