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)
mNo edit summary
Shane (talk | contribs)
No edit summary
Line 1: Line 1:
{{ #ifeq: {{{1| }}} | | {{void}} | {{country_flag|{{{1|}}}|size={{{size|}}}|name={{{name|}}}|notext={{{notext|}}}|border={{{border|}}}}} }}<noinclude>
{{ #ifeq: {{{1| }}} | | {{void}} | {{country_flag|{{{1|}}}|size={{{size|}}}|name={{{name|}}}|notext={{{notext|}}}|border={{{border|}}}}} }}<noinclude>
<pre>
== Sample Code ==
{{flag
<pre>{{flag | FLAGCODE | size= | name= | notext= | border= }}</pre>
| FLAGCODE
== Required ==
| size=
* FLAGCODE: This must be included.
| name=
== Optional ==
| notext=
* '''size''': Set in px the size of the flag you want. This can be anything as the flags are SVG files.
| border=  
* '''name''': What is the name you want to show us?
}}
* '''notext''': Remove all text that shows up, by default, after the flag.
</pre>
* '''border''': Set to <code>Y</code> to add a white border.
 
 
{| class="messagebox" style="text-align: center"
{| class="messagebox" style="text-align: center"
|+ Flag Table
|+ Flag Table

Revision as of 15:16, 23 May 2007

Sample Code

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

Required

  • FLAGCODE: This must be included.

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 AUS {{Flag|AU}}
BE BEL {{Flag|BE}}
CA CAN {{Flag|CA}}
DE DE {{Flag|DE}}
EE EST {{Flag|EE}}
ES ES {{Flag|ES}}
FI FIN {{Flag|FI}}
FR FR {{Flag|FR}}
IT IT {{Flag|IT}}
MY MY {{Flag|MY}}
NL NL {{Flag|NL}}
NO NOR {{Flag|NO}}
NZ NZ {{Flag|NZ}}
PH PH {{Flag|PH}}
PL PL {{Flag|PL}}
SE SWE {{Flag|SE}}
TR TR {{Flag|TR}}
UK UK {{Flag|UK}}
US USA {{Flag|US}}
USUK[1] US/UK {{Flag|USUK}}
ZH ZH {{Flag|ZH}}

Information

  1. To be used only for showing the English Language.