Template:Flag: Difference between revisions

Template page
m (1 revision imported)
 
(One intermediate revision by the same user not shown)
(No difference)

Latest revision as of 19:07, 26 January 2021

Sample Code

{{flag | FLAGCODE | size= | notext= | border=  }}

Required

  • FLAGCODE: This must be included. For possible values, see the table below.

Optional

  • size: Set in px the size of the flag you want. This can be anything as the flags are SVG files.
  • notext: Remove all text that shows up, by default, after the flag.
  • border: Set to Y to add a border.

Table

Flag Table
Code Outputs Example Code
AU AUS {{Flag|AU}}
BE[1] [[Image:Template:Country flag alias|22x20px|Template:Country label alias]] {{Flag|BE}}
CA CAN {{Flag|CA}}
DE[1] DE {{Flag|DE}}
EE[1] [[Image:Template:Country flag alias|22x20px|Template:Country label alias]] {{Flag|EE}}
ES [[Image:Template:Country flag alias|22x20px|Template:Country label alias]] {{Flag|ES}}
FI [[Image:Template:Country flag alias|22x20px|Template:Country label alias]] {{Flag|FI}}
FR FR {{Flag|FR}}
HT [[Image:Template:Country flag alias|22x20px|Template:Country label alias]] {{Flag|HT}}
IL [[Image:Template:Country flag alias|22x20px|Template:Country label alias]] {{Flag|IL}}
IRL [[Image:Template:Country flag alias|22x20px|Template:Country label alias]] {{Flag|IRL}}
IT IT {{Flag|IT}}
JP JP {{Flag|JP}}
MY [[Image:Template:Country flag alias|22x20px|Template:Country label alias]] {{Flag|MY}}
NL [[Image:Template:Country flag alias|22x20px|Template:Country label alias]] {{Flag|NL}}
NO [[Image:Template:Country flag alias|22x20px|Template:Country label alias]] {{Flag|NO}}
NZ [[Image:Template:Country flag alias|22x20px|Template:Country label alias]] {{Flag|NZ}}
PH [[Image:Template:Country flag alias|22x20px|Template:Country label alias]] {{Flag|PH}}
PL PL {{Flag|PL}}
SA [[Image:Template:Country flag alias|22x20px|Template:Country label alias]] {{Flag|SA}}
SE [[Image:Template:Country flag alias|22x20px|Template:Country label alias]] {{Flag|SE}}
SW [[Image:Template:Country flag alias|22x20px|Template:Country label alias]] {{Flag|SW}}
TR [[Image:Template:Country flag alias|22x20px|Template:Country label alias]] {{Flag|TR}}
UK UK {{Flag|UK}}
UN[2] [[Image:Template:Country flag alias|22x20px|Template:Country label alias]] {{Flag|UN}}
US USA {{Flag|US}}
USUK[3] [[Image:Template:Country flag alias|22x20px|Template:Country label alias]] {{Flag|USUK}}
ZH [[Image:Template:Country flag alias|22x20px|Template:Country label alias]] {{Flag|ZH}}

Information

  1. 1.0 1.1 1.2 For the BE, DE, and EE flags, border=Y is assumed. If you don't want a border, use {{country flag|Code}}
  2. This is the flag of the United Nations.
  3. To be used only for showing the English Language.