Difference between revisions of "Template:Otherlang"
From Tycoon Gaming
m (Added Chinese (Simplified)) |
|||
Line 90: | Line 90: | ||
|sk=SK:Page_name | |sk=SK:Page_name | ||
|[[File:Sk.png]] | |[[File:Sk.png]] | ||
− | | | + | |- id="ch" |
+ | |Chinese (Simplified) | ||
+ | |ch=CH:Page_name | ||
+ | |[[File:Ch.png]] | ||
+ | |} | ||
Line 111: | Line 115: | ||
#if: {{{ru|}}} | [[File:Ru.png|alt=Russian|link={{{ru}}}]] }} {{ | #if: {{{ru|}}} | [[File:Ru.png|alt=Russian|link={{{ru}}}]] }} {{ | ||
#if: {{{hu|}}} | [[File:Hu.png|alt=Hungarian|link={{{hu}}}]] }} {{ | #if: {{{hu|}}} | [[File:Hu.png|alt=Hungarian|link={{{hu}}}]] }} {{ | ||
− | #if: {{{sk|}}} | [[File:Sk.png|alt=Slovak|link={{{sk}}}]] }}</div> | + | #if: {{{sk|}}} | [[File:Sk.png|alt=Slovak|link={{{sk}}}]] }} {{ |
+ | #if: {{{ch|}}} | [[File:Ch.png|alt=Chinese (Simplified)|link={{{ch}}}]] }}</div> |
Revision as of 02:47, 2 May 2021
This template adds available translations for the page to the top through the use of flags.
To prevent issues, this template must be placed at the very beginning of a page.
Syntax
{{otherlang | noborder=true (OPTIONAL) | lang=page:lang | lang2=page:lang2 | etc... }}
Warning: Do not include the language of the current page. This will only confuse readers.
Available Languages
Language | Syntax | Flag |
---|---|---|
English | en=Page_name | |
Dutch | nl=NL:Page_name | |
French | fr=FR:Page_name | |
German | de=DE:Page_name | |
Italian | it=IT:Page_name | |
Polish | pl=PL:Page_name | |
Spanish | es=ES:Page_name | |
Romanian | ro=RO:Page_name | |
Portuguese | pt=PT:Page_name | |
Brazilian Portuguese | pt-br=PT-BR:Page_name | |
Turkish | tr=TR:Page_name | |
Arabic | ar=AR:Page_name | |
Danish | dk=DK:Page_name | |
Czech | cs=CS:Page_name | |
Russian | ru=RU:Page_name | |
Hungarian | hu=HU:Page_name | |
Slovak | sk=SK:Page_name | |
Chinese (Simplified) | ch=CH:Page_name | File:Ch.png |