Toggle menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:Flag: Difference between revisions

Template page
Catrope (talk | contribs)
Adding SA flag
Shane (talk | contribs)
No edit summary
Line 54: Line 54:
|-
|-
| UK || {{flag|UK|notext=Y}} || {{tlp|{{PAGENAME}}|UK}}
| UK || {{flag|UK|notext=Y}} || {{tlp|{{PAGENAME}}|UK}}
|-
| UN<ref>Default flag if no parameter is passed in the template. This is the flag of the [[w:United Nations|United Nations]].</ref> || {{flag|UN|notext=Y}} || {{tlp|{{PAGENAME}}|UN}}
|-
|-
| US || {{flag|US|notext=Y}} || {{tlp|{{PAGENAME}}|US}}
| US || {{flag|US|notext=Y}} || {{tlp|{{PAGENAME}}|US}}

Revision as of 07:46, 27 September 2007

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 white border.


Flag Table
Code Outputs Example Code
AU AUS {{Flag|AU}}
BE[1] BEL {{Flag|BE}}
CA CAN {{Flag|CA}}
DE[1] DE {{Flag|DE}}
EE[1] EST {{Flag|EE}}
ES ES {{Flag|ES}}
FI FIN {{Flag|FI}}
FR FR {{Flag|FR}}
IT IT {{Flag|IT}}
JP JP {{Flag|JP}}
MY MY {{Flag|MY}}
NL NL {{Flag|NL}}
NO NOR {{Flag|NO}}
NZ NZ {{Flag|NZ}}
PH PH {{Flag|PH}}
PL PL {{Flag|PL}}
SA SA {{Flag|SA}}
SE SWE {{Flag|SE}}
TR TR {{Flag|TR}}
UK UK {{Flag|UK}}
UN[2] UN {{Flag|UN}}
US USA {{Flag|US}}
USUK[3] US/UK {{Flag|USUK}}
ZH ZH {{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|BE}}
  2. Default flag if no parameter is passed in the template. This is the flag of the United Nations.
  3. To be used only for showing the English Language.