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/doc: Difference between revisions

Template page
adde documentation for parameters
added links to subtemplates
Line 26: Line 26:
|lines=
|lines=
|shorthand=
|shorthand=
|relieson=
|relieson={{tl|LanguageSelector/full}}, {{tl|LanguageSelector/switch}}, {{tl|LanguageSelector/link}}
}}
}}

Revision as of 19:45, 3 January 2010

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

ParameterDescriptionDefaultStatus
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.optionaloptional

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

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