Template:Languages
This template will display a bar with links to international versions of the same page. It will automatically add language categories to translated pages.
Note: When adding new content, please add it to the English version first and only then translate it to another language.
Usage
The language bar is placed under the English article's Lang(-uage) subpage -- for example, for the page Beginner's guide
it will be added at Beginner's guide/Lang
.
To set the language bar use the following syntax:
{{Languages|en=English_Article|Language2=Article2|...|LanguageN=ArticleN}}
After the language bar has been set, it can be invoked on the relevant English and translated pages by placing the following code at the top of the page
{{:English_Article_Name/Lang}}
.
Note: As other languages are translations of the English article, the parameter en should always be set.
Example
The language bar for the (imaginary) article "Hello" with its French and German translation will be setup under Hello/Lang
as:
{{Languages|en=Hello|fr=Bonjour|de=Hallo}}
It will then be invoked on all 3 pages by adding the below code at the top of the page:
{{:Hello/Lang}}
The end result will be the below language bar at the top of the 3 pages:
Language options
The following language options are available:
Language | Flag | ISO |
---|---|---|
English | ![]() |
en |
French | ![]() |
fr |
German | ![]() |
de |
Russian | ![]() |
ru |
Italian | ![]() |
it |
Spanish | ![]() |
es |
Swedish | ![]() |
se |
Polish | ![]() |
pl |
Portuguese | ![]() |
pt |
Brazilian Portuguese | ![]() |
br |
Nederlands | ![]() |
nl |
Ukrainian | ![]() |
ua |
Japanese | ![]() |
jp |