Difference between revisions of "Template:flag/doc"
Jump to navigation
Jump to search
m (→All current images) |
m |
||
| Line 6: | Line 6: | ||
<pre> | <pre> | ||
| − | |||
All images are in /Images/Flags/Flag-*.svg | All images are in /Images/Flags/Flag-*.svg | ||
| − | + | New flags: use /Images/Flags/Flag-Template.svg. | |
</pre> | </pre> | ||
| Line 15: | Line 14: | ||
{{flag | {{flag | ||
|country-abbrv - one of [Australia, Bermuda, British-Virgin-Islands, Canada, Cayman-Islands, China, Czech-Republic, Delaware, France, Guernsey, Hong Kong, Jersey, Liechenstein, Luxembourg, Netherlands, Norway, Qatar, Scotland, South-Africa, Spain, Switzerland, Tax-Haven, Turkey, UK, USA ] | |country-abbrv - one of [Australia, Bermuda, British-Virgin-Islands, Canada, Cayman-Islands, China, Czech-Republic, Delaware, France, Guernsey, Hong Kong, Jersey, Liechenstein, Luxembourg, Netherlands, Norway, Qatar, Scotland, South-Africa, Spain, Switzerland, Tax-Haven, 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. | |float - one of [left, right]. Default = none. | ||
}} | }} | ||
</pre> | </pre> | ||
| − | === | + | === Examples === |
| − | < | + | * <tt><nowiki>{{flag|UK}}</nowiki></tt> gives: {{flag|UK}} |
| − | + | * <tt><nowiki>{{flag|UK|32|20}}</nowiki></tt> gives: {{flag|UK|32|20}} | |
| − | {{flag|UK}} | + | * * <tt><nowiki>{{flag|UK|32|20|float=right}}</nowiki></tt> gives: {{flag|UK|32|20|float=right}} |
| − | {{ | + | |
=== All current images === | === All current images === | ||
Revision as of 13:56, 30 December 2018
Template to generate teensy flags. The default is 27 x 16px.
Good usage examples: BGL Group Ltd, Phoenix Equity Partners Ltd
All images are in /Images/Flags/Flag-*.svg New flags: use /Images/Flags/Flag-Template.svg.
Usage
{{flag
|country-abbrv - one of [Australia, Bermuda, British-Virgin-Islands, Canada, Cayman-Islands, China, Czech-Republic, Delaware, France, Guernsey, Hong Kong, Jersey, Liechenstein, Luxembourg, Netherlands, Norway, Qatar, Scotland, South-Africa, Spain, Switzerland, Tax-Haven, 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 images