แม่แบบ:Iso2country
หน้าตา
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 toyeswill 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
| country code | default | |mode=sort |
|mode=unique |
|mode=link |
|---|---|---|---|---|
{{iso2country|ES}} |
ประเทศสเปน | ประเทศสเปน | ประเทศสเปน | ประเทศสเปน |
{{iso2country|US}} |
สหรัฐ | สหรัฐ | สหรัฐ | สหรัฐ |
{{iso2country|IE}} |
ประเทศไอร์แลนด์ | ประเทศไอร์แลนด์ | ประเทศไอร์แลนด์ | ประเทศไอร์แลนด์ |
{{iso2country|CD}} |
สาธารณรัฐประชาธิปไตยคองโก | สาธารณรัฐประชาธิปไตยคองโก | สาธารณรัฐประชาธิปไตยคองโก | สาธารณรัฐประชาธิปไตยคองโก |
{{iso2country|GE}} |
ประเทศจอร์เจีย | ประเทศจอร์เจีย | ประเทศจอร์เจีย | ประเทศจอร์เจีย |
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}}