Toggle menu
3
389
1
853
Seul En Groupe
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:Protection

File:Notebook.pngDocumentation
This template relies heavily on CSS for its layout and styling.
Any edits may affect layout or appearance across multiple pages.

The {{LangSwitch}} template displays available languages for a page. It should be placed at the top of an article.

This template uses {{LangSwitch/core}} for the logic.

Usage

Simply add {{LangSwitch}}. There are no parameters.

Adding new languages

To add a new language, edit the template and add {{LangSwitch/core|xx|xx}} to the desired position (keeping it alphabetical). xx should be replaced by the language code and is used for the link. Xx should be replaced by the language code with the appropriate script and is the text that will be displayed on the page.

The language code for the new language will also need to be added to {{Language code}}.

How to translate

This template doesn't need to/shouldn't be translated, but you can translate the documentation of this template with the following steps:

  1. Create a subpage of this template with the language code of the language you want to translate to.
  2. Copy the code wrapped in the <noinclude> tag in this template into the page you created.
    {{Translation guide}} template should be removed from the translated documentation.
  3. Translate the page according to the translation requirements of normal pages.

See also

Attribution

Editors can experiment in this template's sandbox.