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 En.png
Dutch nl=NL:Page_name Nl.png
French fr=FR:Page_name Fr.png
German de=DE:Page_name De.png
Italian it=IT:Page_name It.png
Polish pl=PL:Page_name Pl.png
Spanish es=ES:Page_name Es.png
Romanian ro=RO:Page_name Ro.png
Portuguese pt=PT:Page_name Pt.png
Brazilian Portuguese pt-br=PT-BR:Page_name Pt-br.png
Turkish tr=TR:Page_name Tr.png
Arabic ar=AR:Page_name Ar.png
Danish dk=DK:Page_name Dk.png
Czech cs=CS:Page_name Cs.png
Russian ru=RU:Page_name Ru.png
Hungarian hu=HU:Page_name Hu.png
Slovak sk=SK:Page_name Sk.png
Chinese (Simplified) ch=CH:Page_name File:Ch.png