Template:Lang: Difference between revisions

Fixed use of label
Sur (talk | contribs)
m lang_code_override now a named arg for get_string
 
Line 1: Line 1:
<includeonly><!--
<includeonly><!--


-->{{#if:{{{key|}}}|{{#invoke:Lang|get_string|{{{key|}}}|{{{lang_code|}}}}}|<!--
-->{{#if:{{{key|}}}|{{#invoke:Lang|get_string|{{{key|}}}|lang_code_override={{{lang_code|}}}}}|<!--
-->{{#if:{{{label|}}}|{{#invoke:Lang|search_string|{{{label|}}}|{{{lang_code|}}}}}|<!--
-->{{#if:{{{label|}}}|{{#invoke:Lang|search_string|{{{label|}}}|{{{lang_code|}}}}}|<!--
-->"label" or "key" is required}}}}<!--
-->"label" or "key" is required}}}}<!--