Template:Flag
Template documentation (view)
Usage
{{Flag|<ISO Alpha 3 country code>|size=}}
This template is designed primarily for use in infoboxes and will create an image of a flag of the country designated in the country code parameter. The image will link to the Wikipedia article about that country and the name of the country will appear as rollover text. This text can be changed with the text
parameter. The size
parameter allows the image size to be specified in pixels. Flags that feature the color white prominently in their designs will automatically appear with a border. To disable this functionality, set the border
parameter to any value (e.g. border=false
).
The currently supported regions and their corresponding ISO Alpha 3 country codes are:
-
WLD
for Worldwide -
ATA
for Antartica -
AUS
for the Commonwealth of Australia -
BEL
for the Kingdom of Belgium -
BRA
for the Federative Republic of Brazil -
CAN
for Canada CHL
for the Republic of Chile-
CHN
for the People's Republic of China -
CZE
for the Czech Republic -
DEU
for the Federal Republic of Germany DNK
for Denmark-
DZA
for the People's Democratic Republic of Algeria EGY
for the Arab Republic of Egypt-
ESP
for the Kingdom of Spain -
EUR
for Europe -
FIN
for the Republic of Finland -
FRA
for the French Republic (France) -
GBR
for the United Kingdom -
GRC
for the Hellenic Republic (Greece) -
HKG
for Hong Kong SAR IDN
for the Republic of IndonesiaIND
for the Republic of India-
IRL
for the Republic of Ireland -
ISR
for the State of Israel -
ITA
for the Italian Republic (Italy) -
JPN
for Japan KEN
for the Republic of Kenya- South Korea
KOR
for the Republic of Korea (South Korea) -
LUX
for the Grand Duchy of Luxembourg -
MEX
for the United Mexican States (Mexico) MLT
for the Republic of Malta-
NLD
for the Netherlands -
NOR
for the Kingdom of Norway -
NZL
for New Zealand PER
for the Republic of Peru-
PHL
for the Republic of the Philippines -
POL
for the Republic of Poland PRT
for the Portuguese Republic (Portugal)-
PRI
for the Commonwealth of Puerto Rico -
RUS
for the Russian Federation (Russia) -
SAU
for the Kingdom of Saudi Arabia SGP
for the Republic of SingaporeSWE
for the Kingdom of SwedenTWN
for the Republic of China (Taiwan)THA
for the Kingdom of Thailand-
USA
for the United States of America VNM
for the Socialist Republic of Vietnam
The following sub-divisions are also supported using ISO 3166 codes.
Examples
{{Flag|JPN}}
{{Flag|JPN|border=false}}
{{Flag|USA|size=50px}}