Template:LanguageSelector/iconfile: Difference between revisions
Template page
More actions
No edit summary |
more flags (fixme: more to do) |
||
| Line 1: | Line 1: | ||
{{ | <noinclude>[[File:</noinclude>{{LangSwitch|lang={{{1|}}}|default=~ | ||
|ar=Arabic-Language-Flag.svg | |af = | ||
|bn=Flag of Bangladesh.svg | Flags of Namibia and South Africa.svg | ||
|de=German-Language-Flag.svg | <!-- | ||
| | Flag of Namibia and South Africa.svg | ||
|eo=Flag of Esperanto.svg | --> | ||
|es=Idioma Español.svg | |ar = | ||
|fr=Flag of French language (QC-FR).svg | Arabic-Language-Flag.svg | ||
|mk=Flag of Macedonia.svg | <!-- | ||
|nl=Lang-nl.gif | Flag of the Arabic language.svg | ||
| | Nuvola Arabic language flag.svg | ||
|ru=Lang-ru.jpg | --> | ||
|zh=Flag of chinese-speaking countries and territories.svg | |bn = | ||
| | Flag of Bangladesh.svg | ||
}}<noinclude>{{ | <!-- | ||
--> | |||
|bs = | |||
Flag of Bosnia and Herzegovina.svg | |||
<!-- | |||
--> | |||
|ca = | |||
Flag of Catalan language (CT-AD).svg | |||
<!-- | |||
--> | |||
|de = | |||
German-Language-Flag.svg | |||
<!-- | |||
DACH minimal.svg | |||
D-A-CH Flag.svg | |||
Flag of D-A-CH 1.svg | |||
Flag of D-A-CH 2.svg | |||
Flag of D-A-CH 3.svg | |||
Flag of D-A-CH 4.svg | |||
Bundesrepublik schweizreich.svg | |||
--> | |||
|dsb = | |||
Dolnoserbski.svg | |||
<!-- | |||
--> | |||
|el = | |||
Flag of Greece.svg | |||
<!-- | |||
--> | |||
|en = | |||
English language - United States, Canada and the United Kingdom.svg | |||
<!-- | |||
English language.svg | |||
Nuvola English language flag.svg | |||
Nuvola lang eng-spa.svg | |||
--> | |||
|eo = | |||
Flag of Esperanto.svg | |||
<!-- | |||
Esperanto-Brazilo Flago.svg | |||
Esperanto-flago (pligrandigita).svg | |||
Esperanto-flago.svg | |||
Estelada esperantista.svg | |||
Nuvola Esperanto flag.svg | |||
Nuvola Esperantujo flag.svg | |||
Twemoji-style Esperanto flag.svg | |||
GLATa Esperantista flago.svg | |||
Vegana Esperanta flago.svg | |||
IKUE-Flago (02).svg | |||
Eo-qc.svg | |||
<nowiki/>* Verda vimplo .svg | |||
<nowiki/>* Verda vimplo.svg | |||
Verda flago.svg | |||
Flag of SAT-Amikaro.svg | |||
SAT-flago flirtanta.svg | |||
--> | |||
|es = | |||
Flag of Spanish language (ES-MX).svg | |||
<!-- | |||
Spanish.svg | |||
Idiomaespañol.svg | |||
Idioma Español.svg | |||
Idioma Español-Castellano.svg | |||
Idiomaespañol (alternative).svg | |||
Flag of the Hispanic peoples.svg | |||
Flag of the Hispanicity.svg | |||
--> | |||
|fr = | |||
Flag of French language.svg | |||
<!-- | |||
Flag of French language (QC-FR).svg | |||
Flag of La Francophonie.svg | |||
--> | |||
|frp = | |||
Nuvola Arpitan language flag.svg | |||
<!-- | |||
--> | |||
|got = | |||
Gothic flag.svg | |||
<!-- | |||
--> | |||
|gsw = | |||
Proposed Alemannic flag.svg | |||
<!-- | |||
--> | |||
|hr = | |||
Flag of Croatia.svg | |||
<!-- | |||
--> | |||
|hsb = | |||
Hornjoserbšćina.svg | |||
<!-- | |||
--> | |||
|ia = | |||
Flag of Interlingua.svg | |||
<!-- | |||
Interlingua Pride flag.svg | |||
--> | |||
|ie = | |||
Flag of Interlingue.svg | |||
<!-- | |||
--> | |||
|io = | |||
IdoStandardo.svg | |||
<!-- | |||
Flag of Ido.svg | |||
EmojiOne-style Ido flag.svg | |||
Twemoji-style Ido flag.svg | |||
--> | |||
|is = | |||
High Icelandic Hammerflag.svg | |||
<!-- | |||
--> | |||
|it = | |||
Italian-Language-Flag.svg | |||
<!-- | |||
Italian language.svg | |||
Flag of Italian language (IT-SM).svg | |||
--> | |||
|ja = | |||
Japanese language.svg{{!}}border | |||
<!-- | |||
--> | |||
|jbo = | |||
Lojban flag.svg | |||
<!-- | |||
Lojbanlogo.svg | |||
Nuvola Lojban flag.svg | |||
Lojban flag 0x6996.svg | |||
Lojban Soviet Socialist Republic.svg | |||
--> | |||
|ksh = | |||
Wappen Koeln.svg | |||
<!-- | |||
--> | |||
|lfn = | |||
Flag of Lingua Franca Nova.svg | |||
<!-- | |||
Twemoji-style lfn flag.svg | |||
EmojiOne-style lfn flag.svg | |||
2008 LFN flag.svg | |||
2004 LFN flag.svg | |||
--> | |||
|mk = | |||
Flag of Macedonia.svg | |||
<!-- | |||
--> | |||
|mr = | |||
Marathi Flag.svg | |||
<!-- | |||
--> | |||
|lad = | |||
Ladino Flag.svg | |||
<!-- | |||
Flag of Ladinia.svg | |||
--> | |||
|nl = | |||
Flag of Dutch language.svg | |||
<!-- | |||
Flag of Dutch language (SR-NL).svg | |||
Lang-nl.gif | |||
--> | |||
|nov = | |||
Flag of Novial.svg{{!}}border | |||
<!-- | |||
Supposed Flag of Novial.svg | |||
--> | |||
|oc = | |||
Flag of Occitania (with star).svg | |||
<!-- | |||
New Flag of Occitania.svg | |||
Flag of Occitania.svg | |||
--> | |||
|phn = | |||
Phoenician Language Flag.svg | |||
<!-- | |||
--> | |||
|pt = | |||
Flag of Portuguese language (PT-BR).svg | |||
<!-- | |||
Flags of Brazil and Portugal.svg | |||
Portugal-Brazil Flag.svg | |||
--> | |||
|ru = | |||
Lang-ru.jpg | |||
<!-- | |||
Flag of Russian language.svg | |||
--> | |||
|sh = | |||
Tricolours of Croatia and Serbia diag comb.svg | |||
<!-- | |||
Flag of Croatia and Serbia diag blend.svg | |||
Flag of Croatia and Serbia.svg | |||
Flag of Serbia and Croatia.svg | |||
HR-BA-ME-RS flag.svg | |||
HR-BA-RS flag.svg | |||
Imaginary flag of Serbo-Croatian Language (Former Flags).svg | |||
Imaginary flag of Serbo-Croatian Language.svg | |||
--> | |||
|sr = | |||
Flag of Serbia.svg | |||
<!-- | |||
--> | |||
|sv = | |||
Flag of Swedish-speaking Finns.svg | |||
<!-- | |||
--> | |||
|vro = | |||
Flag of Võro.svg | |||
<!-- | |||
--> | |||
|yi = | |||
Yiddish Flag.svg | |||
<!-- | |||
Proposed Yiddish flag.svg | |||
--> | |||
|zh = | |||
Flag of chinese-speaking countries and territories.svg | |||
<!--FIXME:codes of languages--> | |||
|x-angos= | |||
Angos language flag.svg | |||
<!-- | |||
--> | |||
|x-folkspraak = | |||
Flag of Folkspraak.svg | |||
<!-- | |||
--> | |||
|x-globasa = | |||
Flag of Globasa.svg | |||
<!-- | |||
Nuvola Globasa flag.svg | |||
--> | |||
|x-guosa = | |||
Flag of Guosa.svg | |||
<!-- | |||
--> | |||
|x-guaranyan = | |||
Nuvola Guaranyan flag.svg | |||
<!-- | |||
--> | |||
|x-interslavic = | |||
Flag of Interslavic.svg | |||
<!-- | |||
Nuvola Interslavic flag.svg | |||
--> | |||
|x-kotava = | |||
Flag of Kotava.svg | |||
<!-- | |||
EmojiOne-style Kotava flag.svg | |||
Nuvola Kotava flag.svg | |||
--> | |||
|x-laz = | |||
Fictitious flag of Lazistan.svg | |||
<!-- | |||
--> | |||
|x-mundezo = | |||
Flag of Mundezo.svg | |||
<!-- | |||
--> | |||
|x-onuigbo = | |||
Flag of Onuigbo.svg | |||
<!-- | |||
--> | |||
|x-orba = | |||
Flag of Orba.svg | |||
<!-- | |||
--> | |||
|x-pandunia = | |||
Flag of Pandunia.svg | |||
<!-- | |||
--> | |||
|x-rinconada = | |||
Rinconada flag.svg | |||
<!-- | |||
--> | |||
|x-slovio = | |||
Flag of Slovio.svg | |||
<!-- | |||
--> | |||
|x-spokil = | |||
Flag of Spokil.svg | |||
<!-- | |||
--> | |||
|x-talossan = | |||
<!-- | |||
Flag of the Comità per l'Útzil del Glheþ.svg | |||
Flag of the Talossan language.svg | |||
--> | |||
|x-thorsfronve = | |||
Thorsfronve flag.svg | |||
<!-- | |||
--> | |||
|x-tsonga = | |||
Flag of Tsonga language.svg | |||
<!-- | |||
--> | |||
|x-uropi = | |||
Flag of Uropi.svg | |||
<!-- | |||
--> | |||
|x-conlang= | |||
Conlangflag.svg | |||
<!-- | |||
--> | |||
}}<noinclude>|x28px]] | |||
{{Documentation}} | |||
[[Category:Miscellaneous subtemplates]] | [[Category:Miscellaneous subtemplates]] | ||
</noinclude> | </noinclude> | ||
Revision as of 20:00, 12 July 2020
This documentation is transcluded from Template:LanguageSelector/iconfile/doc.
Returns the icon file associated to a language. Most languages don't define any icon, so this template will return an empty string for them.
Usage
{{LanguageSelector/iconfile |1= }}
Template parameters
| Parameter | Description | Default | Status | |
|---|---|---|---|---|
1 | language code | empty | 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
Example
{{LanguageSelector/iconfile|fr}}
renders as:
Flag of French language.svg