Template:Flagicon/core: Difference between revisions

Jump to navigation Jump to search
imported>Andrwsc
(fix for MediaWiki bug when no image border, inside wiki table)
imported>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: Line 1:
<span class="flagicon">[[Image:{{{flag alias-{{{variant}}}|{{{flag alias}}}}}}|{{#if:{{{size|}}}|{{{size}}}|22x20px}}|{{{border-{{{variant}}}|{{{border|border}}}}}} |{{{alt attribute|Flag of {{{alias}}}}}}]]</span><noinclude>{{documentation}}</noinclude>
<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>

Revision as of 16:49, 5 February 2009

[[Image:{{{flag alias}}}|22x20px|border |Flag of {{{alias}}}|link={{{alias}}}]]