Open main menu
Changes
Template:Language-box
89 bytes added
,
07:06, 22 September 2014
Making each language optional
{| align="right" width="9%" cellpadding="0" cellspacing="6" class="akvopedia-language-box"
{{#if: {{{english_link|}}}|
| {{#ifeq: {{PAGENAME}}|{{PAGENAME:{{{english_link}}}}}|style="background-color:#eee|}} |[[File:Flag_of_the_United_Kingdom.svg | x16px|link={{{english_link}}}|alt=English]]
}}
{{#if: {{{french_link|}}}
|| align="center" {{#ifeq: {{PAGENAME}}|{{PAGENAME:{{{french_link}}}}}|style="background-color:#eee"|}} | [[File:Flag_of_France.svg |x16px|link={{{french_link}}}|alt=Français]]
}}
{{#if: {{{spanish_link|}}}
|| {{#ifeq: {{PAGENAME}}|{{PAGENAME:{{{spanish_link}}}}}|style="background-color:#eee"|}} | [[File:Flag of Spain.svg | x16px|link={{{spanish_link}}}|alt=Español]]
}}
|}
← Older edit
Newer edit →
Andreas Jonsson
Akvopedia-spade,
bureaucrat
, emailconfirmed, smwadministrator, smwcurator,
administrator
801
edits