Template:Lang gallery

This page has 0 embedded translations.

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 gallery of the different embedded translations of a multilingual SVG file

Usage


{{Lang gallery |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 , Lang gallery/thumb

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

On the SVG image description page, the file= parameter may be omitted.

Examples
{{Lang gallery|file=Equatorial coordinates.svg|ar|de|el|en|eo|es|fr|hu|lb|mk|nl|ru|uk|zh}}
generates:

File:Equatorial coordinates.svg has 14 embedded translations.

{{Lang gallery|file=Equatorial coordinates.svg|ar|de|el|en|eo|es|fr|hu|lb|mk|nl|ru|uk|zh|0=-}}
generates:
{{Lang gallery|file=Equatorial coordinates.svg|ar|de|el|en|eo|es|fr|hu|lb|mk|nl|ru|uk|zh|p=o}}
generates:

File:Equatorial coordinates.svg has 14 embedded translations.

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