Difference between revisions of "Template:Otherlang"
From Tycoon Gaming
m |
m |
||
Line 62: | Line 62: | ||
|pt-br=pt-br:Page_name | |pt-br=pt-br:Page_name | ||
|[[File:Pt-br.png]] | |[[File:Pt-br.png]] | ||
+ | |- id="tr" | ||
+ | |Turkish | ||
+ | |tr=tr:Page_name | ||
+ | |[[File:Tr.png]] | ||
|} | |} | ||
Line 75: | Line 79: | ||
#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}}}]] }} {{ | #if: {{{pt|}}} | [[File:Pt.png|alt=Portuguese|link={{{pt}}}]] }} {{ | ||
− | #if: {{{pt-br|}}} | [[File:Pt-br.png|alt=Portuguese|link={{{pt-br}}}]] }}</div> | + | #if: {{{pt-br|}}} | [[File:Pt-br.png|alt=Portuguese|link={{{pt-br}}}]] }} {{ |
+ | #if: {{{tr|}}} | [[File:Tr.png|alt=Turkish|link={{{tr}}}]] }}</div> |
Revision as of 21:19, 20 July 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.