Difference between revisions of "Template:Otherlang"

From Tycoon Gaming
m
m
Line 44: Line 44:
 
|- id="pl"
 
|- id="pl"
 
|Polish
 
|Polish
|pl=Page_name:pl
+
|pl=pl:Page_name
 
|[[File:Pl.png]]
 
|[[File:Pl.png]]
 
|- id="es"
 
|- id="es"
Line 50: Line 50:
 
|es=es:Page_name
 
|es=es:Page_name
 
|[[File:Es.png]]
 
|[[File:Es.png]]
 +
|- id="ro"
 +
|Romanian
 +
|ro=ro:Page_name
 +
|[[File:Ro.png]]
 
|}
 
|}
  
Line 61: Line 65:
 
#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}}}]] }}</div>
 
#if: {{{pl|}}} | [[File:Pl.png|alt=Polski|link={{{pl}}}]] }}</div>
 +
#if: {{{ro|}}} | [[File:Ro.png|alt=Pomanian|link={{{ro}}}]] }}</div>

Revision as of 18:21, 27 April 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
  1. if: | Pomanian }}