Template:LanguageSelector/iconfile: Difference between revisions
Template page
More actions
m Tagging this template as uncategorized. |
m categorize template |
||
| Line 14: | Line 14: | ||
}}<noinclude>{{documentation}}</noinclude><noinclude> | }}<noinclude>{{documentation}}</noinclude><noinclude> | ||
[[Category:Miscellaneous subtemplates]] | |||
</noinclude> | </noinclude> | ||
Revision as of 12:52, 15 March 2011
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 (QC-FR).svg