Template:LangSwitch: Difference between revisions
Content deleted Content added
m add bdi even when the language code specified matches one of the defined parameters for translated texts |
m no bug but presentation that helps reading logic of code |
||
Line 1: | Line 1: | ||
{{#ifeq: {{{ {{#if:{{{uselang|}}}|{{{uselang|}}}|{{uselang}}}}|-}}} | {{{ {{#if:{{{uselang|}}}|{{{uselang|}}}|{{uselang}}}}|}}} |
{{#ifeq: {{{ {{#if: {{{uselang|}}} | {{{uselang|}}} | {{uselang}}}} |-}}} |
||
| {{{ {{#if: {{{uselang|}}} | {{{uselang|}}} | {{uselang}}}} |}}} |
|||
| <bdi>{{{ {{#if:{{{uselang|}}}|{{{uselang|}}}|{{uselang}}}}|}}}</bdi> |
| <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 03:23, 2 June 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! |