Difference between revisions of "Template:Iso2nationality/doc"

From Recidemia English
Jump to: navigation, search
(start)
 
m (1 revision)
 
(No difference)

Latest revision as of 08:15, 22 May 2012

Usage

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

Code Result
{{iso2country|ES}} Spanish
{{iso2country|US}} American
{{iso2country|IE}} Irish
{{iso2country|ES|article=yes}} Spanish
{{iso2country|US|article=yes}} American
{{iso2country|IE|article=yes}} Irish
{{iso2country|ES|mode=sort}} Spanish
{{iso2country|US|mode=sort}} American
{{iso2country|IE|mode=sort}} Irish

See also