Notice: Undefined variable: class in /var/www/web103/html/plugins/content/ugapbw/ugapbw.php on line 146

Tutorials

How to use the plugins

  • Using the country plugin
  • The country plugin in action
  • Complete country list

IMPORTANT - Please make sure you are running the latest version of Joomla!

The country plugin supports the display of a country flag in different sizes or the IOC code for a country selected by the ISO 3166-2 code. In general the plugin code used has the format

altjpocountry iso=...|type=..alt

Wikipedia references

For detailed information about the codes used please read the following two articles in the Wikipedia

For ISO codes:  ISO 3166-2 in Wikipedia
For IOC codes: IOC codes in Wikipeda

Displaying flags in different sizes

Mandatory parameters

  • iso: the ISO 3166-2 code of the requested country
  • type:flag - displays a flag, ioccode - shows the IOC code, e.g. GER for Germany, nocname - shows the country name like used in the NOC. All country names are translated if a language file exists.

Optional parameters

  • size: 16|24|32 - defaulted to 16 when missing or invalid

The optional parameters are optional, this means it is not necessary to use them with the value 0 if e.g. the size of 16 is fine. The sequence is not fixed, only the spelling is required as stated above.

Examples of valid plugin codes

  • altjpocountry iso=de|type=flagalt - displays the flag for Germany in 16px - GER
  • altjpocountry iso=de|type=ioccodealt - displays the IOC code for Germany - GER
  • altjpocountry iso=de|type=nocnamealt - displays the country name for Germany - Germany
  • altjpocountry iso=us|type=flag|size=24alt - displays the flag for the United States in 24px - USA
  • altjpocountry iso=nl|type=flag|size=32alt - displays the flag for the Netherlands in 32px - NED

Last update: 06. Feb 2013

IMPORTANT - Please make sure you are running the latest version of Joomla!

This is a demonstration of the country plugin. It includes country flags like this one GER in an article or a results table based on the ISO code of the country. The flag icons are available in three (later five) different sizes (e.g. 16pixels:TUR or 24pixels: RSA) and the size can be selected in the plugin code. The codes used in international sports events as defined by the IOC are available as well.

Actual versions of JPodium include support for this plugin in result tables.

A result table can look like that:

Pos. Athlete name Time
1. GER Detlef Volmer (GER) 01:23:45
2. BRA Rubens Barrichello (BRA) 02:23:45
3. USA Bill Clinton (USA) 03:23:45

A selection of the availables countries incl. their ISO codes, NOC abbreviations and names

#16px24px32pxISO 3166-2IOC codeCountry Name
1ARGARGARGARARGArgentina
2AUTAUTAUTATAUTAustria
3AUSAUSAUSAUAUSAustralia
4BELBELBELBEBELBelgium
5BULBULBULBGBULBulgaria
6BRABRABRABRBRABrazil
7CANCANCANCACANCanada
8SUISUISUICHSUISwitzerland
9CHNCHNCHNCNCHNChina
10CZECZECZECZCZECzech Republic
11GERGERGERDEGERGermany
12DENDENDENDKDENDenmark
13ESTESTESTEEESTEstonia
14ESPESPESPESESPSpain
15FINFINFINFIFINFinland
16FRAFRAFRAFRFRAFrance
17GBRGBRGBRGBGBRGreat Britain
18GREGREGREGRGREGreece
19CROCROCROHRCROCroatia
20HUNHUNHUNHUHUNHungary
21IRLIRLIRLIEIRLIreland
22ISRISRISRILISRIsrael
23INDINDINDININDIndia
24ITAITAITAITITAItaly
25JAMJAMJAMJMJAMJamaica
26JPNJPNJPNJPJPNJapan
27LTULTULTULTLTULithuania
28LATLATLATLVLATLatvia
29NEDNEDNEDNLNEDNetherlands
30NORNORNORNONORNorway
31POLPOLPOLPLPOLPoland
32PORPORPORPTPORPortugal
33ROUROUROUROROURomania
34SRBSRBSRBRSSRBSerbia
35RUSRUSRUSRURUSRussia
36SWESWESWESESWESweden
37SLOSLOSLOSISLOSlovenia
38SVKSVKSVKSKSVKSlovakia
39TURTURTURTRTURTurkey
40UKRUKRUKRUAUKRUkraine
41USAUSAUSAUSUSAUnited States
42URUURUURUUYURUUruguay
43RSARSARSAZARSASouth Africa
44---------_ENGLAND---England
45---------_SCOTLAND---Scotland

Last update: 26. Jan 2013

IMPORTANT - Please make sure you are running the latest version of Joomla!

#16px24px32pxISO 3166-2IOC codeCountry Name
1ANDANDANDADANDAndorra
2UAEUAEUAEAEUAEUnited Arab Emirates
3---------AF---Afghanistan
4ANTANTANTAGANTAntigua and Barbuda
5---------AI---Anguilla
6ALBALBALBALALBAlbania
7ARMARMARMAMARMArmenia
8AHOAHOAHOANAHONetherlands Antilles
9ANGANGANGAOANGAngola
10---------AQ---Antarctica
11ARGARGARGARARGArgentina
12ASAASAASAASASAAmerican Samoa
13AUTAUTAUTATAUTAustria
14AUSAUSAUSAUAUSAustralia
15ARUARUARUAWARUAruba
16---------AX---Åland Islands
17AZEAZEAZEAZAZEAzerbaijan
18BIHBIHBIHBABIHBosnia and Herzegovina
19BARBARBARBBBARBarbados
20BANBANBANBDBANBangladesh
21BELBELBELBEBELBelgium
22BURBURBURBFBURBurkina Faso
23BULBULBULBGBULBulgaria
24BRNBRNBRNBHBRNBahrain
25BDIBDIBDIBIBDIBurundi
26BENBENBENBJBENBenin
27---------BL---Saint Barthélemy
28BERBERBERBMBERBermuda
29BRUBRUBRUBNBRUBrunei Darussalam
30BOLBOLBOLBOBOLBolivia
31BRABRABRABRBRABrazil
32BAHBAHBAHBSBAHBahamas
33BHUBHUBHUBTBHUBhutan
34BOTBOTBOTBWBOTBotswana
35BLRBLRBLRBYBLRBelarus
36BIZBIZBIZBZBIZBelize
37CANCANCANCACANCanada
38CODCODCODCDCODDR Congo
39CAFCAFCAFCFCAFCentral African Rebublic
40CGOCGOCGOCGCGOCongo
41SUISUISUICHSUISwitzerland
42CIVCIVCIVCICIVCôte d´Ivoire
43CHICHICHICLCHIChile
44CMRCMRCMRCMCMRCameroon
45CHNCHNCHNCNCHNChina
46COLCOLCOLCOCOLColombia
47CRCCRCCRCCRCRCCosta Rica
48CUBCUBCUBCUCUBCuba
49CPVCPVCPVCVCPVCape Verde
50CYPCYPCYPCYCYPCyprus
51CZECZECZECZCZECzech Republic
52GERGERGERDEGERGermany
53DJIDJIDJIDJDJIDjibouti
54DENDENDENDKDENDenmark
55DMADMADMADMDMADominica
56DOMDOMDOMDODOMDominican Republic
57ALGALGALGDZALGAlgeria
58ECUECUECUECECUEcuador
59ESTESTESTEEESTEstonia
60EGYEGYEGYEGEGYEgypt
61---------EH---Western Sahara
62ERIERIERIERERIEritrea
63ESPESPESPESESPSpain
64ETHETHETHETETHEthiopia
65FINFINFINFIFINFinland
66FIJFIJFIJFJFIJFiji
67---------FK---Falkland Islands
68---------FM---Federated States of Micronesia
69---------FO---Faroe Islands
70FRAFRAFRAFRFRAFrance
71GABGABGABGAGABGabon
72GBRGBRGBRGBGBRGreat Britain
73GRNGRNGRNGDGRNGrenada
74GEOGEOGEOGEGEOGeorgia
75---------GG---Guernsey
76GHAGHAGHAGHGHAGhana
77---------GL---Greenland
78GAMGAMGAMGMGAMGambia
79GUIGUIGUIGNGUIGuinea
80GEQGEQGEQGQGEQEquatorial Guinea
81GREGREGREGRGREGreece
82---------GS---South Georgia and the South Sandwich Islands
83GUAGUAGUAGTGUAGuatemala
84GUMGUMGUMGUGUMGuam
85GBSGBSGBSGWGBSGuinea-Bissau
86GUYGUYGUYGYGUYGuyana
87HKGHKGHKGHKHKGHong Kong
88HONHONHONHNHONHonduras
89CROCROCROHRCROCroatia
90HAIHAIHAIHTHAIHaiti
91HUNHUNHUNHUHUNHungary
92INAINAINAIDINAIndonesia
93IRLIRLIRLIEIRLIreland
94ISRISRISRILISRIsrael
95---------IM---Isle of Man
96INDINDINDININDIndia
97IRQIRQIRQIQIRQIraq
98IRIIRIIRIIRIRIIran
99ISLISLISLISISLIceland
100ITAITAITAITITAItaly
101---------JE---Jersey
102JAMJAMJAMJMJAMJamaica
103JORJORJORJOJORJordan
104JPNJPNJPNJPJPNJapan
105KENKENKENKEKENKenya
106KGZKGZKGZKGKGZKyrgyzstan
107CAMCAMCAMKHCAMCambodia
108KIRKIRKIRKIKIRKiribati
109COMCOMCOMKMCOMComoros
110SKNSKNSKNKNSKNSaint Kitts and Nevis
111PRKPRKPRKKPPRKNorth Korea
112KORKORKORKRKORSouth Korea
113KUWKUWKUWKWKUWKuwait
114CAYCAYCAYKYCAYCayman Islands
115KAZKAZKAZKZKAZKazakhstan
116LAOLAOLAOLALAOLaos
117LIBLIBLIBLBLIBLebanon
118LCALCALCALCLCASaint Lucia
119LIELIELIELILIELiechtenstein
120SRISRISRILKSRISri Lanka
121LBRLBRLBRLRLBRLiberia
122LESLESLESLSLESLesotho
123LTULTULTULTLTULithuania
124LUXLUXLUXLULUXLuxembourg
125LATLATLATLVLATLatvia
126LBALBALBALYLBALibya
127MARMARMARMAMARMorocco
128MONMONMONMCMONMonaco
129MDAMDAMDAMDMDAMoldova
130MNEMNEMNEMEMNEMontenegro
131MADMADMADMGMADMadagascar
132MHLMHLMHLMHMHLMarshall Islands
133MKDMKDMKDMKMKDMacedonia
134MLIMLIMLIMLMLIMali
135MYAMYAMYAMMMYAMyanmar
136MGLMGLMGLMNMGLMongolia
137---------MO---Macao
138---------MP---Northern Mariana Islands
139MTNMTNMTNMRMTNMauritania
140---------MS---Montserrat
141MLTMLTMLTMTMLTMalta
142MRIMRIMRIMUMRIMauritius
143MDVMDVMDVMVMDVMaldives
144MAWMAWMAWMWMAWMalawi
145MEXMEXMEXMXMEXMexico
146MASMASMASMYMASMalaysia
147MOZMOZMOZMZMOZMozambique
148NAMNAMNAMNANAMNamibia
149NIGNIGNIGNENIGNiger
150---------NF---Norfolk Island
151NGRNGRNGRNGNGRNigeria
152NCANCANCANINCANicaragua
153NEDNEDNEDNLNEDNetherlands
154NORNORNORNONORNorway
155NEPNEPNEPNPNEPNepal
156NRUNRUNRUNRNRUNauru
157NZLNZLNZLNZNZLNew Zealand
158OMAOMAOMAOMOMAOman
159PANPANPANPAPANPanama
160PERPERPERPEPERPeru
161PNGPNGPNGPGPNGPapua New Guinea
162PHIPHIPHIPHPHIPhilippines
163PAKPAKPAKPKPAKPakistan
164POLPOLPOLPLPOLPoland
165---------PN---Pitcairn
166PURPURPURPRPURPuerto Rico
167PLEPLEPLEPSPLEPalestine
168PORPORPORPTPORPortugal
169PLWPLWPLWPWPLWPalau
170PARPARPARPYPARParaguay
171QATQATQATQAQATQatar
172ROUROUROUROROURomania
173SRBSRBSRBRSSRBSerbia
174RUSRUSRUSRURUSRussia
175RWARWARWARWRWARwanda
176KSAKSAKSASAKSASaudi Arabia
177SOLSOLSOLSBSOLSolomon Islands
178SEYSEYSEYSCSEYSeychelles
179SUDSUDSUDSDSUDSudan
180SWESWESWESESWESweden
181SINSINSINSGSINSingapore
182---------SH---Saint Helena
183SLOSLOSLOSISLOSlovenia
184SVKSVKSVKSKSVKSlovakia
185SLESLESLESLSLESierra Leone
186SMRSMRSMRSMSMRSan Marino
187SENSENSENSNSENSenegal
188SOMSOMSOMSOSOMSomalia
189SURSURSURSRSURSuriname
190STPSTPSTPSTSTPSão Tomé and Príncipe
191ESAESAESASVESAEl Salvador
192SYRSYRSYRSYSYRSyria
193SWZSWZSWZSZSWZSwaziland
194---------TC---Turks and Caicos Islands
195CHACHACHATDCHAChad
196TOGTOGTOGTGTOGTogo
197THATHATHATHTHAThailand
198TJKTJKTJKTJTJKTajikistan
199TLSTLSTLSTLTLSTimor-Leste
200TKMTKMTKMTMTKMTurkmenistan
201TUNTUNTUNTNTUNTunisia
202TGATGATGATOTGATonga
203TURTURTURTRTURTurkey
204TRITRITRITTTRITrinidad and Tobago
205TUVTUVTUVTVTUVTuvalu
206TPETPETPETWTPETaiwan
207TANTANTANTZTANTanzania
208UKRUKRUKRUAUKRUkraine
209UGAUGAUGAUGUGAUganda
210USAUSAUSAUSUSAUnited States
211URUURUURUUYURUUruguay
212UZBUZBUZBUZUZBUzbekistan
213---------VA---Vatican
214VINVINVINVCVINSaint Vincent and the Grenadines
215VENVENVENVEVENVenezuela
216IVBIVBIVBVGIVBBritish Virgin Islands
217ISVISVISVVIISVVirgin Islands
218VIEVIEVIEVNVIEVietnam
219VANVANVANVUVANVanuatu
220SAMSAMSAMWSSAMSamoa
221YEMYEMYEMYEYEMYemen
222RSARSARSAZARSASouth Africa
223ZAMZAMZAMZMZAMZambia
224ZIMZIMZIMZWZIMZimbabwe
225---------_ENGLAND---England
226---------_SCOTLAND---Scotland
227---------_WALES---Wales
228---------_EUROPEAN-UNION---European Union
229---------_OLYMPICS---Olympics
230---------_RED-CROSS---Red Cross
231---------_UNITED-NATIONS---United Nations
232NOFLAGNOFLAGNOFLAGNOFLAGNOFLAGUnknown ISO code
233---------BLANK---Empty space

Last update: 26. Jan 2013