Changes

Template:Uselang

1,567 bytes added, 09:49, 27 October 2013
attempt to retrieve the language code used by SwitchLang
{{#switch: {{{ {{#if: {{{lang|}}} | {{{lang|}}} | {{int:Lang}} }}
|}}}
|~ = empty
| = {{#switch: {{{ {{GetFallback
|1 = {{#if: {{{lang|}}} | {{{lang|}}} | {{int:Lang}} }}
|default = default
}}
|}}}
|~ = empty
| = {{#switch: {{{ {{GetFallback2
|1 = {{#if: {{{lang|}}} | {{{lang|}}} | {{int:Lang}} }}
|default = default
}}
|}}}
| = {{#if: {{{default|}}} | default | en }}
|~ = empty
|#default = {{GetFallback2
|1 = {{#if: {{{lang|}}} | {{{lang|}}} | {{int:Lang}} }}
|default = default
}}
}}
|#default= {{GetFallback
|1 = {{#if: {{{lang|}}} | {{{lang|}}} | {{int:Lang}} }}
|default = default
}}
}}
|#default = {{#if: {{{lang|}}} | {{{lang|}}} | {{int:Lang}} }}
}}<noinclude>
{{Documentation}}
</noinclude>
Anonymous user