This is an archive copy of wikilivres.ca as of 18 February 2017 (from the WikiTeam dump). The original site is closed.

Template:LangSwitch: Difference between revisions

Free texts and images.
Jump to navigation Jump to search
imported>Jarekt
Category:LangSwitch template without English version will be added only to pages without en or default
imported>Slomox
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|en}}}  
       |          = {{#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


Documentation


Template:LangSwitch/documentation