This is an archive copy of wikilivres.ca as of 18 February 2017 (from the WikiTeam dump). The original site is closed.
Template:LangSwitch: Difference between revisions
Jump to navigation
Jump to search
imported>Jarekt Added default option which could be different than english |
imported>Rocket000 doing it this way may avoid some problems |
||
| Line 1: | Line 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|}}} | ||
| Line 364: | Line 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}} | ||
Revision as of 04:47, 18 October 2010
Documentation
(English) This documentation is transcluded from Template:LangSwitch/documentation (view | edit | history).
(Français) Cette documentation est incluse dans la sous-page Template:LangSwitch/documentation (voir | editer | historique).
(Polski) Ta dokumentacja jest dołączana ze strony Template:LangSwitch/documentation (zobacz | edytuj | historia).