Modèle:GetFallback
Révision datée du 16 janvier 2016 à 16:55 par Morgan (discussion | contributions) (1 révision importée)
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) , csb (Kashubian) -> pl (Polish)
or otherwise return default
Usage
{{GetFallback |1= |default= }}
Should be used only by other templates. Not intended to be used directly.
⧼templatedata-doc-params⧽
Parameter | Description | Default | Status | |
---|---|---|---|---|
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
⧼Seealso⧽
The above documentation is transcluded from Modèle:GetFallback/doc. (edit | history) 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. |