Template:Iso2country/doc

From Wikipedia, the free encyclopedia

This is a documentation subpage for Template:Iso2country (see that page for the template itself).
It contains usage information, categories and other content that is not part of the original template page.

[edit] Usage

Given a ISO country code (ISO 3166-1 alpha-2), this template returns the matching country. It has one optional parameter: "article", which if it set to yes will return the article "the" if needed.

Code Result
{{iso2country|ES}} Spain
{{iso2country|GB}} United Kingdom
{{iso2country|US}} United States
{{iso2country|US|article=yes}} the United States
{{iso2country|ES|article=yes}} Spain

[edit] See also