Template:Flagicon/core: Difference between revisions

add link parameter to image syntax, so that clicking on the icon takes you to the article and not the image page
en>Andrwsc
(fix for MediaWiki bug when no image border, inside wiki table)
en>Andrwsc
(add link parameter to image syntax, so that clicking on the icon takes you to the article and not the image page)
Line 1:
<span class="flagicon">[[Image:{{{flag alias-{{{variant}}}|{{{flag alias}}}}}}|{{#if:{{{size|}}}|{{{size}}}|22x20px}}|{{{border-{{{variant}}}|{{{border|border}}}}}} |{{{alt attribute|Flag of {{{alias}}}}}}|link={{{alias}}}]]</span><noinclude>{{documentation}}</noinclude>
Anonymous user