Difference between revisions of "Template:LangSwitch"

From DMARC Wiki
Jump to navigation Jump to search
(Created page with "{{{ {{#switch: {{{ {{#if:{{{lang|}}}|{{{lang}}}|{{int:Lang}}}} |}}} | ~ = empty | = {{#switch: {{{ {{GetFallback| {{#if:{{{lang|}}}|{{{lang}}}|{{int:Lang}}}} |defaul...")
 
m (6 revisions imported)
 
(5 intermediate revisions by 3 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 04:00, 17 July 2015

{{#invoke:documentation|main|_content={{ {{#invoke:documentation|contentTitle}}}}}}