Difference between revisions of "Template:Language-box"

From Akvopedia
Jump to: navigation, search
(Adding class="current")
 
(11 intermediate revisions by the same user not shown)
Line 8: Line 8:
 
{{#if: {{{spanish_link|}}}|
 
{{#if: {{{spanish_link|}}}|
 
{{!}}  {{#ifeq: {{PAGENAME}}|{{PAGENAME:{{{spanish_link}}}}}|class="current"|}} {{!}} [[File:Flag of Spain.svg {{!}} x16px{{!}}link={{{spanish_link}}}{{!}}alt=Español]]
 
{{!}}  {{#ifeq: {{PAGENAME}}|{{PAGENAME:{{{spanish_link}}}}}|class="current"|}} {{!}} [[File:Flag of Spain.svg {{!}} x16px{{!}}link={{{spanish_link}}}{{!}}alt=Español]]
 +
}}
 +
{{#if: {{{hindi_link|}}}|
 +
{{!}}  {{#ifeq: {{PAGENAME}}|{{PAGENAME:{{{hindi_link}}}}}|class="current"|}} {{!}} [[File:India flag.jpg {{!}} x16px{{!}}link={{{hindi_link}}}{{!}}alt=भारत]]
 +
}}
 +
{{#if: {{{malayalam_link|}}}|
 +
{{!}}  {{#ifeq: {{PAGENAME}}|{{PAGENAME:{{{malayalam_link}}}}}|class="current"|}} {{!}} [[File:India flag.jpg {{!}} x16px{{!}}link={{{malayalam_link}}}{{!}}alt=മലയാളം]]
 +
}}
 +
{{#if: {{{tamil_link|}}}|
 +
{{!}}  {{#ifeq: {{PAGENAME}}|{{PAGENAME:{{{tamil_link}}}}}|class="current"|}} {{!}} [[File:India flag.jpg {{!}} x16px{{!}}link={{{tamil_link}}}{{!}}alt=தமிழ்]]
 +
}}
 +
{{#if: {{{swahili_link|}}}|
 +
{{!}}  {{#ifeq: {{PAGENAME}}|{{PAGENAME:{{{swahili_link}}}}}|class="current"|}} {{!}} [[File:Kenya flag.png {{!}} x16px{{!}}link={{{swahili_link}}}{{!}}alt=Swahili]]
 +
}}
 +
{{#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|}}}|
 +
{{!}}  {{#ifeq: {{PAGENAME}}|{{PAGENAME:{{{indonesian_link}}}}}|class="current"|}} {{!}} [[File:indonesian flag.png {{!}} x16px{{!}}link={{{indonesian_link}}}{{!}}alt=Indonesia]]
 +
}}
 +
{{#if: {{{japanese_link|}}}|
 +
{{!}}  {{#ifeq: {{PAGENAME}}|{{PAGENAME:{{{japanese_link}}}}}|class="current"|}} {{!}} [[File:japanese flag.png {{!}} x16px{{!}}link={{{japanese_link}}}{{!}}alt=Japanese]]
 +
}}
 +
{{#if: {{{russian_link|}}}|
 +
{{!}}  {{#ifeq: {{PAGENAME}}|{{PAGENAME:{{{russian_link}}}}}|class="current"|}} {{!}} [[File:russia-flag.jpg {{!}} x16px{{!}}link={{{russian_link}}}{{!}}alt=Russian]]
 
}}
 
}}
 
|}
 
|}

Latest revision as of 23:40, 19 May 2017