Difference between revisions of "Template:Otherlang2"

From Tycoon Gaming
(Created page with "<noinclude> == Available Languages == {| class="article-table" ! Language ! Syntax ! Flag </noinclude> {{#ifexist: {{{basePageName}}} | |- id="en" | English | {{{basePageNa...")
 
m
Line 1: Line 1:
 
<noinclude>
 
<noinclude>
== Available Languages ==
+
{{#if: {{{title|}}} | {{DISPLAYTITLE:{{{title}}}}} }}
{| class="article-table"
+
<div style="position:relative;top:-32px;margin-bottom: -40px;float:right;text-align:right;padding:2px;line-height:11px;background:#262626;{{#if: {{{noborder|}}} | margin-top:5px;border:0; | border:1px solid #65635F;border-bottom:0;}}">
! Language
 
! Syntax
 
! Flag
 
 
</noinclude>
 
</noinclude>
  
{{#ifexist: {{{basePageName}}} |
+
{{#ifexist: EN:{{{basePageName}}} | '''[[File:En.png|alt=English|link=EN:{{{basePageName}}}]]''' }}
|- id="en"
+
{{#ifexist: NL:{{{basePageName}}} | [[File:Nl.png|alt=Dutch|link=NL:{{{basePageName}}}]] }}
| English
+
{{#ifexist: FR:{{{basePageName}}} | [[File:Fr.png|alt=French|link=FR:{{{basePageName}}}]] }}
| [[{{{basePageName}}}/English|en]]
+
{{#ifexist: DE:{{{basePageName}}} | [[File:De.png|alt=German|link=DE:{{{basePageName}}}]] }}
| [[File:En.png]]
+
{{#ifexist: IT:{{{basePageName}}} | [[File:It.png|alt=Italian|link=IT:{{{basePageName}}}]] }}
}}
+
{{#ifexist: PL:{{{basePageName}}} | [[File:Pl.png|alt=Polish|link=PL:{{{basePageName}}}]] }}
 +
{{#ifexist: ES:{{{basePageName}}} | [[File:Es.png|alt=Spanish|link=ES:{{{basePageName}}}]] }}
 +
{{#ifexist: RO:{{{basePageName}}} | [[File:Ro.png|alt=Romanian|link=RO:{{{basePageName}}}]] }}
 +
{{#ifexist: PT:{{{basePageName}}} | [[File:Pt.png|alt=Portuguese|link=PT:{{{basePageName}}}]] }}
 +
{{#ifexist: PT-BR:{{{basePageName}}} | [[File:Pt-br.png|alt=Brazilian Portuguese|link=PT-BR:{{{basePageName}}}]] }}
 +
{{#ifexist: TR:{{{basePageName}}} | [[File:Tr.png|alt=Turkish|link=TR:{{{basePageName}}}]] }}
  
{{#ifexist: NL:{{{basePageName}}} |
+
<!-- Repeat for other languages -->
|- id="nl"
 
| Dutch
 
| [[NL:{{{basePageName}}}|nl]]
 
| [[File:Nl.png]]
 
}}
 
 
 
{{#ifexist: FR:{{{basePageName}}} |
 
|- id="fr"
 
| French
 
| [[FR:{{{basePageName}}}|fr]]
 
| [[File:Fr.png]]
 
}}
 
 
 
{{#ifexist: DE:{{{basePageName}}}|
 
|- id="de"
 
| German
 
| [[DE:{{{basePageName}}}|de]]
 
| [[File:De.png]]
 
}}
 
 
 
{{#ifexist: IT:{{{basePageName}}}|
 
|- id="it"
 
| Italian
 
| [[IT:{{{basePageName}}}|it]]
 
| [[File:It.png]]
 
}}
 
 
 
{{#ifexist: PL:{{{basePageName}}}|
 
|- id="pl"
 
| Polish
 
| [[PL:{{{basePageName}}}|pl]]
 
| [[File:Pl.png]]
 
}}
 
 
 
{{#ifexist: ES:{{{basePageName}}}|
 
|- id="es"
 
| Spanish
 
| [[ES:{{{basePageName}}}|es]]
 
| [[File:Es.png]]
 
}}
 
 
 
{{#ifexist: RO:{{{basePageName}}} |
 
|- id="ro"
 
| Romanian
 
| [[RO:{{{basePageName}}}|ro]]
 
| [[File:Ro.png]]
 
}}
 
 
 
{{#ifexist: PT:{{{basePageName}}} |
 
|- id="pt"
 
| Portuguese
 
| [[PT:{{{basePageName}}}|pt]]
 
| [[File:Pt.png]]
 
}}
 
 
 
{{#ifexist: PT-BR:{{{basePageName}}} |
 
|- id="pt-br"
 
| Brazilian Portuguese
 
| [[PT-BR:{{{basePageName}}}|pt-br]]
 
| [[File:Pt-br.png]]
 
}}
 
 
 
{{#ifexist: TR:{{{basePageName}}} |
 
|- id="tr"
 
| Turkish
 
| [[TR:{{{basePageName}}}|tr]]
 
| [[File:Tr.png]]
 
}}
 
 
 
<!-- Repeat for other languages as needed -->
 
  
 
<noinclude>
 
<noinclude>
|}
+
</div>
 
</noinclude>
 
</noinclude>

Revision as of 03:01, 23 November 2023