More languages
More actions
mNo edit summary |
|||
(22 intermediate revisions by 5 users not shown) | |||
Line 1: | Line 1: | ||
{{#if:{{{1|}}}|{{#switch:{{{1|}}}|BE|DE|EE={{country_flag|{{{1|}}}|size={{{size | <includeonly>{{#if:{{{1|}}}|{{#switch:{{{1|}}}|BE|DE|EE={{country_flag|{{{1|}}}|size={{{size|}}}|notext={{{notext|}}}|border=Y}} | ||
|{{country_flag|{{{1|}}}|size={{{size | |{{country_flag|{{{1|}}}|size={{{size|}}}|notext={{{notext|}}}|border={{{border|}}}}}}}}}</includeonly><noinclude> | ||
== Sample Code == | == Sample Code == | ||
<pre>{{flag | FLAGCODE | size | <pre>{{flag | FLAGCODE | size= | notext= | border= }}</pre> | ||
== Required == | == Required == | ||
* FLAGCODE: This must be included. For possible values, see the table below. | * FLAGCODE: This must be included. For possible values, see the table below. | ||
== Optional == | == Optional == | ||
* '''size''': Set in px the size of the flag you want. This can be anything as the flags are SVG files. | * '''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. | * '''notext''': Remove all text that shows up, by default, after the flag. | ||
* '''border''': Set to <code>Y</code> to add a | * '''border''': Set to <code>Y</code> to add a border. | ||
== Table == | |||
{| class="messagebox" style="text-align: center" | {| class="messagebox" style="text-align: center" | ||
|+ Flag Table | |+ Flag Table | ||
Line 18: | Line 17: | ||
| AU || {{flag|AU|notext=Y}}|| {{tlp|{{PAGENAME}}|AU}} | | AU || {{flag|AU|notext=Y}}|| {{tlp|{{PAGENAME}}|AU}} | ||
|- | |- | ||
| BE<ref name="autoborder">For the BE and EE flags, border=Y is assumed. If you don't want a border, use {{tlp|country flag| | | BE<ref name="autoborder">For the BE, DE, and EE flags, border=Y is assumed. If you don't want a border, use {{tlp|country flag|''Code''}}</ref> || {{flag|BE|notext=Y}} || {{tlp|{{PAGENAME}}|BE}} | ||
|- | |- | ||
| CA || {{flag|CA|notext=Y}} || {{tlp|{{PAGENAME}}|CA}} | | CA || {{flag|CA|notext=Y}} || {{tlp|{{PAGENAME}}|CA}} | ||
Line 31: | Line 30: | ||
|- | |- | ||
| FR || {{flag|FR|notext=Y}} || {{tlp|{{PAGENAME}}|FR}} | | FR || {{flag|FR|notext=Y}} || {{tlp|{{PAGENAME}}|FR}} | ||
|- | |||
| HT || {{flag|HT|notext=Y}} || {{tlp|{{PAGENAME}}|HT}} | |||
|- | |||
| IL || {{flag|IL|notext=Y}} || {{tlp|{{PAGENAME}}|IL}} | |||
|- | |||
| IRL || {{flag|IRL|notext=Y}} || {{tlp|{{PAGENAME}}|IRL}} | |||
|- | |- | ||
| IT || {{flag|IT|notext=Y}} || {{tlp|{{PAGENAME}}|IT}} | | IT || {{flag|IT|notext=Y}} || {{tlp|{{PAGENAME}}|IT}} | ||
|- | |||
| JP || {{flag|JP|notext=Y}} || {{tlp|{{PAGENAME}}|JP}} | |||
|- | |- | ||
| MY || {{flag|MY|notext=Y}} || {{tlp|{{PAGENAME}}|MY}} | | MY || {{flag|MY|notext=Y}} || {{tlp|{{PAGENAME}}|MY}} | ||
Line 45: | Line 52: | ||
|- | |- | ||
| PL || {{flag|PL|notext=Y}} || {{tlp|{{PAGENAME}}|PL}} | | PL || {{flag|PL|notext=Y}} || {{tlp|{{PAGENAME}}|PL}} | ||
|- | |||
| SA || {{flag|SA|notext=Y}} || {{tlp|{{PAGENAME}}|SA}} | |||
|- | |- | ||
| SE || {{flag|SE|notext=Y}} || {{tlp|{{PAGENAME}}|SE}} | | SE || {{flag|SE|notext=Y}} || {{tlp|{{PAGENAME}}|SE}} | ||
|- | |||
| SW || {{flag|SW|notext=Y}} || {{tlp|{{PAGENAME}}|SW}} | |||
|- | |- | ||
| TR || {{flag|TR|notext=Y}} || {{tlp|{{PAGENAME}}|TR}} | | TR || {{flag|TR|notext=Y}} || {{tlp|{{PAGENAME}}|TR}} | ||
|- | |- | ||
| UK || {{flag|UK|notext=Y}} || {{tlp|{{PAGENAME}}|UK}} | | UK || {{flag|UK|notext=Y}} || {{tlp|{{PAGENAME}}|UK}} | ||
|- | |||
| UN<ref>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}} | ||
Line 63: | Line 76: | ||
[[Category:Flag templates| ]] | [[Category:Flag templates| ]] | ||
[[Category:Special effects templates|{{PAGENAME}}]] | [[Category:Special effects templates|{{PAGENAME}}]] | ||
[[fr:Modèle:Drapeau]] | |||
[[de:Vorlage:Flag]] | |||
</noinclude> | </noinclude> |
Latest revision as of 05:19, 22 November 2009
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
Information
- ↑ 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}}
- ↑ This is the flag of the United Nations.
- ↑ To be used only for showing the English Language.