Difference between revisions of "Template:Language-box"
From Akvopedia
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: {{{hindi_link|}}}| | {{#if: {{{hindi_link|}}}| | ||
Line 17: | Line 11: | ||
{{#if: {{{tamil_link|}}}| | {{#if: {{{tamil_link|}}}| | ||
{{!}} {{#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: {{{indonesian_link|}}}| | ||
+ | {{!}} {{#ifeq: {{PAGENAME}}|{{PAGENAME:{{{indonesian_link}}}}}|class="current"|}} {{!}} [[File:indonesian flag.png {{!}} x16px{{!}}link={{{indonesian_link}}}{{!}}alt=Indonesia]] | ||
+ | }} | ||
+ | {{#if: {{{spanish_link|}}}| | ||
+ | {{!}} {{#ifeq: {{PAGENAME}}|{{PAGENAME:{{{spanish_link}}}}}|class="current"|}} {{!}} [[File:Flag of Spain.svg {{!}} x16px{{!}}link={{{spanish_link}}}{{!}}alt=Español]] | ||
+ | }} | ||
+ | {{#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: {{{korean_link|}}}| | {{#if: {{{korean_link|}}}| | ||
{{!}} {{#ifeq: {{PAGENAME}}|{{PAGENAME:{{{korean_link}}}}}|class="current"|}} {{!}} [[File:korean flag.jpg {{!}} x16px{{!}}link={{{korean_link}}}{{!}}alt=한국어]] | {{!}} {{#ifeq: {{PAGENAME}}|{{PAGENAME:{{{korean_link}}}}}|class="current"|}} {{!}} [[File:korean flag.jpg {{!}} x16px{{!}}link={{{korean_link}}}{{!}}alt=한국어]] | ||
+ | }} | ||
+ | {{#if: {{{japanese_link|}}}| | ||
+ | {{!}} {{#ifeq: {{PAGENAME}}|{{PAGENAME:{{{japanese_link}}}}}|class="current"|}} {{!}} [[File:japanese flag.png {{!}} x16px{{!}}link={{{japanese_link}}}{{!}}alt=Japanese]] | ||
}} | }} | ||
{{#if: {{{chinese_link|}}}| | {{#if: {{{chinese_link|}}}| | ||
{{!}} {{#ifeq: {{PAGENAME}}|{{PAGENAME:{{{chinese_link}}}}}|class="current"|}} {{!}} [[File:chinese flag.jpg {{!}} x16px{{!}}link={{{chinese_link}}}{{!}}alt=中國]] | {{!}} {{#ifeq: {{PAGENAME}}|{{PAGENAME:{{{chinese_link}}}}}|class="current"|}} {{!}} [[File:chinese flag.jpg {{!}} x16px{{!}}link={{{chinese_link}}}{{!}}alt=中國]] | ||
}} | }} | ||
− | + | ||
− | + | ||
− | |||
− | |||
− | |||
− | |||
|} | |} |