Fandom Developers Wiki

Country gets data about a country using its ISO code, decimal code, or name.

Installation

Syntax

  • {{#invoke:country|main|<country-isocode>|<param2 see table below>}}
  • {{#invoke:country|main|<country name>|<param2 see table below>}}
  • {{#invoke:country|main|<country-code>|<country name>}}

Options

Name Description Example output
alpha-2 2-letter country code NZ
alpha-3 3-letter country code NZL
country-code Country code 554
iso_3166-2 ISO code ISO 3166-2:NZ
name Country name New Zealand
region Region name Oceania
region-code Region code 009
sub-region Subregion name Australia and New Zealand
sub-region-code Subregion code 053

Example

CodeOutput
{{#invoke:country|countrycode|france}}fr
CodeOutput
{{#invoke:country|main|de|name}}Germany
CodeOutput
{{#invoke:country|main|france|country-code}}250

See also

Text above can be found here (edit)