Difference between revisions of "Template:flag/doc"
Jump to navigation
Jump to search
(→Examples) |
|||
| Line 24: | Line 24: | ||
=== Examples === | === Examples === | ||
* <tt><nowiki>{{flag|UK}}</nowiki></tt> gives: {{flag|UK}} | * <tt><nowiki>{{flag|UK}}</nowiki></tt> gives: {{flag|UK}} | ||
| − | * <tt><nowiki>{{flag|UK| | + | * <tt><nowiki>{{flag|UK|32x20}}</nowiki></tt> gives: {{flag|UK|32x20}} |
| − | + | * <tt><nowiki>{{flag|UK|42x25|right}}</nowiki></tt> gives: {{flag|UK|42x25|right}} | |
| − | * <tt><nowiki>{{flag|UK| | + | * <tt><nowiki>{{flag|UK|50x30|right}}</nowiki></tt> gives: {{flag|UK|50x30|right}} |
| − | * <tt><nowiki>{{flag|UK| | + | * <tt><nowiki>{{flag|UK|67x40|right}}</nowiki></tt> gives: {{flag|UK|67x40|right}} |
| − | * <tt><nowiki>{{flag|UK| | + | * <tt><nowiki>{{flag|UK|75x45|right}}</nowiki></tt> gives: {{flag|UK|75x45|right}} |
| − | * <tt><nowiki>{{flag|UK| | ||
=== All current flags === | === All current flags === | ||
Revision as of 16:15, 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|32x20}} gives:

- {{flag|UK|42x25|right}} gives:
- {{flag|UK|50x30|right}} gives:
- {{flag|UK|67x40|right}} gives:
- {{flag|UK|75x45|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