Template:Flagicon/core: Difference between revisions
From Zoophilia Wiki
Jump to navigationJump to search
meta>Andrwsc remove CSS span for now - breaks some pages |
meta>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: | Line 1: | ||
[[Image:{{ | <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> | ||
}}|{{ | |||
}}|border|{{{alt attribute|Flag of {{{alias}}}}}}]]<noinclude>{{documentation}}</noinclude> |