Jump to content

Template:Country flagicon2: Difference between revisions

From IdeaWazaWiki
wikademia>Andrwsc
span icon image with CSS class; remove whitespace to reduce template size (even a few bytes helps for pages with hundreds of transclusions)
wikademia>Sir Censor
m 54 revisions
 
(3 intermediate revisions by one other user not shown)
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}}}}}}|link={{{alias}}}]]</span><noinclude>{{documentation}}</noinclude>

Latest revision as of 22:29, 1 March 2009

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

[create] Template documentation