Difference between revisions of "Template:Flag"
Jump to navigation
Jump to search
m (fixed some bugs with flags) |
m (ironed some other bugs) |
||
Line 23: | Line 23: | ||
|ukni = [[Image:Ni.png| Northern Ireland|link=:Category:Northern Ireland]] | |ukni = [[Image:Ni.png| Northern Ireland|link=:Category:Northern Ireland]] | ||
|uksc = [[Image:Sc.png| Scotland|link=:Category:Scotland]] | |uksc = [[Image:Sc.png| Scotland|link=:Category:Scotland]] | ||
− | |ukwa = [[Image:Wa. | + | |ukwa = [[Image:Wa.png| Wales|link=:Category:Wales]] |
|uz = [[Image:Uz.png| Uzbekistan|link=:Category:Uzbekistan]] | |uz = [[Image:Uz.png| Uzbekistan|link=:Category:Uzbekistan]] | ||
|usuk = [[Image:UsUk.png| EngSpeaking]] | |usuk = [[Image:UsUk.png| EngSpeaking]] | ||
Line 297: | Line 297: | ||
}} | }} | ||
|w={{#switch:{{lc:{{{1|}}} }} | |w={{#switch:{{lc:{{{1|}}} }} | ||
− | |wa = [[Image:Wa. | + | |wa = [[Image:Wa.png| Wales|link=:Category:Wales]] |
− | |wales = [[Image:Wa. | + | |wales = [[Image:Wa.png| Wales|link=:Category:Wales]] |
|#default = [[Image:placeholderflag.png]] [[Category:Unrecognised Flag]] | |#default = [[Image:placeholderflag.png]] [[Category:Unrecognised Flag]] | ||
}} | }} | ||
Line 331: | Line 331: | ||
== Country Variables (Usable Abbreviations) == | == Country Variables (Usable Abbreviations) == | ||
− | In addition to writing out the full name of each country, you can also use [http: | + | In addition to writing out the full name of each country, you can also use [http://en.wikipedia.org/wiki/ISO_3166-1#Current_codes two-letter country codes] and in some cases other common abbreviations. |
+ | |||
+ | Below are the currently supported countries and abreviations in the flag template: | ||
{| | {| | ||
|- | |- | ||
Line 402: | Line 404: | ||
*{{flag|ni}} Nicaragua (ni) | *{{flag|ni}} Nicaragua (ni) | ||
*{{flag|ng}} Nigeria (ng) | *{{flag|ng}} Nigeria (ng) | ||
− | |||
*{{flag|no}} Norway (no) | *{{flag|no}} Norway (no) | ||
*{{flag|pa}} Panama (pa) | *{{flag|pa}} Panama (pa) | ||
Line 414: | Line 415: | ||
*{{flag|ro}} Romania (ro) | *{{flag|ro}} Romania (ro) | ||
*{{flag|ru}} Russia (ru) | *{{flag|ru}} Russia (ru) | ||
− | *{{flag|uksc}} Scotland ( | + | *{{flag|uksc}} Scotland (sc) |
|| | || | ||
*{{flag|rs}} Serbia (rs) | *{{flag|rs}} Serbia (rs) | ||
Line 438: | Line 439: | ||
*{{flag|ve}} Venezuela (ve) | *{{flag|ve}} Venezuela (ve) | ||
*{{flag|vn}} Vietnam (vn) | *{{flag|vn}} Vietnam (vn) | ||
− | *{{flag|ukwa}} Wales ( | + | *{{flag|ukwa}} Wales (wa) |
*{{flag|zw}} Zimbabwe (zw) | *{{flag|zw}} Zimbabwe (zw) | ||
|} | |} |
Revision as of 15:43, 28 January 2014
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".