Bản mẫu:Iso2nationality/doc

Bách khoa toàn thư mở Wikipedia

Cách sử dụng[sửa mã nguồn]

Given an ISO country code (ISO 3166-1 alpha-2), this template returns the matching nationality. It has one optional parameter: "article", which if it set to yes will return the article "the" if needed.

Kết quả
{{iso2country|ES}} Người Tây Ban Nha
{{iso2country|US}} Người Mỹ
{{iso2country|IE}} Người Ireland
{{iso2country|ES|article=yes}} Người Tây Ban Nha
{{iso2country|US|article=yes}} Người Mỹ
{{iso2country|IE|article=yes}} Người Ireland
{{iso2country|ES|mode=sort}} Người Tây Ban Nha
{{iso2country|US|mode=sort}} Người Mỹ
{{iso2country|IE|mode=sort}} Người Ireland

Xem thêm[sửa mã nguồn]