Más acciones
Added default option which could be different than english |
doing it this way may avoid some problems |
||
Línea 1: | Línea 1: | ||
{{#switch: {{#if: {{{{{#if: {{{lang|}}} |{{{lang}}}|{{int:Lang}}}}|}}} | {{#if: {{{lang|}}} |{{{lang}}}|{{int:Lang}}}} | {{#if: {{{{{GetFallback|{{#if: {{{lang|}}} |{{{lang}}}|{{int:Lang}}}}}}|}}} | {{GetFallback|{{#if: {{{lang|}}} |{{{lang}}}|{{int:Lang}}}}}} | {{#if: {{{{{GetFallback2|{{#if: {{{lang|}}} |{{{lang}}}|{{int:Lang}}}}}}|}}} | {{GetFallback2|{{#if: {{{lang|}}} |{{{lang}}}|{{int:Lang}}}}}} | en }} }} }} | {{#switch: {{#if: {{{{{#if: {{{lang|}}} |{{{lang}}}|{{int:Lang}}}}|}}} | {{#if: {{{lang|}}} |{{{lang}}}|{{int:Lang}}}} | {{#if: {{{{{GetFallback|{{#if: {{{lang|}}} |{{{lang}}}|{{int:Lang}}}}}}|}}} | {{GetFallback|{{#if: {{{lang|}}} |{{{lang}}}|{{int:Lang}}}}}} | {{#if: {{{{{GetFallback2|{{#if: {{{lang|}}} |{{{lang}}}|{{int:Lang}}}}}}|}}} | {{GetFallback2|{{#if: {{{lang|}}} |{{{lang}}}|{{int:Lang}}}}}} | {{{default|en}}} }} }} }} | ||
|aa={{{aa|}}} | |aa={{{aa|}}} | ||
|ab={{{ab|}}} | |ab={{{ab|}}} | ||
Línea 364: | Línea 364: | ||
|zh-yue={{{zh-yue|}}} | |zh-yue={{{zh-yue|}}} | ||
|zu={{{zu|}}} | |zu={{{zu|}}} | ||
|#default= | |#default={{{en|}}} | ||
}}<includeonly>{{#if:{{{en|}}}{{{lang|}}}{{{#default|}}}||{{#ifeq:{{NAMESPACE}}|File||[[Category:LangSwitch template without English version]]}} }}</includeonly><noinclude> | }}<includeonly>{{#if:{{{en|}}}{{{lang|}}}{{{#default|}}}||{{#ifeq:{{NAMESPACE}}|File||[[Category:LangSwitch template without English version]]}} }}</includeonly><noinclude> | ||
{{Documentation}} | {{Documentation}} |
Revisión del 04:47 18 oct 2010
Aún no se han escrito las instrucciones sobre esta plantilla. Añádelas.