Template:LanguageSelector/iconfile: Difference between revisions
Template page
More actions
replace fake flag |
No edit summary |
||
| Line 86: | Line 86: | ||
|lzz=Fictitious flag of Lazistan.svg<!--Flag of Laz language.svg(?)--> | |lzz=Fictitious flag of Lazistan.svg<!--Flag of Laz language.svg(?)--> | ||
|mg=Flag of Madagascar.svg<!--Flag of Malgache language.svg(?)--> | |mg=Flag of Madagascar.svg<!--Flag of Malgache language.svg(?)--> | ||
|mk=Flag of Macedonia.svg<!--Flag of Macedonian language.svg(?)--> | |mk=Flag of North Macedonia.svg<!--Flag of Macedonian language.svg(?)--> | ||
|mn=Flag of Mongolia.svg<!--Flag of Mongolian language.svg(?)--> | |mn=Flag of Mongolia.svg<!--Flag of Mongolian language.svg(?)--> | ||
|mr=Marathi Flag.svg | |mr=Marathi Flag.svg | ||
Revision as of 09:29, 23 October 2022
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 La Francophonie.svg