Template:LanguageSelector/iconfile/doc

From "PTTLink Wiki"
< Template:LanguageSelector‎ | iconfile
Revision as of 08:45, 21 January 2022 by Kg7qin (talk | contribs) (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 don't define...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

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:

Warning: Default sort key "LanguageSelector/iconfile" overrides earlier default sort key "LanguageSelector/iconfile/doc".