Template:LanguageSelector/doc
Template page
More actions
This is a first version of a language selector which displays a configurable menu of languages to display a given page in. It is intended to complement {{LangSwitch}}, but you might find previously unintended uses. ;)
Usage
{{LanguageSelector |flags= |<unnamed parameter>= }}
A few examples:
{{LanguageSelector}} | |
{{LanguageSelector|flags=no}} | |
{{LanguageSelector|zh|de}} |
Template parameters
| Parameter | Description | Default | Status | |
|---|---|---|---|---|
flags | "yes" or anything else, depending on whether you want to see language flags. | "yes" | optional | |
<unnamed parameter> | If present, a link for the corresponding language will be produced. Up to eight languages can currently be specified, and will display in the order indicated by the parameter sequence. If no unnamed parameters are specified, all languages will be displayed in the default order. | optional | optional | |
Additional information
The template is intended to be used in the following namespaces: all namespaces
The template is intended to be used by the following user groups: all users
Relies on:
{{LanguageSelector/full}}, {{LanguageSelector/switch}}, {{LanguageSelector/link}}
See also