แม่แบบ:Iso2country

จากวิกิพีเดีย สารานุกรมเสรี
Documentation icon คู่มือการใช้งานแม่แบบ[ดู] [แก้] [ประวัติ] [ล้างแคช]

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}} ประเทศสเปน
{{iso2country|GB}} สหราชอาณาจักร
{{iso2country|US}} สหรัฐ
{{iso2country|US|article=yes}} สหรัฐ
{{iso2country|ES|article=yes}} ประเทศสเปน

See also[แก้]