Difference between revisions of "Template:GetFallback/doc"

From AerialWiki
Jump to navigation Jump to search
(Created page with "{{TemplateBox |1=1 |1d=any supported language code |1def=<nowiki>{{int:Lang}}</nowiki> |1stat= |2=default |2d=default language code returned |...")
 
m (Protected "Template:GetFallback/doc" (‎[edit=sysop] (indefinite) ‎[move=sysop] (indefinite)))
 

Latest revision as of 19:25, 4 September 2012

Fallback mechanism part #1. Map:

  1. af (Afrikaans), fy (Western Frisian), li (Liechtenstein), vls (Vlaams), zea (Zeeuws), nl-informal -> nl (Dutch)
  2. arz (Egyptian Arabic) -> ar (Arabic)
  3. be-x-old -> be-tarask (wrong to correct Taraškievica form)
  4. crh-cyrl , crh-latn -> crh (Crimean Tatar)
  5. ckb (Sorani) , mzn (Mazandarani), glk (Gilaki) -> fa (Persian)
  6. als (Alemannic), bar (Bavarian) , de-formal , de-at , de-ch , frr (North Frisian) , ksh (Ripuarian) -> de (German)
  7. hif-deva , hif-latn -> hif (Fiji Hindi)
  8. ike-cans , ike-latn -> ike (Eastern Canadian Inuktitut)
  9. kk-arab , kk-cyrl , kk-latn , kk-cn , kk-kz , kk-tr -> kk (Kazakh)
  10. ku-latn , ku-arab -> ku (Kurdish)
  11. mg (Malagasy) , br (Breton), co (Corsican) , frp (Franco-Provençal/Arpitan) , ht (Haitian) , ty (Tahitian), wa -> fr (French)
  12. nds (Low German) -> nds-nl (Dutch Low Saxon)
  13. nds-nl(Dutch Low Saxon) , pdt (Plautdietsch) -> nds (Low German)
  14. be-tarask (Belarusian in Taraskievica orthography) -> be-x-old (Belarusian in Taraskievica orthography)
  15. be-x-old (Belarusian in Taraskievica orthography) -> be-tarask (Belarusian in Taraskievica orthography)
  16. pt-br (Brazilian Portuguese) -> pt (Portuguese)
  17. ruq-cyrl , ruq-grek , ruq-latn -> ruq (Megleno Romanian)
  18. sr-ec , sr-el -> sr (Serbian)
  19. tg-cyrl , tg-latn -> tg (Tajik)
  20. tt-cyrl , tt-latn -> tt (Tatar)
  21. vec (Venetian) -> it (Italian)
  22. zh-cn , zh-hans , zh-hant , zh-hk , zh-mo , zh-my , zh-sg , zh-tw -> zh (Chinese)
  23. 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