Template:Svg lang

This template only works on file description pages.
Template documentation[view · edit · history · purge]
This documentation is transcluded from Template:Svg lang/doc.

Category:Main message boxesCategory:Lua-based iteration templatesTo display a list of the different embedded translations of a multilingual SVG file

Usage


{{Svg lang |file= |1= |p= }}

"Svg lang" and "Lang gallery" are dupe templates sharing same documentation. "Lang gallery" displays the number of embedded translations, but this value is based on the submitted langcodes. The template does NOT analyse the SVG file for languages, ie the value can be wrong.

Template parameters

ParameterDescriptionDefaultStatus
fileFile nameName of the multilang SVG file; may be omitted on the SVG image description page.{{PAGENAME}}suggested
0Layout0=+ to display the default language first; 0=- to suppress the headline.emptyoptional
1Language codeLanguage code (in BCP 47 format), to display a translation of SVG <switch> elements. Leave blank to show the default rendering without lang specified.emptyrequired
2, 3, 4, ...Language codeAdditional language codes, to display unlimited more translations.emptyoptional
numberNumberany text (as e.g. 12), the number of systemLanguagesemptyoptional
pStylep=o to display packed-overlay styleemptyoptional

Additional information

The template is intended to be used in the following namespaces: the File namespace

The template is intended to be used by the following user groups: all users

Relies on:
Module:Iteration, Template:Source thumb, Template:Source thumb packed-overlay

See also

Localization

To add your language to the list of languages supported by this template, please edit the template and add a row to the "{{LangSwitch|}}" construct. It takes the form "|xx= Your translation " (xx being the code of your language)

Category:Templates using LangSwitch for internationalisation Category:Gallery templates#L Category:Autoreferencing templates#🌸 Category:Other versions templates Category:Other versions-langswitch#%20
List the language versions supported in an SVG image file.
Category:Main message boxes


Example
{{Svg lang|file=Map of USA with state names.svg
|af|am|ang|an|ar|arc|arz|ast|ay|az
|ba|bar|bcl|be|bg|bi|bn|bpy|br|bs
|ca|ce|ckb|co|cs|cu|cv|cy
|da|de|diq
|el|en|eo|es|et|eu
|fa|fi|fo|fr|frr|fy
|ga|gag|gd|gl|gn|gv
|hak|haw|he|hif|hi|hr|ht|hu|hy
|ia|id|ie|ig|ik|ilo|io|is|it
|ja|jv
|ka|kab|kk|kn|ko|krc|ku|kw
|la|lad|lez|li|lij|lmo|lt|lv
|mg|mhr|mi|mk|ml|mn|mr|mrj|ms|my|mzn
|nah|nds|ne|new|nl|nn|no|nv
|oc|or|os
|pa|pam|pap|pi|pl|pms|pnb|pt
|qu
|rm|ro|ru
|sa|sah|sc|scn|sco|se|sh|sk|sl|sq|sr|sv|sw
|ta|te|th|tl|tr|tt
|ug|uk|ur|uz
|vec|vi|vo
|war|wuu
|xal
|yi|yo
|zh|zh-hant
}}

generates:

Map of USA with state names.svg (Afrikaans)
Map of USA with state names.svg (Amharic)
Map of USA with state names.svg (Old English)
Map of USA with state names.svg (Aragonese)
Map of USA with state names.svg (Arabic)
Map of USA with state names.svg (Aramaic)
Map of USA with state names.svg (Egyptian Arabic)
Map of USA with state names.svg (Asturian)
Map of USA with state names.svg (Aymara)
Map of USA with state names.svg (Azerbaijani)
Map of USA with state names.svg (Bashkir)
Map of USA with state names.svg (Bavarian)
Map of USA with state names.svg (Central Bikol)
Map of USA with state names.svg (Belarusian)
Map of USA with state names.svg (Bulgarian)
Map of USA with state names.svg (Bislama)
Map of USA with state names.svg (Bangla)
Map of USA with state names.svg (Bishnupriya)
Map of USA with state names.svg (Breton)
Map of USA with state names.svg (Bosnian)
Map of USA with state names.svg (Catalan)
Map of USA with state names.svg (Chechen)
Map of USA with state names.svg (Central Kurdish)
Map of USA with state names.svg (Corsican)
Map of USA with state names.svg (Czech)
Map of USA with state names.svg (Church Slavic)
Map of USA with state names.svg (Chuvash)
Map of USA with state names.svg (Welsh)
Map of USA with state names.svg (Danish)
Map of USA with state names.svg (German)
Map of USA with state names.svg (Dimli)
Map of USA with state names.svg (Greek)
Map of USA with state names.svg (English)
Map of USA with state names.svg (Esperanto)
Map of USA with state names.svg (Spanish)
Map of USA with state names.svg (Estonian)
Map of USA with state names.svg (Basque)
Map of USA with state names.svg (Persian)
Map of USA with state names.svg (Finnish)
Map of USA with state names.svg (Faroese)
Map of USA with state names.svg (French)
Map of USA with state names.svg (Northern Frisian)
Map of USA with state names.svg (Western Frisian)
Map of USA with state names.svg (Irish)
Map of USA with state names.svg (Gagauz)
Map of USA with state names.svg (Scottish Gaelic)
Map of USA with state names.svg (Galician)
Map of USA with state names.svg (Guarani)
Map of USA with state names.svg (Manx)
Map of USA with state names.svg (Hakka Chinese)
Map of USA with state names.svg (Hawaiian)
Map of USA with state names.svg (Hebrew)
Map of USA with state names.svg (Fiji Hindi)
Map of USA with state names.svg (Hindi)
Map of USA with state names.svg (Croatian)
Map of USA with state names.svg (Haitian Creole)
Map of USA with state names.svg (Hungarian)
Map of USA with state names.svg (Armenian)
Map of USA with state names.svg (Interlingua)
Map of USA with state names.svg (Indonesian)
Map of USA with state names.svg (Interlingue)
Map of USA with state names.svg (Igbo)
Map of USA with state names.svg (Inupiaq)
Map of USA with state names.svg (Iloko)
Map of USA with state names.svg (Ido)
Map of USA with state names.svg (Icelandic)
Map of USA with state names.svg (Italian)
Map of USA with state names.svg (Japanese)
Map of USA with state names.svg (Javanese)
Map of USA with state names.svg (Georgian)
Map of USA with state names.svg (Kabyle)
Map of USA with state names.svg (Kazakh)
Map of USA with state names.svg (Kannada)
Map of USA with state names.svg (Korean)
Map of USA with state names.svg (Karachay-Balkar)
Map of USA with state names.svg (Kurdish)
Map of USA with state names.svg (Cornish)
Map of USA with state names.svg (Latin)
Map of USA with state names.svg (Ladino)
Map of USA with state names.svg (Lezghian)
Map of USA with state names.svg (Limburgish)
Map of USA with state names.svg (Ligurian)
Map of USA with state names.svg (Lombard)
Map of USA with state names.svg (Lithuanian)
Map of USA with state names.svg (Latvian)
Map of USA with state names.svg (Malagasy)
Map of USA with state names.svg (Eastern Mari)
Map of USA with state names.svg (Māori)
Map of USA with state names.svg (Macedonian)
Map of USA with state names.svg (Malayalam)
Map of USA with state names.svg (Mongolian)
Map of USA with state names.svg (Marathi)
Map of USA with state names.svg (Western Mari)
Map of USA with state names.svg (Malay)
Map of USA with state names.svg (Burmese)
Map of USA with state names.svg (Mazanderani)
Map of USA with state names.svg (Nahuatl)
Map of USA with state names.svg (Low German)
Map of USA with state names.svg (Nepali)
Map of USA with state names.svg (Newari)
Map of USA with state names.svg (Dutch)
Map of USA with state names.svg (Norwegian Nynorsk)
Map of USA with state names.svg (Norwegian)
Map of USA with state names.svg (Navajo)
Map of USA with state names.svg (Occitan)
Map of USA with state names.svg (Odia)
Map of USA with state names.svg (Ossetic)
Map of USA with state names.svg (Punjabi)
Map of USA with state names.svg (Pampanga)
Map of USA with state names.svg (Papiamento)
Map of USA with state names.svg (Pali)
Map of USA with state names.svg (Polish)
Map of USA with state names.svg (Piedmontese)
Map of USA with state names.svg (Western Punjabi)
Map of USA with state names.svg (Portuguese)
Map of USA with state names.svg (Quechua)
Map of USA with state names.svg (Romansh)
Map of USA with state names.svg (Romanian)
Map of USA with state names.svg (Russian)
Map of USA with state names.svg (Sanskrit)
Map of USA with state names.svg (Yakut)
Map of USA with state names.svg (Sardinian)
Map of USA with state names.svg (Sicilian)
Map of USA with state names.svg (Scots)
Map of USA with state names.svg (Northern Sami)
Map of USA with state names.svg (Serbo-Croatian)
Map of USA with state names.svg (Slovak)
Map of USA with state names.svg (Slovenian)
Map of USA with state names.svg (Albanian)
Map of USA with state names.svg (Serbian)
Map of USA with state names.svg (Swedish)
Map of USA with state names.svg (Swahili)
Map of USA with state names.svg (Tamil)
Map of USA with state names.svg (Telugu)
Map of USA with state names.svg (Thai)
Map of USA with state names.svg (Tagalog)
Map of USA with state names.svg (Turkish)
Map of USA with state names.svg (Tatar)
Map of USA with state names.svg (Uyghur)
Map of USA with state names.svg (Ukrainian)
Map of USA with state names.svg (Urdu)
Map of USA with state names.svg (Uzbek)
Map of USA with state names.svg (Venetian)
Map of USA with state names.svg (Vietnamese)
Map of USA with state names.svg (Volapük)
Map of USA with state names.svg (Waray)
Map of USA with state names.svg (Wu)
Map of USA with state names.svg (Kalmyk)
Map of USA with state names.svg (Yiddish)
Map of USA with state names.svg (Yoruba)
Map of USA with state names.svg (Chinese)
Category:Autoreferencing templates Category:Gallery templates Category:Lua-based iteration templates Category:Main message boxes Category:Other versions-langswitch Category:Other versions templates Category:Templates using LangSwitch for internationalisation