Template:LanguageSelector/iconfile: Difference between revisions
Template page
More actions
more flags |
+ang |
||
| Line 4: | Line 4: | ||
|am=Flag of Ethiopia.svg<!--ISO 639 Icon am.svg;Flag of Amharic language.svg(?)--> | |am=Flag of Ethiopia.svg<!--ISO 639 Icon am.svg;Flag of Amharic language.svg(?)--> | ||
|an=Flag of Aragon.svg<!--Flag of Aragonese language.svg(?)--> | |an=Flag of Aragon.svg<!--Flag of Aragonese language.svg(?)--> | ||
|ang=White Dragon Flag of England.png<!--White Dragon Flag of England.png;Flag of Anglo-Saxon language.svg(?)--> | |||
|ar/arb/ary/arz=Arabic-Language-Flag.svg<!--Flag of the Arabic language.svg;Nuvola Arabic language flag.svg--> | |ar/arb/ary/arz=Arabic-Language-Flag.svg<!--Flag of the Arabic language.svg;Nuvola Arabic language flag.svg--> | ||
|ast=Flag of Asturias.svg<!--Flag of Asturian language.svg(?);Flag of Asturias (indoor).svg--> | |ast=Flag of Asturias.svg<!--Flag of Asturian language.svg(?);Flag of Asturias (indoor).svg--> | ||
Revision as of 05:48, 14 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