Difference between revisions of "Template:flag"

From WikiCorporates
Jump to navigation Jump to search
m
m
Line 1: Line 1:
−
<span style="float:{{#if:{{{float|}}}|{{{float}}}|none}};"><img src="http://wikipolitiks.local/Images/Flag-{{{1}}}.svg" width="27" height="16"/></span><noinclude>{{doc2}}</noinclude>
+
<span style="float:{{#if:{{{float|}}}|{{{float}}}|none}};"><img src="http://wikipolitiks.local/Images/Flag-{{{1}}}.svg" width="27" height="16" alt="{{{1}}}"/></span><noinclude>{{doc2}}</noinclude>

Revision as of 21:30, 24 October 2018

{{{1}}}

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

All Flags

  • Abu-Dhabi Abu-Dhabi
  • Andorra Andorra
  • Argentina Argentina
  • Australia Australia
  • Austria Austria
  • Bahamas Bahamas
  • Belgium Belgium
  • Bermuda Bermuda
  • Brazil Brazil
  • British-Virgin-Islands British-Virgin-Islands
  • Canada Canada
  • Cayman-Islands Cayman-Islands
  • Chile Chile
  • China China
  • Communist-Party-China Communist-Party-China
  • Congo Congo
  • Czech-Republic Czech-Republic
  • Delaware Delaware
  • Denmark Denmark
  • Egypt Egypt
  • Estonia Estonia
  • EU EU
  • Finland Finland
  • France France
  • Germany Germany
  • Gibraltar Gibraltar
  • Greece Greece
  • Guernsey Guernsey
  • Hong-Kong Hong-Kong
  • India India
  • Ireland Ireland
  • Isle-of-Man Isle-of-Man
  • Israel Israel
  • Italy Italy
  • Japan Japan
  • Jersey Jersey
  • Jordan Jordan
  • Kuwait Kuwait
  • Liberia Liberia
  • Libya Libya
  • Liechtenstein Liechenstein
  • Luxembourg Luxembourg
  • Malaysia Malaysia
  • Marshall-Islands Marshall-Islands
  • Mauritius Mauritius
  • Mexico Mexico
  • Monaco Monaco
  • Netherlands Netherlands
  • New-Zealand New-Zealand
  • Norway Norway
  • Panama Panama
  • Peru Peru
  • Philippines Philippines
  • Qatar Qatar
  • Russia Russia
  • Scotland Scotland
  • Singapore Singapore
  • Saudi-Arabia Saudi-Arabia
  • South-Africa South-Africa,
  • South-Korea South-Korea
  • Spain Spain
  • Sweden Sweden
  • Switzerland Switzerland
  • Turkey Turkey
  • UAE UAE
  • UK UK
  • USA USA

Non-Flags

  • Govt-France Govt-France
  • Govt-Italy Govt-Italy
  • Govt-UK Govt-UK
  • Israel-No No-Israel
  • Tax-Haven Tax-Haven
  • Tax-Haven-v2 Tax-Haven-v2