Difference between revisions of "Template:Fallback"

From Veloopti Help
Jump to: navigation, search
(replaced hard-coded default)
(add {{{2}}} to make it possible to fix the output language)
Line 1: Line 1:
{{#ifexist: Template:{{{1|}}}/{{int:Lang}} | {{int:Lang}} | {{#ifexist: Template:{{{1|}}}/{{GetFallback}} | {{GetFallback}} | {{#ifexist: Template:{{{1|}}}/{{GetFallback2}} | {{GetFallback2}} | {{CONTENTLANGUAGE}} }} }} }}<noinclude>
+
{{#ifexist: Template:{{{1|}}}/{{#if: {{{2|}}} |{{{2}}}|{{int:Lang}}}} | {{#if: {{{2|}}} |{{{2}}}|{{int:Lang}}}} | {{#ifexist: Template:{{{1|}}}/{{GetFallback|{{#if: {{{2|}}} |{{{2}}}|{{int:Lang}}}}}} | {{GetFallback|{{#if: {{{2|}}} |{{{2}}}|{{int:Lang}}}}}} | {{#ifexist: Template:{{{1|}}}/{{GetFallback2|{{#if: {{{2|}}} |{{{2}}}|{{int:Lang}}}}}} | {{GetFallback2|{{#if: {{{2|}}} |{{{2}}}|{{int:Lang}}}}}} | {{CONTENTLANGUAGE}} }} }} }}<noinclude>
  
 
{{documentation}}
 
{{documentation}}
 
</noinclude>
 
</noinclude>

Revision as of 18:41, 1 April 2009

en

50px Template documentation[create]