Difference between revisions of "Template:Language-box"

From Akvopedia
Jump to: navigation, search
(Adding class="current")
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: {{{india_link|}}}|
 +
{{!}}  {{#ifeq: {{PAGENAME}}|{{PAGENAME:{{{india_link}}}}}|class="current"|}} {{!}} [[File:India flag.jpg {{!}} x16px{{!}}link={{{india_link}}}{{!}}alt=भारत]]
 
}}
 
}}
 
|}
 
|}

Revision as of 21:41, 23 September 2014