Difference between revisions of "Template:Language-box"
From Akvopedia
m |
(Adding class="current") |
||
Line 1: | Line 1: | ||
{| class="akvopedia-language-box" | {| class="akvopedia-language-box" | ||
{{#if: {{{english_link|}}}| | {{#if: {{{english_link|}}}| | ||
− | {{!}} {{#ifeq: {{PAGENAME}}|{{PAGENAME:{{{english_link}}}}}| | + | {{!}} {{#ifeq: {{PAGENAME}}|{{PAGENAME:{{{english_link}}}}}|class="current"|}} {{!}}[[File:Flag_of_the_United_Kingdom.svg {{!}}x16px{{!}}link={{{english_link}}}{{!}}alt=English]] |
}} | }} | ||
{{#if: {{{french_link|}}}| | {{#if: {{{french_link|}}}| | ||
− | {{!}} align="center" {{#ifeq: {{PAGENAME}}|{{PAGENAME:{{{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|}}}| | {{#if: {{{spanish_link|}}}| | ||
− | {{!}} {{#ifeq: {{PAGENAME}}|{{PAGENAME:{{{spanish_link}}}}}| | + | {{!}} {{#ifeq: {{PAGENAME}}|{{PAGENAME:{{{spanish_link}}}}}|class="current"|}} {{!}} [[File:Flag of Spain.svg {{!}} x16px{{!}}link={{{spanish_link}}}{{!}}alt=Español]] |
}} | }} | ||
|} | |} |