Difference between revisions of "Template:Iso2country/doc"

From blackwiki
Jump to navigation Jump to search
imported>16@r
(/doc)
 
Line 30: Line 30:
 
<includeonly><!--
 
<includeonly><!--
 
++++ PLEASE ADD CATEGORIES AND INTERWIKIS BELOW THIS LINE, INSIDE INCLUDEONLY TAGS, THANK YOU. -->
 
++++ PLEASE ADD CATEGORIES AND INTERWIKIS BELOW THIS LINE, INSIDE INCLUDEONLY TAGS, THANK YOU. -->
 +
[[Category:Wikipedia formatting templates|{{PAGENAME}}]]
 
</includeonly>
 
</includeonly>

Revision as of 12:25, 5 May 2008

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