Difference between revisions of "Template:Flag"
Jump to navigation
Jump to search
m (Protected "Template:Flag": essential template ([Edit=Allow only autoconfirmed users] (indefinite) [Move=Allow only autoconfirmed users] (indefinite))) |
m (Added Jamaica(?)) |
||
Line 302: | Line 302: | ||
}} | }} | ||
|j={{#switch:{{lc:{{{1|}}} }} | |j={{#switch:{{lc:{{{1|}}} }} | ||
+ | |jm = [[Image:Jm.png| Jamaica|link=:Category:Jamaica]] | ||
|jp = [[Image:Jp.png| Japan|link=:Category:Japan]] | |jp = [[Image:Jp.png| Japan|link=:Category:Japan]] | ||
+ | |jamaica = [[Image:Jm.png| Jamaica|link=:Category:Jamaica]] | ||
|japan = [[Image:Jp.png| Japan|link=:Category:Japan]] | |japan = [[Image:Jp.png| Japan|link=:Category:Japan]] | ||
|#default = [[Image:placeholderflag.png]] [[Category:Unrecognised Flag]] | |#default = [[Image:placeholderflag.png]] [[Category:Unrecognised Flag]] | ||
Line 381: | Line 383: | ||
*{{flag|ie}} Ireland (ie) | *{{flag|ie}} Ireland (ie) | ||
*{{flag|it}} Italy (it) | *{{flag|it}} Italy (it) | ||
+ | *{{flag|jm}} Jamaica (jm) | ||
*{{flag|jp}} Japan (jp) | *{{flag|jp}} Japan (jp) | ||
*{{flag|kz}} Kazakhstan (kz) | *{{flag|kz}} Kazakhstan (kz) | ||
Line 389: | Line 392: | ||
*{{flag|li}} Liechtenstein (li) | *{{flag|li}} Liechtenstein (li) | ||
*{{flag|lt}} Lithuania (lt) | *{{flag|lt}} Lithuania (lt) | ||
+ | || | ||
*{{flag|lu}} Luxembourg (lu) | *{{flag|lu}} Luxembourg (lu) | ||
− | |||
*{{flag|mo}} Macau (mo) | *{{flag|mo}} Macau (mo) | ||
*{{flag|mk}} Macedonia (mk) | *{{flag|mk}} Macedonia (mk) | ||
Line 415: | Line 418: | ||
*{{flag|ro}} Romania (ro) | *{{flag|ro}} Romania (ro) | ||
*{{flag|ru}} Russia (ru) | *{{flag|ru}} Russia (ru) | ||
+ | || | ||
*{{flag|uksc}} Scotland (sc) | *{{flag|uksc}} Scotland (sc) | ||
− | |||
*{{flag|rs}} Serbia (rs) | *{{flag|rs}} Serbia (rs) | ||
*{{flag|sg}} Singapore (sg) | *{{flag|sg}} Singapore (sg) |
Revision as of 13:14, 22 March 2015
Template for flag icons.
Usage
Just copy the code below to the page you want.
Example
{{flag|uk}}
Will Yeld
You can also use the full names, e.g.:
{{flag|united kingdom}}
=
{{flag|australia}}
=
Country Variables (Usable Abbreviations)
In addition to writing out the full name of each country, you can also use two-letter country codes and in some cases other common abbreviations.
Below are the currently supported countries and abreviations in the flag template:
If the flag name is spelled incorrectly the page gets added to Category:Unrecognised Flag and a placeholder flag is used to keep alignment consistent. This flag can optionally be added intentionally by writing "filler flag" or "ff".