FANDOM


Country gets data about a country.

Installation

Syntax

  • <code data-t-role="wrapper" data-t-mode="invocation" style="all:unset;font-family:monospace;">{{#invoke:country|main|<country-isocode>|<param2 see table below>}}</code>
  • <code data-t-role="wrapper" data-t-mode="invocation" style="all:unset;font-family:monospace;">{{#invoke:country|main|<country name>|<param2 see table below>}}</code>
  • <code data-t-role="wrapper" data-t-mode="invocation" style="all:unset;font-family:monospace;">{{#invoke:country|main|<country-code>|<country name>}}</code>

Options

Name Description Example output
alpha-2 2 letter country-code NZ
alpha-3 3 letter country-code NZL
country-code  country-code no. 554
sub-region-code sub-region-code 53
region-code region-code 9
iso_3166-2 Iso code ISO 3166-2:NZ
region region Oceania
sub-region sub-region name Australia and New Zealand

Example

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

See also

Community content is available under CC-BY-SA unless otherwise noted.