Difference between revisions of "Template:Otherlang"

From Tycoon Gaming
m
m (Added portuguese)
Line 54: Line 54:
 
|ro=ro:Page_name
 
|ro=ro:Page_name
 
|[[File:Ro.png]]
 
|[[File:Ro.png]]
 +
|- id="pt"
 +
|Portuguese
 +
|pt=pt:Page_name
 +
|[[File:Pt.png]]
 
|}
 
|}
  
Line 65: Line 69:
 
#if: {{{nl|}}} | [[File:Nl.png|alt=Nederlands|link={{{nl}}}]] }} {{
 
#if: {{{nl|}}} | [[File:Nl.png|alt=Nederlands|link={{{nl}}}]] }} {{
 
#if: {{{pl|}}} | [[File:Pl.png|alt=Polski|link={{{pl}}}]] }} {{
 
#if: {{{pl|}}} | [[File:Pl.png|alt=Polski|link={{{pl}}}]] }} {{
#if: {{{ro|}}} | [[File:Ro.png|alt=Pomanian|link={{{ro}}}]] }}</div>
+
#if: {{{ro|}}} | [[File:Ro.png|alt=Romanian|link={{{ro}}}]] }} {{
 +
#if: {{{pt|}}} | [[File:Pt.png|alt=Portuguese|link={{{pt}}}]] }}</div>

Revision as of 18:38, 24 June 2020


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 Result
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