Template:I2c
Usage
badloGiven an ISO country code (ISO 3166-1 alpha-2), this template returns the matching country.
It has three optional parameter:
- "article", which if it set to yes will return the article "the" if needed;
- "mode", which if it set to sort will rearrange for sortkey if needed; and
- "template", which if it set to yes will return " (country)" if needed.
Code | Result |
---|---|
{{iso2country|ES}}
|
Template:Iso2country |
{{iso2country|US}}
|
Template:Iso2country |
{{iso2country|IE}}
|
Template:Iso2country |
{{iso2country|CD}}
|
Template:Iso2country |
{{iso2country|GE}}
|
Template:Iso2country |
{{iso2country|ES|article=yes}}
|
Template:Iso2country |
{{iso2country|US|article=yes}}
|
Template:Iso2country |
{{iso2country|IE|article=yes}}
|
Template:Iso2country |
{{iso2country|CD|article=yes}}
|
Template:Iso2country |
{{iso2country|GE|article=yes}}
|
Template:Iso2country |
{{iso2country|ES|mode=sort}}
|
Template:Iso2country |
{{iso2country|US|mode=sort}}
|
Template:Iso2country |
{{iso2country|IE|mode=sort}}
|
Template:Iso2country |
{{iso2country|CD|mode=sort}}
|
Template:Iso2country |
{{iso2country|GE|mode=sort}}
|
Template:Iso2country |
{{iso2country|ES|template=yes}}
|
Template:Iso2country |
{{iso2country|US|template=yes}}
|
Template:Iso2country |
{{iso2country|IE|template=yes}}
|
Template:Iso2country |
{{iso2country|CD|template=yes}}
|
Template:Iso2country |
{{iso2country|GE|template=yes}}
|
Template:Iso2country |
See also
badlo- {{iso2lang}}