Template:Flaglink/core: Difference between revisions

From Zoophilia Wiki
Jump to navigationJump to search
meta>Andrwsc
accessibility fix
meta>Andrwsc
both alt= and link= needed for decorative images
Line 1: Line 1:
<span class="flagicon">[[Image:{{#if:{{{variant|}}}|{{{flag alias-{{{variant}}}}}}|{{{flag alias-{{{altvar}}}|{{{flag alias}}}}}}}}|{{#if:{{{size|}}}|{{{size}}}|22x20px}}|{{{border-{{{variant}}}|{{{border|border}}}}}} |link=]]&nbsp;</span>[[{{{link alias-{{{altvar}}}|{{{shortname alias|{{{alias}}}}}} {{{altlink}}}}}}|{{#if:{{{name|}}}|{{{name}}}|{{{name alias-{{{altvar}}}|{{{shortname alias|{{{alias}}}}}}}}}}}]]<noinclude>{{documentation}}</noinclude>
<span class="flagicon">[[File:{{#if:{{{variant|}}}|{{{flag alias-{{{variant}}}}}}|{{{flag alias-{{{altvar}}}|{{{flag alias}}}}}}}}|{{#if:{{{size|}}}|{{{size}}}|22x20px}}|{{{border-{{{variant}}}|{{{border|border}}}}}} |alt=|link=]]&nbsp;</span>[[{{{link alias-{{{altvar}}}|{{{shortname alias|{{{alias}}}}}} {{{altlink}}}}}}|{{#if:{{{name|}}}|{{{name}}}|{{{name alias-{{{altvar}}}|{{{shortname alias|{{{alias}}}}}}}}}}}]]<noinclude>{{documentation}}</noinclude>

Revision as of 19:33, 21 September 2009

[[File:{{{flag alias}}}|22x20px|border |alt=|link=]] [[{{{alias}}} {{{altlink}}}|{{{alias}}}]]