Template:LanguageSelector/iconfile

From Wikimedia Commons, the free media repository
Jump to navigation Jump to search

Template documentationview · edit · history · purge ]

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

ParameterDescriptionDefaultStatus
1language codeemptyoptional

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