Template:Iso2country
Appearance
Usage
[change source]Given a ISO country code (ISO 3166-1 alpha-2), this template returns the matching country.
It has three optional parameter:
- "article", which if it set to yes will return the article "the" if needed;
- "mode", which if it set to sort will rearrange for sortkey if needed; and
- "template", which if it set to yes will return " (country)" if needed.
Code | Result |
---|---|
{{iso2country|ES}}
|
Spain |
{{iso2country|US}}
|
United States |
{{iso2country|IE}}
|
Republic of Ireland |
{{iso2country|CD}}
|
Democratic Republic of the Congo |
{{iso2country|GE}}
|
Georgia |
{{iso2country|ES|article=yes}}
|
Spain |
{{iso2country|US|article=yes}}
|
the United States |
{{iso2country|IE|article=yes}}
|
the Republic of Ireland |
{{iso2country|CD|article=yes}}
|
the Democratic Republic of the Congo |
{{iso2country|GE|article=yes}}
|
Georgia |
{{iso2country|ES|mode=sort}}
|
Spain |
{{iso2country|US|mode=sort}}
|
United States |
{{iso2country|IE|mode=sort}}
|
Ireland |
{{iso2country|CD|mode=sort}}
|
Congo, D |
{{iso2country|GE|mode=sort}}
|
Georgia |
{{iso2country|ES|template=yes}}
|
Spain |
{{iso2country|US|template=yes}}
|
United States |
{{iso2country|IE|template=yes}}
|
Republic of Ireland |
{{iso2country|CD|template=yes}}
|
Democratic Republic of the Congo |
{{iso2country|GE|template=yes}}
|
Georgia (country) |
Related templates
[change source]- {{iso2lang}}