Difference between revisions of "Template:Flag/core"
Jump to navigation
Jump to search
(Changed the Y max to 19, as 15 was much too small for vertical flags. I accidentally included this change in the previous edit, so I am performing a dummy edit to log this change properly.) |
m (Remove commented code added for sake of dummy edit.) Tag: Manual revert |
||
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|}}}|23x19px|{{{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> | <span class="flagicon">[[File:{{{flag alias-{{{variant}}}|{{#if:{{{flag alias|}}}|{{{flag alias}}}|Flag placeholder.svg}}}}}|{{#if:{{{size|}}}|{{{size}}}|{{{size flag alias-{{{variant}}}|{{#if:{{{variant|}}}|23x19px|{{{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> | ||
Revision as of 04:10, 23 May 2022
[[{{{alias}}}|{{{name}}}]]
This template is used internally by Template:Flag. It is not intended to be transcluded directly. It provides the formatting for placing a small flag next to a country name.
See Wikipedia:WikiProject Flag Template for further information.