සැකිල්ල:Iso2country
![ප්රලේඛනය අයිකොනය](http://upload.wikimedia.org/wikipedia/commons/thumb/4/43/Test_Template_Info-Icon_-_Version_%282%29.svg/50px-Test_Template_Info-Icon_-_Version_%282%29.svg.png)
Usage
Given an ISO country code (ISO 3166-1 alpha-2), this template returns the matching country.
It has two optional parameters:
|article=
, which if it set toyes
will return the article "the" if needed;|mode=
, which can optionally take one out of three values:
- if set to
sort
, it will rearrange for sortkey. - if set to
unique
, it will return " (country)" if needed. - if set to
link
, it will create a link.
- if set to
Basic usage
country code | default | |mode=sort | |mode=unique | |mode=link |
---|---|---|---|---|
{{iso2country|ES}} | Spain | Spain | Spain | Spain |
{{iso2country|US}} | United States | United States | United States | United States |
{{iso2country|IE}} | Republic of Ireland | Ireland | Republic of Ireland | Republic of Ireland |
{{iso2country|CD}} | Democratic Republic of the Congo | Congo, D | Democratic Republic of the Congo | Democratic Republic of the Congo |
{{iso2country|GE}} | Georgia | Georgia | Georgia (country) | Georgia |
Usage with |article=yes
country code | default | |mode=sort | |mode=unique | |mode=link |
---|---|---|---|---|
{{iso2country|ES}} | Spain | Spain | Spain | Spain |
{{iso2country|US}} | the United States | United States | the United States | the United States |
{{iso2country|IE}} | the Republic of Ireland | Ireland | the Republic of Ireland | the Republic of Ireland |
{{iso2country|CD}} | the Democratic Republic of the Congo | Congo, D | the Democratic Republic of the Congo | the Democratic Republic of the Congo |
{{iso2country|GE}} | Georgia | Georgia | Georgia (country) | Georgia |
Deprecated parameter
The misnamed |template=yes
parameter has been superseded by |mode=unique
. Continued use is tracked in ප්රවර්ගය:Pages using iso2country with unknown parameters.
See also
- {{ISO 639 name}}
- {{iso2nationality}}
🔥 Top keywords: විශේෂ:ගවේෂණයමුල් පිටුවකාලස් පුයිජ්දෙමොන්සූනන් ඇඟ වැටීමේ ඵලාඵලහජ්පොසොන් පසළොස්වක පෝයපොසොන් උත්සවයදුටුගැමුණු රජවිකිපීඩියා:Contact usශිෂ්යත්ව විභාගයමහින්දාගමනයසාර ධර්මඅපරාධරුවන්වැලිසෑයසීගිරියමාර්ටින් වික්රමසිංහසොළොස්මස්ථානඅනගාරික ධර්මපාලශ්රී පාදස්ථානයසාහිත්යයශ්රී ලංකාවේ කුල ක්රමයශ්රී දළදා මාළිගාවශ්රී ලංකාවඅධ්යාපනයආවර්තිතා වගුවයුක්රේනයසී.ඩබ්.ඩබ්. කන්නන්ගරකුමාරතුංග මුනිදාසඑස්. මහින්ද හිමිමහා මංගල සුත්රයවැදි ජනයාස්ත්රී ස්වයං වින්දනයවිකිපීඩියා:පොදු වියාචනයසංස්කෘතියසිංහල සාහිත්යයවොලිබෝල්ලිංගික සංසර්ගයපරිසර දූෂණයදේවානම්පිය තිස්ස රජ