Difference between revisions of "Template:flag/doc"
Jump to navigation
Jump to search
m |
m (→Examples) |
||
| Line 25: | Line 25: | ||
* <tt><nowiki>{{flag|UK}}</nowiki></tt> gives: {{flag|UK}} | * <tt><nowiki>{{flag|UK}}</nowiki></tt> gives: {{flag|UK}} | ||
* <tt><nowiki>{{flag|UK|32|20}}</nowiki></tt> gives: {{flag|UK|32|20}} | * <tt><nowiki>{{flag|UK|32|20}}</nowiki></tt> gives: {{flag|UK|32|20}} | ||
| − | * <tt><nowiki>{{flag|UK| | + | * <tt><nowiki>{{flag|UK|42|25|float=right}}</nowiki></tt> gives: {{flag|UK|32|20|float=right}} |
=== All current flags === | === All current flags === | ||
Revision as of 15:57, 13 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, 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 ]
|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