Template:Flag/core: Difference between revisions

Jump to navigation Jump to search
imported>Phil Boswell
(add pipes so default works properly)
imported>PineApple1298
m (1 revision imported)
 
(55 intermediate revisions by 9 users not shown)
Line 1: Line 1:
<!-- country_flag -->[[Image:{{country flag alias {{{1|}}}}}|{{#if:{{{size|}}}|{{{size}}}|22x20px}}|{{country alias {{{1}}}}}]]&nbsp;[[{{country alias {{{1|}}}}}|{{#if:{{{name|}}}|{{{name}}}|{{country label alias {{{1|}}}}}}}]]<noinclude>[[Category:Templates using ParserFunctions|{{PAGENAME}}]]</noinclude>
<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>

Latest revision as of 21:06, 27 January 2021

File:Flag placeholder.svg [[{{{alias}}}|{{{name}}}]]