Jump to content
Toggle menu
  • 8 articles
  • 75 files
  • 7 users
  • 37.8K edits
Neodyland Wiki
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:LanguageSelector/iconfile: Difference between revisions

Template page
No edit summary
No edit summary
Line 1: Line 1:
{{#switch:{{{1|}}}
{{#switch:{{{1|}}}
|ar=Arabic-Language-Flag.svg
|ar=Arabic-Language-Flag.svg
|bn=|en=Flag of Bangladesh.svg
|de=German-Language-Flag.svg
|de=German-Language-Flag.svg
|en=Flag of the United Kingdom.svg
|en=Flag of the United Kingdom.svg

Revision as of 18:09, 1 June 2017

Template documentation[ view · 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 French language (QC-FR).svg



Cookies help us deliver our services. By using our services, you agree to our use of cookies.