Difference between revisions of "Template:Otherlang2"
From Tycoon Gaming
m |
m |
||
(4 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
{{ | {{ | ||
− | #if: {{{title|}}} | {{DISPLAYTITLE:{{{title}}}}} }}<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;}} | + | #if: {{{title|}}} | {{DISPLAYTITLE:{{{title}}}}} }}<div style="display:flex; flex-direction:row; gap:5px; 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; }}">{{ |
− | #ifexist: | + | #ifexist: {{{basePageName}}} | {{#ifeq: {{PAGENAME}}|{{{basePageName}}}| | [[File:En.png|alt=English|link={{{basePageName}}}]] }} }} {{ |
− | #ifexist: | + | #ifexist: DE:{{{basePageName}}} | {{#ifeq: {{PAGENAME}}|DE:{{{basePageName}}}| | [[File:De.png|alt=German|link=DE:{{{basePageName}}}]] }} }} {{ |
− | #ifexist: | + | #ifexist: ES:{{{basePageName}}} | {{#ifeq: {{PAGENAME}}|ES:{{{basePageName}}}| | [[File:Es.png|alt=Spanish|link=ES:{{{basePageName}}}]] }} }} {{ |
− | #ifexist: | + | #ifexist: FR:{{{basePageName}}} | {{#ifeq: {{PAGENAME}}|FR:{{{basePageName}}}| | [[File:Fr.png|alt=French|link=FR:{{{basePageName}}}]] }} }} {{ |
− | #ifexist: IT:{{{basePageName}}} | [[File:It.png|alt=Italian|link=IT:{{{basePageName}}}]] }}{{ | + | #ifexist: IT:{{{basePageName}}} | {{#ifeq: {{PAGENAME}}|IT:{{{basePageName}}}| | [[File:It.png|alt=Italian|link=IT:{{{basePageName}}}]] }} }} {{ |
− | #ifexist: | + | #ifexist: NL:{{{basePageName}}} | {{#ifeq: {{PAGENAME}}|NL:{{{basePageName}}}| | [[File:Nl.png|alt=Dutch|link=NL:{{{basePageName}}}]] }} }} {{ |
− | #ifexist: | + | #ifexist: PL:{{{basePageName}}} | {{#ifeq: {{PAGENAME}}|PL:{{{basePageName}}}| | [[File:Pl.png|alt=Polish|link=PL:{{{basePageName}}}]] }} }} {{ |
− | #ifexist: RO:{{{basePageName}}} | [[File:Ro.png|alt=Romanian|link=RO:{{{basePageName}}}]] }}{{ | + | #ifexist: RO:{{{basePageName}}} | {{#ifeq: {{PAGENAME}}|RO:{{{basePageName}}}| | [[File:Ro.png|alt=Romanian|link=RO:{{{basePageName}}}]] }} }} {{ |
− | #ifexist: PT:{{{basePageName}}} | [[File:Pt.png|alt=Portuguese|link=PT:{{{basePageName}}}]] }}{{ | + | #ifexist: PT:{{{basePageName}}} | {{#ifeq: {{PAGENAME}}|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: PT-BR:{{{basePageName}}} | {{#ifeq: {{PAGENAME}}|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}}}]] }}</div> | + | #ifexist: TR:{{{basePageName}}} | {{#ifeq: {{PAGENAME}}|TR:{{{basePageName}}}| | [[File:Tr.png|alt=Turkish|link=TR:{{{basePageName}}}]] }} }} {{ |
+ | #ifexist: AR:{{{basePageName}}} | {{#ifeq: {{PAGENAME}}|AR:{{{basePageName}}}| | [[File:Ar.png|alt=Arabic|link=AR:{{{basePageName}}}]] }} }} {{ | ||
+ | #ifexist: DK:{{{basePageName}}} | {{#ifeq: {{PAGENAME}}|DK:{{{basePageName}}}| | [[File:Dk.png|alt=Danish|link=DK:{{{basePageName}}}]] }} }} {{ | ||
+ | #ifexist: CS:{{{basePageName}}} | {{#ifeq: {{PAGENAME}}|CS:{{{basePageName}}}| | [[File:Cs.png|alt=Czech|link=CS:{{{basePageName}}}]] }} }} {{ | ||
+ | #ifexist: RU:{{{basePageName}}} | {{#ifeq: {{PAGENAME}}|RU:{{{basePageName}}}| | [[File:Ru.png|alt=Russian|link=RU:{{{basePageName}}}]] }} }} {{ | ||
+ | #ifexist: HU:{{{basePageName}}} | {{#ifeq: {{PAGENAME}}|HU:{{{basePageName}}}| | [[File:Hu.png|alt=Hungarian|link=HU:{{{basePageName}}}]] }} }} {{ | ||
+ | #ifexist: SK:{{{basePageName}}} | {{#ifeq: {{PAGENAME}}|SK:{{{basePageName}}}| | [[File:Sk.png|alt=Slovak|link=SK:{{{basePageName}}}]] }} }} {{ | ||
+ | #ifexist: ZH-CN:{{{basePageName}}} | {{#ifeq: {{PAGENAME}}|ZH-CN:{{{basePageName}}}| | [[File:Zh-cn.png|alt=Chinese (Simplified)|link=ZH-CN:{{{basePageName}}}]] }} }} {{ | ||
+ | #ifexist: EE:{{{basePageName}}} | {{#ifeq: {{PAGENAME}}|EE:{{{basePageName}}}| | [[File:Ee.png|alt=Estonian|link=EE:{{{basePageName}}}]] }} }} {{ | ||
+ | #ifexist: ID:{{{basePageName}}} | {{#ifeq: {{PAGENAME}}|ID:{{{basePageName}}}| | [[File:Id.png|alt=Indonesian|link=ID:{{{basePageName}}}]] }} }} {{ | ||
+ | #ifexist: LV:{{{basePageName}}} | {{#ifeq: {{PAGENAME}}|LV:{{{basePageName}}}| | [[File:Lv.png|alt=Latvian|link=LV:{{{basePageName}}}]] }} }} {{ | ||
+ | #ifexist: HI:{{{basePageName}}} | {{#ifeq: {{PAGENAME}}|HI:{{{basePageName}}}| | [[File:Hi.png|alt=Hindi|link=HI:{{{basePageName}}}]] }} }} {{ | ||
+ | #ifexist: BG:{{{basePageName}}} | {{#ifeq: {{PAGENAME}}|BG:{{{basePageName}}}| | [[File:Bg.png|alt=Bulgarian|link=BG:{{{basePageName}}}]] }} }} {{ | ||
+ | #ifexist: CY:{{{basePageName}}} | {{#ifeq: {{PAGENAME}}|CY:{{{basePageName}}}| | [[File:Cy.png|alt=Welsh|link=CY:{{{basePageName}}}]] }} }} {{ | ||
+ | #ifexist: JA:{{{basePageName}}} | {{#ifeq: {{PAGENAME}}|JA:{{{basePageName}}}| | [[File:Ja.png|alt=Japanese|link=JA:{{{basePageName}}}]] }} }} {{ | ||
+ | #ifexist: KR:{{{basePageName}}} | {{#ifeq: {{PAGENAME}}|HR:{{{basePageName}}}| | [[File:Kr.png|alt=Korean|link=KR:{{{basePageName}}}]] }} }}</div> |