Difference between revisions of "Template:Flagicon/core"

From Ava Zinn Wiki
Jump to: navigation, search
[unchecked revision][unchecked revision]
(remove CSS span for now - breaks some pages)
(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>
  #if: {{{variant|}}} | {{{flag alias-{{{variant}}}}}} | {{{flag alias}}}
 
}}|{{
 
  #if: {{{size|}}} | {{{size}}} | 22x20px
 
}}|border|{{{alt attribute|Flag of {{{alias}}}}}}]]<noinclude>{{documentation}}</noinclude>
 

Revision as of 13:24, 25 January 2008

[[Image:{{{flag alias}}}|22x20px|border|Flag of {{{alias}}}]]
Documentation icon Template documentation[create]