Difference between revisions of "Template:flag/doc"
Jump to navigation
Jump to search
m (→Examples) |
m (→Usage) |
||
| Line 15: | Line 15: | ||
<pre> | <pre> | ||
{{flag | {{flag | ||
| − | |country-abbrv - one of [Abu-Dhabi, Australia, Bahamas, Belgium, Bermuda, Brazil, British-Virgin-Islands, Canada, Cayman-Islands, China, Czech-Republic, Delaware, France, Germany, Guernsey, Hong Kong, India, Jersey, Liechenstein, Luxembourg, Malaysia, Netherlands, Norway, Qatar, Russia, Scotland, Singapore, South-Africa, South-Korea, Spain, Switzerland, Tax-Haven, Tax-Haven-v2, Turkey, UK, USA ] | + | |country-abbrv - one of [Abu-Dhabi, Australia, Bahamas, Belgium, Bermuda, Brazil, British-Virgin-Islands, Canada, Cayman-Islands, China, Czech-Republic, Delaware, Egypt, France, Germany, Guernsey, Hong Kong, India, Isle-of-Man, Italy, Jersey, Liechenstein, Luxembourg, Malaysia, Netherlands, Norway, Qatar, Russia, Scotland, Singapore, South-Africa, South-Korea, Spain, Switzerland, Tax-Haven, Tax-Haven-v2, Turkey, UK, USA ] |
|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 | ||
Revision as of 19:06, 15 February 2019
Template to generate teensy flags. The default is 27 x 16px.
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/Flags/Flag-*.svg New flags: use /Images/Flags/Flag-Template.svg.
Usage
{{flag
|country-abbrv - one of [Abu-Dhabi, Australia, Bahamas, Belgium, Bermuda, Brazil, British-Virgin-Islands, Canada, Cayman-Islands, China, Czech-Republic, Delaware, Egypt, France, Germany, Guernsey, Hong Kong, India, Isle-of-Man, Italy, Jersey, Liechenstein, Luxembourg, Malaysia, Netherlands, Norway, Qatar, Russia, Scotland, Singapore, South-Africa, South-Korea, Spain, Switzerland, Tax-Haven, Tax-Haven-v2, Turkey, UK, USA ]
|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 - one of [left, right]. Default = none.
}}
Examples
All current flags