Difference between revisions of "Template:Otherlang"
From Tycoon Gaming
m (Added portuguese) |
m |
||
Line 58: | Line 58: | ||
|pt=pt:Page_name | |pt=pt:Page_name | ||
|[[File:Pt.png]] | |[[File:Pt.png]] | ||
+ | |- id="pt-br" | ||
+ | |Brazilian Portuguese | ||
+ | |pt-br=pt-br:Page_name | ||
+ | |[[File:Pt-br.png]] | ||
|} | |} | ||
Line 70: | Line 74: | ||
#if: {{{pl|}}} | [[File:Pl.png|alt=Polski|link={{{pl}}}]] }} {{ | #if: {{{pl|}}} | [[File:Pl.png|alt=Polski|link={{{pl}}}]] }} {{ | ||
#if: {{{ro|}}} | [[File:Ro.png|alt=Romanian|link={{{ro}}}]] }} {{ | #if: {{{ro|}}} | [[File:Ro.png|alt=Romanian|link={{{ro}}}]] }} {{ | ||
− | #if: {{{pt|}}} | [[File:Pt.png|alt=Portuguese|link={{{pt}}}]] }}</div> | + | #if: {{{pt|}}} | [[File:Pt.png|alt=Portuguese|link={{{pt}}}]] }} {{ |
+ | #if: {{{pt-br|}}} | [[File:Pt-br.png|alt=Portuguese|link={{{pt-br}}}]] }}</div> |
Revision as of 19: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.