Template:GetFallback/doc
Template page
More actions
Fallback mechanism part #1. Map:
- af (Afrikaans) , nl-informal -> nl (Dutch)
- arz (Egyptian Arabic) -> ar (Arabic)
- crh-cyrl , crh-latn -> crh (Crimean Tatar)
- ckb , mzn (Mazandarani), glk (Gilaki) -> fa (Persian)
- als (Alemannic), bar , de-formal , de-at , de-ch , frr , ksh -> de (German)
- hif-deva , hif-latn -> hif
- ike-cans , ike-latn -> ike
- kk-arab , kk-cyrl , kk-latn , kk-cn , kk-kz , kk-tr -> kk (Kazakh)
- ku-latn , ku-arab -> ku (Kurdish)
- mg , br , co , frp , ht , ty -> fr (French)
- nds (Low German) -> nds-nl (Dutch Low Saxon)
- nds-nl(Dutch Low Saxon) , pdt -> nds (Low German)
- pt-br -> pt (Portuguese)
- ruq-cyrl , ruq-grek , ruq-latn -> ruq
- sr-ec , sr-el -> sr
- tg-cyrl , tg-latn -> tg
- tt-cyrl , tt-latn -> tt
- vec -> it (Italian)
- zh-cn , zh-hans , zh-hant , zh-hk , zh-mo , zh-my , zh-sg , zh-tw -> zh
or otherwise return default
Usage
{{GetFallback |1= |default= }}
Should be used only by other templates. Not intended to be used directly.
Template parameters
| 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
See also