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
Shane (talk | contribs)
m Reverted edits by Catrope (Talk); changed back to last version by Shane
Shane (talk | contribs)
mNo edit summary
Line 1: Line 1:
{{#if:{{{1|}}}|{{#switch:{{{1|}}}|BE|DE|EE={{country_flag|{{{1|}}}|size={{{size|}}}|name={{{name|}}}|notext={{{notext|}}}|border=Y}}
<inlcudeonly>{{#if:{{{1|}}}|{{#switch:{{{1|}}}|BE|DE|EE={{country_flag|{{{1|}}}|size={{{size|}}}|name={{{name|}}}|notext={{{notext|}}}|border=Y}}
|{{country_flag|{{{1|}}}|size={{{size|}}}|name={{{name|}}}|notext={{{notext|}}}|border={{{border|}}}}}}} }}<noinclude>
|{{country_flag|{{{1|}}}|size={{{size|}}}|name={{{name|}}}|notext={{{notext|}}}|border={{{border|}}}}}}}}}</inlcudeonly><noinclude>
== Sample Code ==
== Sample Code ==
<pre>{{flag | FLAGCODE | size= | name= | notext= | border=  }}</pre>
<pre>{{flag | FLAGCODE | size= | name= | notext= | border=  }}</pre>

Revision as of 15:31, 23 May 2007

<inlcudeonly></inlcudeonly>

Sample Code

{{flag | FLAGCODE | size= | name= | 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.
  • name: What is the name you want to show us?
  • 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 <inlcudeonly>AUS</inlcudeonly> {{Flag|AU}}
BE[1] <inlcudeonly>BEL</inlcudeonly> {{Flag|BE}}
CA <inlcudeonly>CAN</inlcudeonly> {{Flag|CA}}
DE[1] <inlcudeonly>DE</inlcudeonly> {{Flag|DE}}
EE[1] <inlcudeonly>EST</inlcudeonly> {{Flag|EE}}
ES <inlcudeonly>ES</inlcudeonly> {{Flag|ES}}
FI <inlcudeonly>FIN</inlcudeonly> {{Flag|FI}}
FR <inlcudeonly>FR</inlcudeonly> {{Flag|FR}}
IT <inlcudeonly>IT</inlcudeonly> {{Flag|IT}}
MY <inlcudeonly>MY</inlcudeonly> {{Flag|MY}}
NL <inlcudeonly>NL</inlcudeonly> {{Flag|NL}}
NO <inlcudeonly>NOR</inlcudeonly> {{Flag|NO}}
NZ <inlcudeonly>NZ</inlcudeonly> {{Flag|NZ}}
PH <inlcudeonly>PH</inlcudeonly> {{Flag|PH}}
PL <inlcudeonly>PL</inlcudeonly> {{Flag|PL}}
SE <inlcudeonly>SWE</inlcudeonly> {{Flag|SE}}
TR <inlcudeonly>TR</inlcudeonly> {{Flag|TR}}
UK <inlcudeonly>UK</inlcudeonly> {{Flag|UK}}
US <inlcudeonly>USA</inlcudeonly> {{Flag|US}}
USUK[2] <inlcudeonly>US/UK</inlcudeonly> {{Flag|USUK}}
ZH <inlcudeonly>ZH</inlcudeonly> {{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. To be used only for showing the English Language.