Difference between revisions of "Template:flag"
Jump to navigation
Jump to search
m |
|||
| (10 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
| − | + | [[File:Flag-{{{1}}}.svg|{{#if:{{{2|}}}|{{{2}}}px|27x16px}}|{{#if:{{{3|}}}|{{{3}}}}}]]<noinclude>{{doc2}}</noinclude> | |
Latest revision as of 16:20, 30 September 2019
[[File:Flag-{{{1}}}.svg|27x16px|]]
[edit] Documentation
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|32x20}} gives:

- {{flag|UK|42x25|right}} gives:
- {{flag|UK|50x30|right}} gives:
- {{flag|UK|67x40|right}} gives:
- {{flag|UK|75x45|right}} gives:
All Flags
Abu-Dhabi
Andorra
Argentina
Australia
Austria
Bahamas
Belgium
Bermuda
Brazil
British-Virgin-Islands
Canada
Cayman-Islands
Chile
China
Communist-Party-China
Congo
Czech-Republic
Delaware
Denmark
Egypt
Estonia
EU
Finland
France
Germany
Gibraltar
Greece
Guernsey
Hong-Kong
India
Ireland
Isle-of-Man
Israel
Italy
Japan
Jersey
Jordan
Kuwait
Liberia
Libya
Liechenstein
Luxembourg
Malaysia
Marshall-Islands
Mauritius
Mexico
Monaco
Netherlands
New-Zealand
Norway
Panama
Peru
Philippines
Qatar
Russia
Scotland
Singapore
Saudi-Arabia
South-Africa,
South-Korea
Spain
Sweden
Switzerland
Turkey
UAE
UK
USA