Template:Flagicon/core: Difference between revisions

Nothing to hide, but nothing to show you either.
Jump to navigation Jump to search
Content added Content deleted
(span icon image with CSS class; remove whitespace to reduce template size (even a few bytes helps for pages with hundreds of transclusions))
(allow for optional border rendering)
Line 1: Line 1:
<span class="flagicon">[[Image:{{#if:{{{variant|}}}|{{{flag alias-{{{variant}}}}}}|{{{flag alias}}}}}|{{#if:{{{size|}}}|{{{size}}}|22x20px}}|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}}}}}}]]</span><noinclude>{{documentation}}</noinclude>

Revision as of 19:14, 9 April 2008

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