Difference between revisions of "Template:flag/doc"
Jump to navigation
Jump to search
| Line 15: | Line 15: | ||
<pre> | <pre> | ||
{{flag | {{flag | ||
| − | |country-abbrv - one of | + | |country-abbrv - one of country-name, see below |
|width - optional; default = 27. Do not specify "width", merely give a 2nd parameter | |width - optional; default = 27. Do not specify "width", merely give a 2nd parameter | ||
|height - optional; default = 16. Do not specify "height", merely give a 3rd parameter | |height - optional; default = 16. Do not specify "height", merely give a 3rd parameter | ||
| Line 32: | Line 32: | ||
=== All current flags === | === All current flags === | ||
| − | {{flag|Abu-Dhabi}} | + | {{Columns|width=15em|lst=square|rule=1|content= |
| − | {{flag|Argentina}} | + | <li>{{flag|Abu-Dhabi}} Abu-Dhabi</li> |
| − | {{flag|Australia}} | + | <li>{{flag|Argentina}} Argentina</li> |
| − | {{flag|Austria}} | + | <li>{{flag|Australia}} Australia</li> |
| − | {{flag|Bahamas}} | + | <li>{{flag|Austria}} Austria</li> |
| − | {{flag|Belgium}} | + | <li>{{flag|Bahamas}} Belgium</li> |
| − | {{flag|Bermuda}} | + | <li>{{flag|Belgium}} Bahamas</li> |
| − | {{flag|Brazil}} | + | <li>{{flag|Bermuda}} Bermuda</li> |
| − | {{flag|British-Virgin-Islands}} | + | <li>{{flag|Brazil}} Brazil</li> |
| − | {{flag|Canada}} | + | <li>{{flag|British-Virgin-Islands}} British-Virgin-Islands</li> |
| − | {{flag|Cayman-Islands}} | + | <li>{{flag|Canada}} Canada</li> |
| − | {{flag|China}} | + | <li>{{flag|Cayman-Islands}} Cayman-Islands</li> |
| − | {{flag|Congo}} | + | <li>{{flag|China}} China</li> |
| − | {{flag|Czech-Republic}} | + | <li>{{flag|Congo}} Congo</li> |
| − | {{flag|Delaware}} | + | <li>{{flag|Czech-Republic}} Czech-Republic</li> |
| − | {{flag|Egypt}} | + | <li>{{flag|Delaware}} Delaware</li> |
| − | {{flag|France}} | + | <li>{{flag|Egypt}} Egypt</li> |
| − | {{flag|Germany}} | + | <li>{{flag|France}} France</li> |
| − | {{flag|Gibraltar}} | + | <li>{{flag|Germany}} Germany</li> |
| − | {{flag|Hong-Kong}} | + | <li>{{flag|Gibraltar}} Gibraltar</li> |
| − | {{flag|India}} | + | <li>{{flag|Guernsey}} Guernsey</li> |
| − | {{flag|Isle-of-Man}} | + | <li>{{flag|Hong-Kong}} Hong-Kong</li> |
| − | {{flag|Italy}} | + | <li>{{flag|India}} India</li> |
| − | {{flag| | + | <li>{{flag|Isle-of-Man}} Isle-of-Man</li> |
| − | + | <li>{{flag|Italy}} Italy</li> | |
| − | {{flag|Liechtenstein}} | + | <li>{{flag|Jersey}} Jersey</li> |
| − | {{flag|Luxembourg}} | + | <li>Jordan</li> |
| − | {{flag|Malaysia}} | + | <li>Kuwait</li> |
| − | {{flag|Netherlands}} | + | <li>{{flag|Liechtenstein}} Liechenstein</li> |
| − | {{flag|Norway}} | + | <li>{{flag|Luxembourg}} Luxembourg</li> |
| − | {{flag|Peru}} | + | <li>{{flag|Malaysia}} Malaysia</li> |
| − | {{flag|Qatar}} | + | <li>{{flag|Netherlands}} Netherlands</li> |
| − | {{flag|Russia}} | + | <li>{{flag|Norway}} Norway</li> |
| − | {{flag|Scotland}} | + | <li>{{flag|Peru}} Peru</li> |
| − | {{flag|Singapore}} | + | <li>{{flag|Qatar}} Qatar</li> |
| − | {{flag|South-Africa}} | + | <li>{{flag|Russia}} Russia </li> |
| − | {{flag|South-Korea}} | + | <li>{{flag|Scotland}} Scotland </li> |
| − | {{flag|Spain}} | + | <li>{{flag|Singapore}} Singapore </li> |
| − | {{flag|Switzerland}} | + | <li>Saudi-Arabia</li> |
| − | {{flag|Tax-Haven}} | + | <li>{{flag|South-Africa}} South-Africa,</li> |
| − | {{flag|Tax-Haven-v2}} | + | <li>{{flag|South-Korea}} South-Korea</li> |
| − | {{flag|Turkey}} | + | <li>{{flag|Spain}} Spain</li> |
| − | {{flag|UK}} | + | <li>{{flag|Switzerland}} Switzerland</li> |
| − | {{flag|USA}} | + | <li>{{flag|Tax-Haven}} Tax-Haven</li> |
| + | <li>{{flag|Tax-Haven-v2}} Tax-Haven-v2</li> | ||
| + | <li>{{flag|Turkey}} Turkey</li> | ||
| + | <li>{{flag|UK}} UK</li> | ||
| + | <li>{{flag|USA}} USA</li> | ||
| + | }} | ||
<includeonly>[[Category:WikiPolitiks templates]]</includeonly> | <includeonly>[[Category:WikiPolitiks templates]]</includeonly> | ||
Revision as of 15:40, 30 September 2019
Template to generate teensy flags. The default is 27 x 16px, with a left- and right-margin of 5px.
Good usage examples: CK_Hutchison_Holdings_Ltd#UK_Power_Networks_Holdings_Ltd, BGL Group Ltd, Phoenix Equity Partners Ltd
ToDo: Install the SimpleTooltip extension, so flags can have country names on hover.
All images are in /Images/Site-Images/Flags/Flag-*.svg For new flags, use Flag-Template.svg
Usage
{{flag
|country-abbrv - one of country-name, see below
|width - optional; default = 27. Do not specify "width", merely give a 2nd parameter
|height - optional; default = 16. Do not specify "height", merely give a 3rd parameter
|float - optional; default = none. One of [left, right]
}}
Examples
- {{flag|UK}} gives:

- {{flag|UK|32|20}} gives:

- {{flag|UK|32|20|ml=0}} gives:

- {{flag|UK|42|25|float=right}} gives:

- {{flag|UK|50|30|float=right}} gives:

- {{flag|UK|67|40|float=right}} gives:

- {{flag|UK|75|45|float=right}} gives:

All current flags
Abu-Dhabi
Argentina
Australia
Austria
Belgium
Bahamas
Bermuda
Brazil
British-Virgin-Islands
Canada
Cayman-Islands
China
Congo
Czech-Republic
Delaware
Egypt
France
Germany
Gibraltar
Guernsey
Hong-Kong
India
Isle-of-Man
Italy
Jersey- Jordan
- Kuwait
Liechenstein
Luxembourg
Malaysia
Netherlands
Norway
Peru
Qatar
Russia
Scotland
Singapore - Saudi-Arabia
South-Africa,
South-Korea
Spain
Switzerland
Tax-Haven
Tax-Haven-v2
Turkey
UK
USA