Difference between revisions of "Template:Flag/core"
Jump to navigation
Jump to search
imported>SiBr4 (Default to placeholder flag, to avoid breaking if a bot blanks a "flag alias" parameter) |
imported>S.A. Julio m (→top: adjust logic for spacing) |
||
| Line 1: | Line 1: | ||
| − | <span class="flagicon">[[File:{{{flag alias-{{{variant}}}|{{#if:{{{flag alias|}}}|{{{flag alias}}}|Flag placeholder.svg}}}}}|{{#if:{{{size|}}}|{{{size}}}|23x15px}}|{{{border-{{{variant}}}|{{{border|border}}}}}} |alt=|link=]] {{# | + | <span class="flagicon">[[File:{{{flag alias-{{{variant}}}|{{#if:{{{flag alias|}}}|{{{flag alias}}}|Flag placeholder.svg}}}}}|{{#if:{{{size|}}}|{{{size}}}|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 22:42, 22 October 2019
[[{{{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.
| The above documentation is transcluded from Template:Flag/core/doc. (edit | history) Editors can experiment in this template's sandbox (edit | diff) and testcases (edit) pages. Please add categories to the /doc subpage. Subpages of this template. |