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
more languages
+yo
Line 1: Line 1:
<noinclude>[[File:</noinclude>{{LangSwitch|lang={{{1|ps}}}|default=~
<noinclude>[[File:</noinclude>{{LangSwitch|lang={{{1|}}}|default=~
|af/xh/zu=Flags of Namibia and South Africa.svg<!--Flag of Namibia and South Africa.svg-->
|af/xh/zu=Flags of Namibia and South Africa.svg<!--Flag of Namibia and South Africa.svg-->
|am=Flag of Ethiopia.svg<!--ISO 639 Icon am.svg;Flag of Amharic language.svg(?)-->
|am=Flag of Ethiopia.svg<!--ISO 639 Icon am.svg;Flag of Amharic language.svg(?)-->
Line 120: Line 120:
|wo=Flag of Senegal.svg<!--Flag of the Gambia.svg;Flag of Wolof language.svg(?)-->
|wo=Flag of Senegal.svg<!--Flag of the Gambia.svg;Flag of Wolof language.svg(?)-->
|yi=Yiddish Flag.svg<!--Proposed Yiddish flag.svg-->
|yi=Yiddish Flag.svg<!--Proposed Yiddish flag.svg-->
|yo=Flag of the Yoruba people.svg<!--ISO 639 Icon yo.svg;Flag of Yoruba language.svg(?)-->
|zh/zh-hans/zh-hant/wuu/yue/za=Flag of chinese-speaking countries and territories.svg
|zh/zh-hans/zh-hant/wuu/yue/za=Flag of chinese-speaking countries and territories.svg
<!--
<!--
Line 139: Line 140:
|ve=ISO 639 Icon ve.svg< !--Flag of Venda language.svg(?)-- >
|ve=ISO 639 Icon ve.svg< !--Flag of Venda language.svg(?)-- >
|war=ISO 639 Icon war.svg< !--Flag of Waray language.svg(?)-- >
|war=ISO 639 Icon war.svg< !--Flag of Waray language.svg(?)-- >
|yo=ISO 639 Icon yo.svg< !--Flag of Yoruba language.svg(?)-- >


FIXME:codes of languages
FIXME:codes of languages

Revision as of 23:42, 13 July 2020

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.svg



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