Template:Flag/doc
From RosieSoCrossing
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:
- Worldwide
WLDfor Worldwide - Antartica
ATAfor Antartica - Australia
AUSfor the Commonwealth of Australia - Belgium
BELfor the Kingdom of Belgium - Brazil
BRAfor the Federative Republic of Brazil - Canada
CANfor Canada - Chile
CHLfor the Republic of Chile - China
CHNfor the People's Republic of China - Czech Republic
CZEfor the Czech Republic - Germany
DEUfor the Federal Republic of Germany - Denmark
DNKfor Denmark - Algeria
DZAfor the People's Democratic Republic of Algeria - Egypt
EGYfor the Arab Republic of Egypt - Spain
ESPfor the Kingdom of Spain - Europe
EURfor Europe - Finland
FINfor the Republic of Finland - France
FRAfor the French Republic (France) - United Kingdom
GBRfor the United Kingdom - Greece
GRCfor the Hellenic Republic (Greece) - Hong Kong
HKGfor Hong Kong SAR - Indonesia
IDNfor the Republic of Indonesia - India
INDfor the Republic of India - Ireland
IRLfor the Republic of Ireland - Israel
ISRfor the State of Israel - Italy
ITAfor the Italian Republic (Italy) - Japan
JPNfor Japan - Kenya
KENfor the Republic of Kenya - South Korea
KORfor the Republic of Korea (South Korea) - Luxembourg
LUXfor the Grand Duchy of Luxembourg - Mexico
MEXfor the United Mexican States (Mexico) - Malta
MLTfor the Republic of Malta - Netherlands
NLDfor the Netherlands - Norway
NORfor the Kingdom of Norway - New Zealand
NZLfor New Zealand - Peru
PERfor the Republic of Peru - Philippines
PHLfor the Republic of the Philippines - Poland
POLfor the Republic of Poland - Puerto Rico
PRIfor the Commonwealth of Puerto Rico - Portugal
PRTfor the Portuguese Republic (Portugal) - Palestine
PSEfor the State of Palestine - Russia
RUSfor the Russian Federation (Russia) - Saudi Arabia
SAUfor the Kingdom of Saudi Arabia - Singapore
SGPfor the Republic of Singapore - Sweden
SWEfor the Kingdom of Sweden - Taiwan
TWNfor the Republic of China (Taiwan) - Thailand
THAfor the Kingdom of Thailand - United States of America
USAfor the United States of America - Vietnam
VNMfor the Socialist Republic of Vietnam
The following sub-divisions are also supported using ISO 3166 codes.
- England
GB-ENGfor England - Scotland
GB-SCTfor Scotland - Wales
GB-WLSfor Wales - Quebec
CA-QCfor Quebec
Examples
{{Flag|JPN}}
{{Flag|JPN|border=false}}
{{Flag|USA|size=50px}}