Fandom Developers Wiki

Country получает информацию о стране, основываясь на ее десятичном коде, коде ISO или имени.

Installation[]

Синтаксис[]

  • {{#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>}}

Параметры[]

Название Описание Пример
alpha-2 Двухбуквенный код страны NZ
alpha-3 Трехбуквенный код страны NZL
country-code Кдо страны 554
iso_3166-2 Код ISO ISO 3166-2:NZ
name Название страны New Zealand
region Название региона Oceania
region-code Код региона 009
sub-region Название субрегиона Australia and New Zealand
sub-region-code Код субрегиона 053

Пример[]

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

Смотрите также[]

  • Список стран в стандарте ISO 3166 на GitHub