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:
WLDfor WorldwideATAfor AntarticaAUSfor the Commonwealth of AustraliaBELfor the Kingdom of BelgiumBGRfor BulgariaBRAfor the Federative Republic of BrazilCANfor CanadaCHLfor the Republic of ChileCHNfor the People's Republic of ChinaCZEfor the Czech RepublicDEUfor the Federal Republic of GermanyDNKfor DenmarkDZAfor the People's Democratic Republic of AlgeriaEGYfor the Arab Republic of EgyptESPfor the Kingdom of SpainEURfor EuropeFINfor the Republic of FinlandFRAfor the French Republic (France)GBRfor the United KingdomGRCfor the Hellenic Republic (Greece)HKGfor Hong Kong SARIDNfor the Republic of IndonesiaINDfor the Republic of IndiaIRLfor the Republic of Ireland
ISRfor the State of IsraelITAfor the Italian Republic (Italy)JPNfor JapanKENfor the Republic of KenyaKORfor the Republic of Korea (South Korea)LUXfor the Grand Duchy of LuxembourgMEXfor the United Mexican States (Mexico)MLTfor the Republic of MaltaNLDfor the NetherlandsNORfor the Kingdom of NorwayNZLfor New ZealandPERfor the Republic of PeruPHLfor the Republic of the PhilippinesPOLfor the Republic of PolandPRIfor the Commonwealth of Puerto RicoPRTfor the Portuguese Republic (Portugal)PSEfor the State of PalestineRUSfor the Russian Federation (Russia)SAUfor the Kingdom of Saudi ArabiaSGPfor the Republic of SingaporeSUNfor the Soviet UnionSWEfor the Kingdom of SwedenTWNfor the Republic of China (Taiwan)THAfor the Kingdom of ThailandUSAfor the United States of AmericaVNMfor 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}}