Template:Flagicon/core: Difference between revisions

Jump to navigation Jump to search
span icon image with CSS class; remove whitespace to reduce template size (even a few bytes helps for pages with hundreds of transclusions)
en>Andrwsc
(remove CSS span for now - breaks some pages)
en>Andrwsc
(span icon image with CSS class; remove whitespace to reduce template size (even a few bytes helps for pages with hundreds of transclusions))
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>
[[Image:{{
#if: {{{variant|}}} | {{{flag alias-{{{variant}}}}}} | {{{flag alias}}}
}}|{{
#if: {{{size|}}} | {{{size}}} | 22x20px
}}|border|{{{alt attribute|Flag of {{{alias}}}}}}]]<noinclude>{{documentation}}</noinclude>
Anonymous user
Cookies help us deliver our services. By using our services, you agree to our use of cookies.

Navigation menu