Template:LangSwitch: Difference between revisions
Content deleted Content added
Category:LangSwitch template without English version will be added only to pages without en or default |
fix of faulty logic (at least I hope so) |
||
Line 6: | Line 6: | ||
| = {{#switch: {{{ {{GetFallback2| {{#if:{{{lang|}}}|{{{lang}}}|{{int:Lang}}}} |default=default}} |}}} |
| = {{#switch: {{{ {{GetFallback2| {{#if:{{{lang|}}}|{{{lang}}}|{{int:Lang}}}} |default=default}} |}}} |
||
| ~ = empty |
| ~ = empty |
||
| = {{{default| |
| = {{#if: {{{default|}}} | default | en }} |
||
| #default = {{GetFallback2| {{#if:{{{lang|}}}|{{{lang}}}|{{int:Lang}}}} |default=default}} |
| #default = {{GetFallback2| {{#if:{{{lang|}}}|{{{lang}}}|{{int:Lang}}}} |default=default}} |
||
}} |
}} |
Revision as of 14:26, 9 March 2011
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! |