Template:LanguageSelector/iconfile/doc: Difference between revisions
Template page
More actions
m ←Created page with '{{TemplateBox |1=1 |1d=language code |1def= |1stat=optionnal |name=LanguageSelector/iconfile |desc=Returns the icon file associated to a language. Most languages d...' |
mNo edit summary |
||
| Line 20: | Line 20: | ||
|relieson= | |relieson= | ||
}} | }} | ||
{{DEFAULTSORT:LanguageSelector/iconfile}} | |||
<includeonly> | |||
<!-- categories for template here --> | |||
</includeonly> | |||
Latest revision as of 04:11, 17 July 2010
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