Template:GetFallback
Revision as of 20:43, 4 September 2012 by Kwickert (talk | contribs) (Protected "Template:GetFallback" ([edit=sysop] (indefinite) [move=sysop] (indefinite)))
en
Fallback mechanism part #1. Map:
- af (Afrikaans), fy (Western Frisian), li (Liechtenstein), vls (Vlaams), zea (Zeeuws), nl-informal -> nl (Dutch)
- arz (Egyptian Arabic) -> ar (Arabic)
- be-x-old -> be-tarask (wrong to correct Taraškievica form)
- crh-cyrl , crh-latn -> crh (Crimean Tatar)
- ckb (Sorani) , mzn (Mazandarani), glk (Gilaki) -> fa (Persian)
- als (Alemannic), bar (Bavarian) , de-formal , de-at , de-ch , frr (North Frisian) , ksh (Ripuarian) -> de (German)
- hif-deva , hif-latn -> hif (Fiji Hindi)
- ike-cans , ike-latn -> ike (Eastern Canadian Inuktitut)
- kk-arab , kk-cyrl , kk-latn , kk-cn , kk-kz , kk-tr -> kk (Kazakh)
- ku-latn , ku-arab -> ku (Kurdish)
- mg (Malagasy) , br (Breton), co (Corsican) , frp (Franco-Provençal/Arpitan) , ht (Haitian) , ty (Tahitian), wa -> fr (French)
- nds (Low German) -> nds-nl (Dutch Low Saxon)
- nds-nl(Dutch Low Saxon) , pdt (Plautdietsch) -> nds (Low German)
- be-tarask (Belarusian in Taraskievica orthography) -> be-x-old (Belarusian in Taraskievica orthography)
- be-x-old (Belarusian in Taraskievica orthography) -> be-tarask (Belarusian in Taraskievica orthography)
- pt-br (Brazilian Portuguese) -> pt (Portuguese)
- ruq-cyrl , ruq-grek , ruq-latn -> ruq (Megleno Romanian)
- sr-ec , sr-el -> sr (Serbian)
- tg-cyrl , tg-latn -> tg (Tajik)
- tt-cyrl , tt-latn -> tt (Tatar)
- vec (Venetian) -> it (Italian)
- zh-cn , zh-hans , zh-hant , zh-hk , zh-mo , zh-my , zh-sg , zh-tw -> zh (Chinese)
- szl (Silesian)
Usage
{{GetFallback|1=|default=}}
Should be used only by other templates. Not intended to be used directly.
Parameters
Parameter name | Description | Default value | required or optional?
|
---|---|---|---|
parameter #1 (1) | any supported language code | {{int:Lang}} | optional |
default | default language code returned | en | optional |
Additional information
The template is intended to be used in the following namespaces: no namespace specified
The template is intended to be used by the following user groups: no user group specified
See also
The above documentation is transcluded from Template:GetFallback/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories and interwikis to the /doc subpage. Subpages of this template. |