Difference between revisions of "Template:Iso2country/doc"
Jump to navigation
Jump to search
imported>16@r (/doc) |
(→See also: +cat) |
||
| 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
| This is a documentation subpage for Template:Iso2country. It contains usage information, categories and other content that is not part of the original template page. |
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
- {{iso2lang}}