Difference between revisions of "Template:Language-box"

From Akvopedia
Jump to: navigation, search
(Undo revision 28353 by Winona (talk))
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 11: Line 17:
 
{{#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: {{{korean_link|}}}|
 +
{{!}}  {{#ifeq: {{PAGENAME}}|{{PAGENAME:{{{korean_link}}}}}|class="current"|}} {{!}} [[File:korean flag.jpg {{!}} x16px{{!}}link={{{korean_link}}}{{!}}alt=한국어]]
 +
}}
 +
{{#if: {{{chinese_link|}}}|
 +
{{!}}  {{#ifeq: {{PAGENAME}}|{{PAGENAME:{{{chinese_link}}}}}|class="current"|}} {{!}} [[File:chinese flag.jpg {{!}} x16px{{!}}link={{{chinese_link}}}{{!}}alt=中國]]
 
}}
 
}}
 
{{#if: {{{indonesian_link|}}}|
 
{{#if: {{{indonesian_link|}}}|
 
{{!}}  {{#ifeq: {{PAGENAME}}|{{PAGENAME:{{{indonesian_link}}}}}|class="current"|}} {{!}} [[File:indonesian flag.png {{!}} x16px{{!}}link={{{indonesian_link}}}{{!}}alt=Indonesia]]
 
{{!}}  {{#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|}}}|
 
{{!}}  {{#ifeq: {{PAGENAME}}|{{PAGENAME:{{{korean_link}}}}}|class="current"|}} {{!}} [[File:korean flag.jpg {{!}} x16px{{!}}link={{{korean_link}}}{{!}}alt=한국어]]
 
 
}}
 
}}
 
{{#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: {{{chinese_link|}}}|
 
{{!}}  {{#ifeq: {{PAGENAME}}|{{PAGENAME:{{{chinese_link}}}}}|class="current"|}} {{!}} [[File:chinese flag.jpg {{!}} x16px{{!}}link={{{chinese_link}}}{{!}}alt=中國]]
 
}}
 
 
 
 
|}
 
|}

Revision as of 23:28, 6 August 2015