Difference between revisions of "Template:LangSwitch"

From Veloopti Help
Jump to: navigation, search
(Created page with "{{{ {{#switch: {{{ {{#if:{{{lang|}}}|{{{lang}}}|{{int:Lang}}}} |}}} | ~ = empty | = {{#switch: {{{ {{GetFallback| {{#if:{{{lang|}}}|{{{lang}}}|{{int:Lang}}}} |defaul...")
 
m (27 revisions imported)
 
(26 intermediate revisions by 12 users not shown)
Line 1: Line 1:
 
{{{  
 
{{{  
   {{#switch: {{{ {{#if:{{{lang|}}}|{{{lang}}}|{{int:Lang}}}} |}}}  
+
   {{#switch: {{{ {{Uselang|lang={{{lang|}}}}} |}}}  
 
   | ~ = empty
 
   | ~ = empty
   |  = {{#switch: {{{ {{GetFallback| {{#if:{{{lang|}}}|{{{lang}}}|{{int:Lang}}}} |default=default}} |}}}  
+
   |  = {{#switch: {{{ {{GetFallback| {{Uselang|lang={{{lang|}}}}} |default=default}} |}}}
 
     | ~ = empty
 
     | ~ = empty
     |  = {{#switch: {{{ {{GetFallback2| {{#if:{{{lang|}}}|{{{lang}}}|{{int:Lang}}}} |default=default}} |}}}  
+
     |  = {{#switch: {{{ {{GetFallback2| {{Uselang|lang={{{lang|}}}}} |default=default}} |}}}
 
       | ~        = empty
 
       | ~        = empty
 
       |          = {{#if: {{{default|}}} | default | en }}
 
       |          = {{#if: {{{default|}}} | default | en }}
       | #default = {{GetFallback2| {{#if:{{{lang|}}}|{{{lang}}}|{{int:Lang}}}} |default=default}}  
+
       | #default = {{GetFallback2| {{Uselang|lang={{{lang|}}}}} |default=default}}
       }}  
+
       }}
     | #default = {{GetFallback| {{#if:{{{lang|}}}|{{{lang}}}|{{int:Lang}}}} |default=default}}  
+
     | #default = {{GetFallback| {{Uselang|lang={{{lang|}}}}} |default=default}}
 
     }}
 
     }}
   | #default = {{#if:{{{lang|}}}|{{{lang}}}|{{int:Lang}}}}  
+
   | #default = {{Uselang|lang={{{lang|}}}}}
 
   }}  
 
   }}  
|}}}<includeonly>{{#ifeq:{{NAMESPACE}}|File||{{#if:{{{en|}}}{{{default|}}}{{{nocat|<noinclude>1</noinclude>}}}||<span style="color:red">'''LangSwitch Error: no default'''</span>[[Category:LangSwitch template without default version]]}}}}</includeonly>
+
|}}}<noinclude>
 +
{{Documentation}}
 +
</noinclude>

Latest revision as of 20:47, 20 July 2017

50px Template documentation[create]