Using the country plugin

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 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

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=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: 23. Nov 2010