Difference between revisions of "Template:Fallback"
From Veloopti Help
(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
Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |