Template:Fallback: Difference between revisions
Content deleted Content added
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}} |
Revision as of 02:41, 2 April 2009
en
This template was imported from commons:Template:Fallback without the here unusable documentation.
Use localised subpage for the user language with fallback to {{CONTENTLANGUAGE}}
Parameter | Description | Type | Status | |
---|---|---|---|---|
page | 1 | Template name | Page name | required |
lang | 2 | override user language on localised page
| String | optional |