Editing Template:Flag
Template page
More actions
The edit can be undone.
Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.
| Latest revision | Your text | ||
| Line 1: | Line 1: | ||
<includeonly>{{#if:{{{1|}}}|{{#switch:{{{1|}}}|BE|DE|EE={{country_flag|{{{1|}}}|size={{{size|}}}|notext={{{notext|}}}|border=Y}} | <includeonly>{{#if:{{{1|}}}|{{#switch:{{{1|}}}|BE|DE|EE={{country_flag|{{{1|}}}|size={{{size|}}}|name={{{name|}}}|notext={{{notext|}}}|border=Y}} | ||
|{{country_flag|{{{1|}}}|size={{{size|}}}|notext={{{notext|}}}|border={{{border|}}}}}}}}}</includeonly><noinclude> | |{{country_flag|{{{1|}}}|size={{{size|}}}|name={{{name|}}}|notext={{{notext|}}}|border={{{border|}}}}}}}}}</includeonly><noinclude> | ||
== Sample Code == | == Sample Code == | ||
<pre>{{flag | FLAGCODE | size= | notext= | border= }}</pre> | <pre>{{flag | FLAGCODE | size= | 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. | ||
* '''name''': What is the name you want to show us? | |||
* '''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. | * '''border''': Set to <code>Y</code> to add a border. | ||