User:Aeroid/Svg lang
Jump to navigation
Jump to search
To display a list of the different translations of a multilingual SVG file
This documentation is transcluded from Template:Svglang/doc.
Uses Lua: |
Usage
{{Aeroid |file= |1= |p= }}
Template parameters
Parameter | Description | Default | Status | |
---|---|---|---|---|
file | Name of the multilang SVG file; may be omitted on the SVG image description page. | {{PAGENAME}} | suggested | |
0 | Layout: 0=+ to display the default language first; 0=- to suppress the headline. | empty | optional | |
1 | Language code (in BCP 47 format), to display a translation of SVG <switch> elements. Leave blank to show the default rendering without lang specified. | empty | required | |
2, 3, 4, ... | Additional language codes, to display more translations, unlimited. | empty | optional | |
number | any text (as e.g. 12 ), the number of systemLanguages | empty | optional | |
p | p=o to display packed-overlay style | empty | optional |
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: no user group specified
Relies on:
Module:Iteration
See also
- {{Svg lang}}
- {{Lang gallery}}
- {{Lgallery}}
- {{G}} for just galleries
List the language versions supported in an SVG image file.
Currently it seems not possible to get the list of the supported languages directly and dynamically from the file – the template needs them explicitly specified as parameters
Example
{{svg lang|file=Equatorial coordinates.svg|ar|de|el|en|eo|es|fr|hu|lb|nl|ru|uk|zh}}
for: