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
(fix for MediaWiki bug when no image border, inside wiki table)
(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