Template:Flag/core: Difference between revisions
Jump to navigation
Jump to search
Content added Content deleted
(new test: find pages that previously had to use name=hack to get desired country code (e.g. {{flag|GER|name=GER}})) |
m (1 revision imported from templatewiki:Template:Flag/core) |
||
(35 intermediate revisions by 11 users not shown) | |||
Line 1: | 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=]] {{#switch:{{{flag alias}}}|Flag of Switzerland.svg|Flag of the Vatican City.svg= }}{{#ifeq:{{{alias}}}|Nepal| }}</span>[[{{{alias}}}|{{{name}}}]]<noinclude>{{documentation}}</noinclude> |
|||
[[Image:{{ |
|||
#if: {{{variant|}}} | {{{flag alias-{{{variant}}}}}} | {{{flag alias}}} |
|||
}}|{{ |
|||
#if: {{{size|}}} | {{{size}}} | 22x20px |
|||
}}|Flag of {{{alias}}}]] [[{{{alias}}}|{{ |
|||
#if: {{{name|}}} | {{{name}}} | {{{countryname|Earth}}} |
|||
}}]]{{<!--temporary--> |
|||
#ifeq: {{{name}}} | {{{countryname}}} | [[Category:Articles that use Flag with unnecessary name parameter]] }}<noinclude>{{/doc}}</noinclude> |