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

Template page
mNo edit summary
mNo edit summary
Line 6: Line 6:
|1stat=required
|1stat=required
|2=2
|2=2
|2d=''yes'' to perform add optional link with action
|2d=determines what is displayed
|2def=no
* '''yes''': icons and text
* '''only''': only icons, no text
* '''code''': English language codes
* '''anything else''': only text, no icons
|2def=code
|2stat=required
|2stat=required
|3=action
|3=action
Line 20: Line 24:
|usage-notes=
|usage-notes=
|type=
|type=
|example=
|example=fr
|i18n-method=
|i18n-method=
|i18n-desc=
|i18n-desc=

Revision as of 04:18, 17 July 2010

Selects a default icon.

Usage

{{LanguageSelector/switch |1= |2= |action= }}

Template parameters

ParameterDescriptionDefaultStatus
1language codeemptyrequired
2determines what is displayed
  • yes: icons and text
  • only: only icons, no text
  • code: English language codes
  • anything else: only text, no icons
coderequired
actionis passed through to {{LanguageSelector/link}}, and ultimately to {{UselangLink}}.emptyoptional

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

Relies on:
{{LanguageSelector/link}}

Example

{{LanguageSelector/switch|fr}}

renders as:


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