Module:Country/doc: Difference between revisions
(Created page with "Country gets data about a country using its ISO code, decimal code, or name. == {{{syntax|Syntax}}} == * <code>{{t|country|main|country-isocode|param2 see table below|i=1}}</code> * <code>{{t|country|main|country name|param2 see table below|i=1}}</code> * <code>{{t|country|main|country-code|country name|i=1}}</code> == {{{options|Options}}} == {| class="article-table" |- ! {{{options-name|Name}}} ! {{{options-description|Description}}} ! {{{options-example|Example outp...") |
(No difference)
|
Latest revision as of 21:50, 26 September 2024
Country gets data about a country using its ISO code, decimal code, or name.
Syntax
Options
Name | Description | Example output |
---|---|---|
alpha-2 | 2-letter country code | Lua error in package.lua at line 80: module 'Country/data' not found. |
alpha-3 | 3-letter country code | Lua error in package.lua at line 80: module 'Country/data' not found. |
country-code | Country code | Lua error in package.lua at line 80: module 'Country/data' not found. |
iso_3166-2 | ISO code | Lua error in package.lua at line 80: module 'Country/data' not found. |
name | Country name | Lua error in package.lua at line 80: module 'Country/data' not found. |
region | Region name | Lua error in package.lua at line 80: module 'Country/data' not found. |
region-code | Region code | Lua error in package.lua at line 80: module 'Country/data' not found. |
sub-region | Subregion name | Lua error in package.lua at line 80: module 'Country/data' not found. |
sub-region-code | Subregion code | Lua error in package.lua at line 80: module 'Country/data' not found. |
Example
Lua error in package.lua at line 80: module 'Dev:Arguments' not found. Lua error in package.lua at line 80: module 'Dev:Arguments' not found. Lua error in package.lua at line 80: module 'Dev:Arguments' not found.
See also
- ISO 3166 countries with regional codes on GitHub