Jump to content

Teamplaid:GetFallback/doc

O Uicipeid

Fallback mechanism part #1. Map:

  1. af (Afrikaans) , nl-informal -> nl (Dutch)
  2. arz (Egyptian Arabic) -> ar (Arabic)
  3. crh-cyrl , crh-latn -> crh (Crimean Tatar)
  4. ckb (Sorani) , mzn (Mazandarani), glk (Gilaki) -> fa (Persian)
  5. als (Alemannic), bar (Bavarian) , de-formal , de-at , de-ch , frr (North Frisian) , ksh (Ripuarian) -> de (German)
  6. hif-deva , hif-latn -> hif (Fiji Hindi)
  7. ike-cans , ike-latn -> ike
  8. kk-arab , kk-cyrl , kk-latn , kk-cn , kk-kz , kk-tr -> kk (Kazakh)
  9. ku-latn , ku-arab -> ku (Kurdish)
  10. mg (Malagasy) , br (Breton), co (Corsican) , frp (Franco-Provençal/Arpitan) , ht (Haitian) , ty (Tahitian) -> fr (French)
  11. nds (Low German) -> nds-nl (Dutch Low Saxon)
  12. nds-nl(Dutch Low Saxon) , pdt -> nds (Low German)
  13. pt-br -> pt (Portuguese)
  14. ruq-cyrl , ruq-grek , ruq-latn -> ruq
  15. sr-ec , sr-el -> sr (Serbian)
  16. tg-cyrl , tg-latn -> tg (Tajik)
  17. tt-cyrl , tt-latn -> tt (Tatar)
  18. vec (Venetian) -> it (Italian)
  19. zh-cn , zh-hans , zh-hant , zh-hk , zh-mo , zh-my , zh-sg , zh-tw -> zh (Chinese)
  20. 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

Faic cuideachd: