Template:flag

From WikiCorporates
Revision as of 16:12, 30 September 2019 by GrayanOne (talk | contribs)
Jump to navigation Jump to search

[[File:{{{1}}}.svg|27x16px|]]

[edit] Documentation


<< Template:flag

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 of the United Kingdom (1-2).svg
  • {{flag|UK|32x20}} gives: Flag of the United Kingdom (1-2).svg
  • {{flag|UK|42x25|right}} gives:
    Flag of the United Kingdom (1-2).svg
  • {{flag|UK|50x30|right}} gives:
    Flag of the United Kingdom (1-2).svg
  • {{flag|UK|67x40|right}} gives:
    Flag of the United Kingdom (1-2).svg
  • {{flag|UK|75x45|right}} gives:
    Flag of the United Kingdom (1-2).svg

All Flags

Non-Flags