Template:LangSwitch: Difference between revisions
Content deleted Content added
m add fallbacks: sgs / bat-smg (Samogitian) > lt (Lithuanian); crh / crh-cyrl / crh-latn (Crimean Tatar) > uk (Ukrainian) |
m add bdi even when the language code specified matches one of the defined parameters for translated texts |
||
Line 1: | Line 1: | ||
{{#ifeq:{{{ {{#if:{{{uselang|}}}|{{{uselang|}}}|{{uselang}}}} |
{{#ifeq: {{{ {{#if:{{{uselang|}}}|{{{uselang|}}}|{{uselang}}}}|-}}} | {{{ {{#if:{{{uselang|}}}|{{{uselang|}}}|{{uselang}}}}|}}} |
||
| <bdi>{{{ {{#if:{{{uselang|}}}|{{{uselang|}}}|{{uselang}}}}|}}}</bdi> |
|||
<bdi>{{#switch:{{#if:{{{uselang|}}}|{{lc:{{{uselang|}}}}}|{{uselang}}}}<!-- |
| <bdi>{{#switch:{{#if:{{{uselang|}}}|{{lc:{{{uselang|}}}}}|{{uselang}}}}<!-- |
||
The list of fallbacks below is ordered by their *last-chance* specific fallback, before using "default", then "en". |
The list of fallbacks below is ordered by their *last-chance* specific fallback, before using "default", then "en". |
Revision as of 14:58, 23 February 2014
{{{en}}}
This template has a duplicate on Meta-Wiki. Please visit its documentation on Meta-Wiki for usage details and any additional information. Please keep the content and translations synchronized as much as possible. Thank you! |