Difference between revisions of "Template:Iso2country/doc"

From blackwiki
Jump to navigation Jump to search
imported>RussBot
m (Robot: moving pages out of redirected category)
Line 32: Line 32:
 
[[Category:Wikipedia formatting and function templates|{{PAGENAME}}]]
 
[[Category:Wikipedia formatting and function templates|{{PAGENAME}}]]
 
[[Category:Database templates|{{PAGENAME}}]]
 
[[Category:Database templates|{{PAGENAME}}]]
 +
[[ja:Template:Iso2country]]
 
</includeonly>
 
</includeonly>

Revision as of 14:51, 6 April 2009

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

See also