Template:Flag: Difference between revisions
Template page
More actions
mNo edit summary |
mNo edit summary |
||
| Line 1: | Line 1: | ||
<includeonly>{{#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= | name= | notext= | border= }}</pre> | <pre>{{flag | FLAGCODE | size= | name= | notext= | border= }}</pre> | ||
| Line 7: | Line 7: | ||
== 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 white border. | * '''border''': Set to <code>Y</code> to add a white border. | ||
Revision as of 17:39, 23 May 2007
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.
- notext: Remove all text that shows up, by default, after the flag.
- border: Set to
Yto add a white border.
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|BE}}
- ↑ To be used only for showing the English Language.