Template:Flag/core: Difference between revisions

m
1 revision imported from templatewiki:Template:Flag/core
(update for documentation and for CSS class to disable flag icon display)
m (1 revision imported from templatewiki:Template:Flag/core)
 
(19 intermediate revisions by 7 users not shown)
Line 1:
<span class="flagicon">[[File:{{{flag alias-{{{variant}}}|{{#if:{{{flag alias|}}}|{{{flag alias}}}|Flag placeholder.svg}}}}}|{{#if:{{{size|}}}|{{{size}}}|{{{size flag alias-{{{variant}}}|{{#if:{{{variant|}}}|23x15px|{{{size flag alias|23x15px}}}}}}}}}}|{{{border-{{{variant}}}|{{{border|border}}}}}} |alt=|link=]]&nbsp;{{#switch:{{{flag alias}}}|Flag of Switzerland.svg|Flag of the Vatican City.svg=&nbsp;}}{{#ifeq:{{{alias}}}|Nepal|&nbsp;&nbsp;}}</span>[[{{{alias}}}|{{{name}}}]]<noinclude>{{documentation}}</noinclude>
<span class="flagicon">[[Image:{{
#if: {{{variant|}}} | {{{flag alias-{{{variant}}}}}} | {{{flag alias}}}
}}|{{
#if: {{{size|}}} | {{{size}}} | 22x20px
}}|border|{{{alt attribute|Flag of {{{alias}}}}}}]]&nbsp;</span>[[{{{alias}}}|{{{name}}}]]<noinclude>{{documentation}}</noinclude>