Template:LanguageSelector/iconfile: Difference between revisions
Template page
More actions
No edit summary |
No edit summary |
||
| Line 81: | Line 81: | ||
|ro/md=Flag of Romania.svg<!--Flag of Romanian language.svg(?);Flag of Moldavian language.svg(?)--> | |ro/md=Flag of Romania.svg<!--Flag of Romanian language.svg(?);Flag of Moldavian language.svg(?)--> | ||
|ru=Lang-ru.jpg<!--Flag of Russian language.svg--> | |ru=Lang-ru.jpg<!--Flag of Russian language.svg--> | ||
|rw= | |rw=Flag of Rwanda.svg<!--Flag of Kinyarwanda language.svg(?)--> | ||
|sc=Flag of Sardinia.svg<!--Flag of Sardinia (alternate).svg;Flag of Sardinia, Italy.svg--> | |sc=Flag of Sardinia.svg<!--Flag of Sardinia (alternate).svg;Flag of Sardinia, Italy.svg--> | ||
|scn=Flag of Sicily.svg<!--Flag of Sicilian language.svg(?)--> | |scn=Flag of Sicily.svg<!--Flag of Sicilian language.svg(?)--> | ||
Revision as of 04:48, 13 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