Difference between revisions of "Template:Iso2nationality/doc"

From blackwiki
Jump to navigation Jump to search
imported>Mogism
m (→‎Usage: Cleanup/Typo fixing, typos fixed: a ISO → an ISO using AWB)
imported>Yahia.barie
(-)
Line 44: Line 44:
 
<includeonly>
 
<includeonly>
 
<!-- Categories and interwikis go here: -->
 
<!-- Categories and interwikis go here: -->
[[ur:سانچہ:آئیسو سے قومیت]]
 
 
</includeonly>
 
</includeonly>

Revision as of 19:01, 15 October 2013

Usage

Given an 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