Difference between revisions of "Template:Iso2country/doc"
Jump to navigation
Jump to search
imported>Zyxw m (add category) |
imported>RussBot m (Robot: moving pages out of redirected category) |
||
| 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}}]] | + | [[Category:Wikipedia formatting and function templates|{{PAGENAME}}]] |
[[Category:Database templates|{{PAGENAME}}]] | [[Category:Database templates|{{PAGENAME}}]] | ||
</includeonly> | </includeonly> | ||
Revision as of 06:06, 20 August 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}}