Template:Userbox country: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
mNo edit summary |
||
(4 intermediate revisions by one other user not shown) | |||
Line 42: | Line 42: | ||
| IRQ = [[File:Iraq.png]] | | IRQ = [[File:Iraq.png]] | ||
| IRL = [[File:Ireland.png]] | | IRL = [[File:Ireland.png]] | ||
| NIR = [[File:Ireland.png]] | |||
| ITA = [[File:Italy.png]] | | ITA = [[File:Italy.png]] | ||
| ISR = [[File:Israel.png]] | | ISR = [[File:Israel.png]] | ||
Line 60: | Line 61: | ||
| MON = [[File:Montenegro.png]] | | MON = [[File:Montenegro.png]] | ||
| NLD = [[File:Netherlands.png]] | | NLD = [[File:Netherlands.png]] | ||
| NZL = [[File: | | NZL = [[File:New_Zealand.png]] | ||
| PRK = [[File:North_Korea.png]] | | PRK = [[File:North_Korea.png]] | ||
| NOR = [[File:Norway.png]] | | NOR = [[File:Norway.png]] | ||
Line 70: | Line 71: | ||
| POR = [[File:Portugal.png]] | | POR = [[File:Portugal.png]] | ||
| PHL = [[File:Philippines.png]] | | PHL = [[File:Philippines.png]] | ||
| ROM = [[File:Romania.png]] | | ROM = [[File:Romania.png]] | ||
| RUS = [[File:Russia.png]] | | RUS = [[File:Russia.png]] | ||
| SER = [[File:Serbia.png]] | | SER = [[File:Serbia.png]] | ||
| SIN = [[File:Singapore.png]] | | SIN = [[File:Singapore.png]] | ||
| SAF = [[File: | | SAF = [[File:South_Africa.png]] | ||
| SPA = [[File:Spain.png]] | | SPA = [[File:Spain.png]] | ||
| SRI = [[File: | | SRI = [[File:Sri_Lanka.png]] | ||
| KOR = [[File:South_Korea.png]] | | KOR = [[File:South_Korea.png]] | ||
| SWE = [[File:Sweden.png]] | | SWE = [[File:Sweden.png]] | ||
Line 88: | Line 88: | ||
| URY = [[File:Uruguay.png]] | | URY = [[File:Uruguay.png]] | ||
| UZB = [[File:Uzbekistan.png]] | | UZB = [[File:Uzbekistan.png]] | ||
| VAC = [[File: | | VAC = [[File:Vatican_City.png]] | ||
| ZIM = [[File:Zimbabwe.png]] | | ZIM = [[File:Zimbabwe.png]] | ||
| #default = [[File:Placeholder.png]] | | #default = [[File:Placeholder.png]] | ||
}} | }} | ||
| id-c = {{ #if: {{{2|}}} | {{{2}}} | {{#switch: {{uc:{{{1}}}}} | | id-c = {{ #if: {{{2|}}} | {{{2}}} | {{#switch: {{uc:{{{1}}}}} | ||
| AFG = # | | AFG = #EEEEEE | ||
| ALA = # | | ALA = #EEEEEE | ||
| ALB = # | | ALB = #EEEEEE | ||
| ARG = #EEEEEE | | ARG = #EEEEEE | ||
| ARM = # | | ARM = #EEEEEE | ||
| AUS = | | AUS = #EEEEEE | ||
| AUT = | | AUT = #EEEEEE | ||
| AZE = #EEEEEE | | AZE = #EEEEEE | ||
| BHS = | | BHS = #EEEEEE | ||
| BAR = #EEEEEE | | BAR = #EEEEEE | ||
| BLR = #EEEEEE | | BLR = #EEEEEE | ||
| BEL = | | BEL = #EEEEEE | ||
| BHG = #EEEEEE | | BHG = #EEEEEE | ||
| BRA = # | | BRA = #EEEEEE | ||
| BGR = #EEEEEE | | BGR = #EEEEEE | ||
| CAM = #EEEEEE | | CAM = #EEEEEE | ||
| CAN = #EEEEEE | | CAN = #EEEEEE | ||
| CHL = #EEEEEE | | CHL = #EEEEEE | ||
| CHN = # | | CHN = #EEEEEE | ||
| COL = # | | COL = #EEEEEE | ||
| CRI = #EEEEEE | | CRI = #EEEEEE | ||
| CRO = #EEEEEE | | CRO = #EEEEEE | ||
Line 120: | Line 119: | ||
| DNK = #EEEEEE | | DNK = #EEEEEE | ||
| DOM = #EEEEEE | | DOM = #EEEEEE | ||
| ECU = # | | ECU = #EEEEEE | ||
| EGY = #EEEEEE | | EGY = #EEEEEE | ||
| EST = #EEEEEE | | EST = #EEEEEE | ||
| FIN = #EEEEEE | | FIN = #EEEEEE | ||
| FRA = #EEEEEE | | FRA = #EEEEEE | ||
| DEU = # | | DEU = #EEEEEE | ||
| GRG = #EEEEEE | | GRG = #EEEEEE | ||
| GRC = # | | GRC = #EEEEEE | ||
| HUN = #EEEEEE | | HUN = #EEEEEE | ||
| ICL = #EEEEEE | | ICL = #EEEEEE | ||
Line 135: | Line 134: | ||
| IRQ = #EEEEEE | | IRQ = #EEEEEE | ||
| IRL = #EEEEEE | | IRL = #EEEEEE | ||
| NIR = #EEEEEE | |||
| ITA = #EEEEEE | | ITA = #EEEEEE | ||
| ISR = #EEEEEE | | ISR = #EEEEEE | ||
Line 143: | Line 143: | ||
| KSV = #EEEEEE | | KSV = #EEEEEE | ||
| LTV = #EEEEEE | | LTV = #EEEEEE | ||
| LTU = # | | LTU = #EEEEEE | ||
| LUX = #EEEEEE | | LUX = #EEEEEE | ||
| MAC = #EEEEEE | | MAC = #EEEEEE | ||
Line 163: | Line 163: | ||
| POR = #EEEEEE | | POR = #EEEEEE | ||
| PHL = #BF0000 | | PHL = #BF0000 | ||
| ROM = #EEEEEE | | ROM = #EEEEEE | ||
| RUS = #EEEEEE | | RUS = #EEEEEE | ||
Line 172: | Line 171: | ||
| SRI = #EEEEEE | | SRI = #EEEEEE | ||
| KOR = #EEEEEE | | KOR = #EEEEEE | ||
| SWE = # | | SWE = #EEEEEE | ||
| CHE = #EEEEEE | | CHE = #EEEEEE | ||
| TAI = #EEEEEE | | TAI = #EEEEEE | ||
Line 178: | Line 177: | ||
| UKR = #EEEEEE | | UKR = #EEEEEE | ||
| GBR = #EEEEEE | | GBR = #EEEEEE | ||
| USA = # | | USA = #EEEEEE | ||
| URY = #EEEEEE | | URY = #EEEEEE | ||
| UZB = #EEEEEE | | UZB = #EEEEEE | ||
| VAC = #EEEEEE | | VAC = #EEEEEE | ||
| ZIM = #EEEEEE | | ZIM = #EEEEEE | ||
| #default = #FFFFFF | | #default = #FFFFFF | ||
Line 230: | Line 228: | ||
| IRQ = Iraq | | IRQ = Iraq | ||
| IRL = Ireland | | IRL = Ireland | ||
| NIR = Northern Ireland | |||
| ITA = Italy | | ITA = Italy | ||
| ISR = Israel | | ISR = Israel | ||
Line 258: | Line 257: | ||
| POR = Portugal | | POR = Portugal | ||
| PHL = The Philippines | | PHL = The Philippines | ||
| ROM = Romania | | ROM = Romania | ||
| RUS = Russia | | RUS = Russia | ||
Line 277: | Line 275: | ||
| UZB = Uzbekistan | | UZB = Uzbekistan | ||
| VAC = Vatican City | | VAC = Vatican City | ||
| ZIM = Zimbabwe | | ZIM = Zimbabwe | ||
| #default = {{{1}}} | | #default = {{{1}}} | ||
Line 284: | Line 281: | ||
}}'''. | }}'''. | ||
| info-c = {{ #if: {{{2|}}} | {{{2}}} | {{#switch: {{uc:{{{1}}}}} | | info-c = {{ #if: {{{2|}}} | {{{2}}} | {{#switch: {{uc:{{{1}}}}} | ||
| AFG = # | | AFG = #EEEEEE | ||
| ALA = # | | ALA = #EEEEEE | ||
| ALB = # | | ALB = #EEEEEE | ||
| ARG = #EEEEEE | | ARG = #EEEEEE | ||
| ARM = # | | ARM = #EEEEEE | ||
| AUS = | | AUS = #EEEEEE | ||
| AUT = | | AUT = #EEEEEE | ||
| AZE = #EEEEEE | | AZE = #EEEEEE | ||
| BHS = | | BHS = #EEEEEE | ||
| BAR = #EEEEEE | | BAR = #EEEEEE | ||
| BLR = #EEEEEE | | BLR = #EEEEEE | ||
| BEL = | | BEL = #EEEEEE | ||
| BHG = #EEEEEE | | BHG = #EEEEEE | ||
| BRA = # | | BRA = #EEEEEE | ||
| BGR = #EEEEEE | | BGR = #EEEEEE | ||
| CAM = #EEEEEE | | CAM = #EEEEEE | ||
| CAN = #EEEEEE | | CAN = #EEEEEE | ||
| CHL = #EEEEEE | | CHL = #EEEEEE | ||
| CHN = # | | CHN = #EEEEEE | ||
| COL = # | | COL = #EEEEEE | ||
| CRI = #EEEEEE | | CRI = #EEEEEE | ||
| CRO = #EEEEEE | | CRO = #EEEEEE | ||
Line 310: | Line 307: | ||
| DNK = #EEEEEE | | DNK = #EEEEEE | ||
| DOM = #EEEEEE | | DOM = #EEEEEE | ||
| ECU = # | | ECU = #EEEEEE | ||
| EGY = #EEEEEE | | EGY = #EEEEEE | ||
| EST = #EEEEEE | | EST = #EEEEEE | ||
| FIN = #EEEEEE | | FIN = #EEEEEE | ||
| FRA = #EEEEEE | | FRA = #EEEEEE | ||
| DEU = # | | DEU = #EEEEEE | ||
| GRG = #EEEEEE | | GRG = #EEEEEE | ||
| GRC = # | | GRC = #EEEEEE | ||
| HUN = #EEEEEE | | HUN = #EEEEEE | ||
| ICL = #EEEEEE | | ICL = #EEEEEE | ||
Line 325: | Line 322: | ||
| IRQ = #EEEEEE | | IRQ = #EEEEEE | ||
| IRL = #EEEEEE | | IRL = #EEEEEE | ||
| NIR = #EEEEEE | |||
| ITA = #EEEEEE | | ITA = #EEEEEE | ||
| ISR = #EEEEEE | | ISR = #EEEEEE | ||
Line 333: | Line 331: | ||
| KSV = #EEEEEE | | KSV = #EEEEEE | ||
| LTV = #EEEEEE | | LTV = #EEEEEE | ||
| LTU = # | | LTU = #EEEEEE | ||
| LUX = #EEEEEE | | LUX = #EEEEEE | ||
| MAC = #EEEEEE | | MAC = #EEEEEE | ||
Line 352: | Line 350: | ||
| POL = #EEEEEE | | POL = #EEEEEE | ||
| POR = #EEEEEE | | POR = #EEEEEE | ||
| PHL | | PHL = #EEEEEE | ||
| ROM = #EEEEEE | | ROM = #EEEEEE | ||
| RUS = #EEEEEE | | RUS = #EEEEEE | ||
Line 362: | Line 359: | ||
| SRI = #EEEEEE | | SRI = #EEEEEE | ||
| KOR = #EEEEEE | | KOR = #EEEEEE | ||
| SWE = # | | SWE = #EEEEEE | ||
| CHE = #EEEEEE | | CHE = #EEEEEE | ||
| TAI = #EEEEEE | | TAI = #EEEEEE | ||
Line 368: | Line 365: | ||
| UKR = #EEEEEE | | UKR = #EEEEEE | ||
| GBR = #EEEEEE | | GBR = #EEEEEE | ||
| USA = # | | USA = #EEEEEE | ||
| URY = #EEEEEE | | URY = #EEEEEE | ||
| UZB = #EEEEEE | | UZB = #EEEEEE | ||
| VAC = #EEEEEE | | VAC = #EEEEEE | ||
| ZIM = #EEEEEE | | ZIM = #EEEEEE | ||
| #default = #FFFFFF | | #default = #FFFFFF | ||
Line 378: | Line 374: | ||
}} | }} | ||
| border-c = {{ #if: {{{3|}}} | {{{3}}} | {{#switch: {{uc:{{{1}}}}} | | border-c = {{ #if: {{{3|}}} | {{{3}}} | {{#switch: {{uc:{{{1}}}}} | ||
| AFG = # | | AFG = #87ceeb | ||
| ALA = # | | ALA = #87ceeb | ||
| ALB = # | | ALB = #87ceeb | ||
| ARG = #87ceeb | | ARG = #87ceeb | ||
| ARM = | | ARM = #87ceeb | ||
| AUS = | | AUS = #87ceeb | ||
| AUT = | | AUT = #87ceeb | ||
| AZE = #87ceeb | | AZE = #87ceeb | ||
| BHS = | | BHS = #87ceeb | ||
| BAR = #87ceeb | | BAR = #87ceeb | ||
| BLR = #87ceeb | | BLR = #87ceeb | ||
| BEL = | | BEL = #87ceeb | ||
| BHG = #87ceeb | | BHG = #87ceeb | ||
| BRA = # | | BRA = #87ceeb | ||
| BGR = # | | BGR = #87ceeb | ||
| CAM = #87ceeb | | CAM = #87ceeb | ||
| CAN = | | CAN = #87ceeb | ||
| CHL = | | CHL = #87ceeb | ||
| CHN = # | | CHN = #87ceeb | ||
| COL = | | COL = #87ceeb | ||
| CRI = | | CRI = #87ceeb | ||
| CRO = #87ceeb | | CRO = #87ceeb | ||
| CUB = | | CUB = #87ceeb | ||
| CZE = | | CZE = #87ceeb | ||
| DNK = #87ceeb | | DNK = #87ceeb | ||
| DOM = | | DOM = #87ceeb | ||
| ECU = # | | ECU = #87ceeb | ||
| EGY = # | | EGY = #87ceeb | ||
| EST = #87ceeb | | EST = #87ceeb | ||
| FIN = # | | FIN = #87ceeb | ||
| FRA = | | FRA = #87ceeb | ||
| DEU = | | DEU = #87ceeb | ||
| GRG = #87ceeb | | GRG = #87ceeb | ||
| GRC = # | | GRC = #87ceeb | ||
| HUN = #87ceeb | | HUN = #87ceeb | ||
| ICL = #87ceeb | | ICL = #87ceeb | ||
| IND = #87ceeb | | IND = #87ceeb | ||
| IDN = # | | IDN = #87ceeb | ||
| IRE = #87ceeb | |||
| NIR = #87ceeb | |||
| IRN = #87ceeb | | IRN = #87ceeb | ||
| IRQ = #87ceeb | | IRQ = #87ceeb | ||
| IRL = | | IRL = #87ceeb | ||
| ITA = # | | ITA = #87ceeb | ||
| ISR = #87ceeb | | ISR = #87ceeb | ||
| JAM = #87ceeb | | JAM = #87ceeb | ||
| JPN = # | | JPN = #87ceeb | ||
| KZK = #87ceeb | | KZK = #87ceeb | ||
| KNY = #87ceeb | | KNY = #87ceeb | ||
| KSV = #87ceeb | | KSV = #87ceeb | ||
| LTV = #87ceeb | | LTV = #87ceeb | ||
| LTU = # | | LTU = #87ceeb | ||
| LUX = #87ceeb | | LUX = #87ceeb | ||
| MAC = #87ceeb | | MAC = #87ceeb | ||
| MLY = #87ceeb | | MLY = #87ceeb | ||
| MLT = #87ceeb | | MLT = #87ceeb | ||
| MEX = # | | MEX = #87ceeb | ||
| MOL = #87ceeb | | MOL = #87ceeb | ||
| MOR = #87ceeb | | MOR = #87ceeb | ||
| MON = #87ceeb | | MON = #87ceeb | ||
| NLD = | | NLD = #87ceeb | ||
| NZL = #87ceeb | | NZL = #87ceeb | ||
| PRK = | | PRK = #87ceeb | ||
| NOR = | | NOR = #87ceeb | ||
| PAK = #87ceeb | | PAK = #87ceeb | ||
| PAN = # | | PAN = #87ceeb | ||
| PRY = | | PRY = #87ceeb | ||
| PER = | | PER = #87ceeb | ||
| POL = # | | POL = #87ceeb | ||
| POR = #87ceeb | | POR = #87ceeb | ||
| PHL | | PHL = #87ceeb | ||
| ROM = #87ceeb | | ROM = #87ceeb | ||
| RUS = #87ceeb | | RUS = #87ceeb | ||
Line 455: | Line 452: | ||
| SPA = #87ceeb | | SPA = #87ceeb | ||
| SRI = #87ceeb | | SRI = #87ceeb | ||
| KOR = # | | KOR = #87ceeb | ||
| SWE = # | | SWE = #87ceeb | ||
| CHE = | | CHE = #87ceeb | ||
| TAI = #87ceeb | | TAI = #87ceeb | ||
| TUR = # | | TUR = #87ceeb | ||
| UKR = #87ceeb | | UKR = #87ceeb | ||
| GBR = #87ceeb | | GBR = #87ceeb | ||
| USA = | | USA = #87ceeb | ||
| URY = | | URY = #87ceeb | ||
| UZB = #87ceeb | | UZB = #87ceeb | ||
| VAC = #87ceeb | | VAC = #87ceeb | ||
| ZIM = #87ceeb | | ZIM = #87ceeb | ||
| #default = #000000 | | #default = #000000 | ||
Line 472: | Line 468: | ||
}} | }} | ||
}} | }} | ||
<noinclude> | <noinclude>[[Category:Userboxes]] | ||
{{Clear}} | {{Clear}} | ||
{{Documentation}} | {{Documentation}} | ||
</noinclude> | </noinclude> |
Latest revision as of 18:03, 20 November 2013
[edit] Template documentation
This userbox uses the ISO 3166-1 alpha-3 codes. Below is a table of all the countries implemented.
Notes[edit source]
- Not case-sensitive.
- Not all countries are implemented. If you would like your country implemented and do not know how to add: post on the discussion page what country that is. If you do know how, these are the already available flags, if your flag is not listed, you need to upload it first.
- You can input your own custom colors, so if you don't like the colors that are implemented, define them when inserting the userbox like this:
{{Userbox country|<COUNTRY>|<BACKGROUND>|<BORDER>}}
Usage[edit source]
Prefix | Meaning | Output |
---|---|---|
AFG | Afghanistan | |
ALA | Åland Islands | |
ALB | Albania | |
ARG | Argentina | |
ARM | Armania | |
AUS | Australia | |
AUT | Austria | |
AZE | Azerbaijan | |
BHS | Bahamas | |
BAR | Barbados | |
BLR | Belarus | |
BEL | Belgium | |
BHG | Bosnia-Herzegovina | |
BRA | Brazil | |
BGR | Bulgaria | |
CAM | Cambodia | |
CAN | Canada | |
CHL | Chile | |
CHN | China | |
COL | Colombia | |
CRI | Costa Rica | |
CRO | Croatia | |
CUB | Cuba | |
CZE | Czech Republic | |
DNK | Denmark | |
DOM | Dominican Republic | |
ECU | Ecuador | |
EGY | Egypt | |
EST | Estonia | |
FIN | Finland | |
FRA | France | |
DEU | Germany | |
GRG | Georgia | |
GRC | Greece | |
HUN | Hungary | |
ICL | Iceland | |
IND | India | |
IDN | Indonesia | |
IRN | Iran | |
IRQ | Iraq | |
IRL | Ireland | |
NIR | Northern Ireland | |
ITA | Italy | |
ISR | Israel | |
JAM | Jamaica | |
JPN | Japan | |
KZK | Kazakhstan | |
KNY | Kenya | |
KSV | Kosovo | |
LTV | Latvia | |
LTU | Lithuania | |
LUX | Luxembourg | |
MAC | Macedonia | |
MLY | Malaysia | |
MLT | Malta | |
MEX | Mexico | |
MOL | Moldova | |
MOR | Morocco | |
MON | Montenegro | |
NLD | Netherlands | |
NZL | New Zealand | |
PRK | North Korea (Democratic People's Republic of Korea) | |
NOR | Norway | |
PAK | Pakistan | |
PAN | Panama | |
PRY | Paraguay | |
PER | Peru | |
POL | Poland | |
POR | Portugal | |
PHL | The Philippines | |
ROM | Romania | |
RUS | Russia | |
SER | Serbia | |
SIN | Singapore | |
SAF | South Africa | |
SPA | Spain | |
SRI | Sri Lanka | |
KOR | South Korea (Republic of Korea) | |
SWE | Sweden | |
CHE | Switzerland | |
TAI | Thailand | |
TUR | Turkey | |
UKR | Ukraine | |
GBR | United Kingdom (Great Britain) | |
USA | United States of America | |
URY | Uruguay | |
UZB | Uzbekistan | |
VAC | Vatican City | |
ZIM | Zimbabwe |