Difference between revisions of "Template:Otherlang"

From Tycoon Gaming
(Russian)
Line 78: Line 78:
 
|cs=Cs:Page_name
 
|cs=Cs:Page_name
 
|[[File:Cs.png]]
 
|[[File:Cs.png]]
 +
|- id="ru"
 +
|Russian
 +
|ru=Ru:Page_name
 +
|[[File:Ru.png]]
 
|}
 
|}
  
Line 96: Line 100:
 
#if: {{{ar|}}} | [[File:Ar.png|alt=Arabic|link={{{ar}}}]] }} {{
 
#if: {{{ar|}}} | [[File:Ar.png|alt=Arabic|link={{{ar}}}]] }} {{
 
#if: {{{dk|}}} | [[File:Dk.png|alt=Danish|link={{{dk}}}]] }} {{
 
#if: {{{dk|}}} | [[File:Dk.png|alt=Danish|link={{{dk}}}]] }} {{
#if: {{{cs|}}} | [[File:Cs.png|alt=Czech|link={{{cs}}}]] }}</div>
+
#if: {{{cs|}}} | [[File:Cs.png|alt=Czech|link={{{cs}}}]] }} {{
 +
#if: {{{ru|}}} | [[File:Ru.png|alt=Russian|link={{{ru}}}]] }}</div>

Revision as of 00:25, 26 January 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