Difference between revisions of "Template:Language-box"
From Akvopedia
(3 intermediate revisions by the same user not shown) | |||
Line 2: | Line 2: | ||
{{#if: {{{english_link|}}}| | {{#if: {{{english_link|}}}| | ||
{{!}} {{#ifeq: {{PAGENAME}}|{{PAGENAME:{{{english_link}}}}}|class="current"|}} {{!}}[[File:Flag_of_the_United_Kingdom.svg {{!}}x16px{{!}}link={{{english_link}}}{{!}}alt=English]] | {{!}} {{#ifeq: {{PAGENAME}}|{{PAGENAME:{{{english_link}}}}}|class="current"|}} {{!}}[[File:Flag_of_the_United_Kingdom.svg {{!}}x16px{{!}}link={{{english_link}}}{{!}}alt=English]] | ||
+ | }} | ||
+ | {{#if: {{{french_link|}}}| | ||
+ | {{!}} align="center" {{#ifeq: {{PAGENAME}}|{{PAGENAME:{{{french_link}}}}}|class="current"|}} {{!}} [[File:Flag_of_France.svg {{!}}x16px{{!}}link={{{french_link}}}{{!}}alt=Français]] | ||
+ | }} | ||
+ | {{#if: {{{spanish_link|}}}| | ||
+ | {{!}} {{#ifeq: {{PAGENAME}}|{{PAGENAME:{{{spanish_link}}}}}|class="current"|}} {{!}} [[File:Flag of Spain.svg {{!}} x16px{{!}}link={{{spanish_link}}}{{!}}alt=Español]] | ||
}} | }} | ||
{{#if: {{{hindi_link|}}}| | {{#if: {{{hindi_link|}}}| | ||
Line 12: | Line 18: | ||
{{!}} {{#ifeq: {{PAGENAME}}|{{PAGENAME:{{{tamil_link}}}}}|class="current"|}} {{!}} [[File:India flag.jpg {{!}} x16px{{!}}link={{{tamil_link}}}{{!}}alt=தமிழ்]] | {{!}} {{#ifeq: {{PAGENAME}}|{{PAGENAME:{{{tamil_link}}}}}|class="current"|}} {{!}} [[File:India flag.jpg {{!}} x16px{{!}}link={{{tamil_link}}}{{!}}alt=தமிழ்]] | ||
}} | }} | ||
− | {{#if: {{{ | + | {{#if: {{{swahili_link|}}}| |
− | {{!}} {{#ifeq: {{PAGENAME}}|{{PAGENAME:{{{ | + | {{!}} {{#ifeq: {{PAGENAME}}|{{PAGENAME:{{{swahili_link}}}}}|class="current"|}} {{!}} [[File:Kenya flag.png {{!}} x16px{{!}}link={{{swahili_link}}}{{!}}alt=Swahili]] |
}} | }} | ||
− | {{#if: {{{ | + | {{#if: {{{korean_link|}}}| |
− | {{!}} {{#ifeq: {{PAGENAME}}|{{PAGENAME:{{{ | + | {{!}} {{#ifeq: {{PAGENAME}}|{{PAGENAME:{{{korean_link}}}}}|class="current"|}} {{!}} [[File:korean flag.jpg {{!}} x16px{{!}}link={{{korean_link}}}{{!}}alt=한국어]] |
}} | }} | ||
− | {{#if: {{{ | + | {{#if: {{{chinese_link|}}}| |
− | {{!}} | + | {{!}} {{#ifeq: {{PAGENAME}}|{{PAGENAME:{{{chinese_link}}}}}|class="current"|}} {{!}} [[File:chinese flag.jpg {{!}} x16px{{!}}link={{{chinese_link}}}{{!}}alt=中國]] |
}} | }} | ||
− | {{#if: {{{ | + | {{#if: {{{indonesian_link|}}}| |
− | {{!}} {{#ifeq: {{PAGENAME}}|{{PAGENAME:{{{ | + | {{!}} {{#ifeq: {{PAGENAME}}|{{PAGENAME:{{{indonesian_link}}}}}|class="current"|}} {{!}} [[File:indonesian flag.png {{!}} x16px{{!}}link={{{indonesian_link}}}{{!}}alt=Indonesia]] |
}} | }} | ||
{{#if: {{{japanese_link|}}}| | {{#if: {{{japanese_link|}}}| | ||
{{!}} {{#ifeq: {{PAGENAME}}|{{PAGENAME:{{{japanese_link}}}}}|class="current"|}} {{!}} [[File:japanese flag.png {{!}} x16px{{!}}link={{{japanese_link}}}{{!}}alt=Japanese]] | {{!}} {{#ifeq: {{PAGENAME}}|{{PAGENAME:{{{japanese_link}}}}}|class="current"|}} {{!}} [[File:japanese flag.png {{!}} x16px{{!}}link={{{japanese_link}}}{{!}}alt=Japanese]] | ||
}} | }} | ||
− | {{#if: {{{ | + | {{#if: {{{russian_link|}}}| |
− | {{!}} {{#ifeq: {{PAGENAME}}|{{PAGENAME:{{{ | + | {{!}} {{#ifeq: {{PAGENAME}}|{{PAGENAME:{{{russian_link}}}}}|class="current"|}} {{!}} [[File:russia-flag.jpg {{!}} x16px{{!}}link={{{russian_link}}}{{!}}alt=Russian]] |
}} | }} | ||
− | |||
− | |||
|} | |} |