Documentation icon คู่มือการใช้งานแม่แบบ

นี่เป็นวิธีการใช้ แม่แบบ:Country data Thailand ที่สร้างขึ้นอัตโนมัติจาก แม่แบบ:Country showdata

แม่แบบ:Country data Thailand เป็นที่เก็บข้อมูลภายใน ที่ไม่เจตนาให้เรียกใช้โดยตรงแต่ใช้ผ่านทางแม่แบบ เช่น flag, flagicon, ฯลฯ

โปรด ล้างเซิร์ฟเวอร์แคช หลังแก้ไขหน้านี้

พารามิเตอร์มาตรฐาน

ชื่อพารามิเตอร์ ค่า ความหมาย
alias ไทย หน้าบทความประเทศ (ไทย)
flag alias Flag of Thailand.svg ชื่อไฟล์ภาพ (ไฟล์:Flag of Thailand.svg ดังที่แสดงไว้ด้านบน)

ธงรูปแบบอื่น

Flag variants


ชื่อภาพ (40px)ชื่อไฟล์
1767Flag of Thailand (Ayutthaya period).svg
1782Flag of Thailand (1782).svg
1817Flag of Thailand (1817).svg
1855Flag of Thailand 1855.svg
1893State Flag of Thailand (1916).svg
1916Flag of Siam (1916).svg
sanctionedFBTHA AFF 2020.png
navalNaval Ensign of Thailand.svg
air forceFlag of the Royal Thai Air Force.svg

ธงราชนาวี

แม่แบบนี้มี ธงนาวี ที่สามารถใช้กับ แม่แบบ:Navy:

ธงกองทัพอากาศ

แม่แบบนี้มีธงกองทัพอากาศที่สามารถใช้กับ แม่แบบ:Air force:

ชื่ออื่น

แม่แบบนี้สามารถเรียกผ่านชื่ออื่น ที่ทำเป็นหน้าเปลี่ยนทางมาที่หน้านี้:
ชื่ออื่น aliasเมื่อใช้กับ {{flag|alias}}เมื่อใช้กับ{{flagcountry|alias}}
THA (ดู) ไทย ไทย
ไทย (ดู) ไทย ไทย

ตัวอย่างการใช้

  • {{flag|ไทย}} ไทย
  • {{flagicon|ไทย}}ไทย
ใช้ธงแบบอื่น ๆ
  • {{flag|ไทย|1767}} ไทย
  • {{flagicon|ไทย|1767}}ไทย
ใช้ชื่ออื่นที่เป็นหน้าเปลี่ยนทาง

แม่แบบที่เกี่ยวข้อง

โปรดดูแม่แบบข้อมูลประเทศที่เกี่ยวข้อง:

รายละเอียดอื่น ๆ

Rather than redirecting {{Country data Siam}} to {{Country data Thailand}}, the former template transcludes the latter and passes through all parameters. The linked article will always be "Thailand", but the displayed name is either "Siam" or "Thailand" based on which of the two templates is used, even in templates that usually have a fixed default display name (such as {{flagcountry}} and {{fb}}). This allows for "Siam" to be used in historical contexts without having to also set |name=. The variants from {{Country data Thailand}} can be used with both templates.

Examples

Template Thailand output Siam output
{{flag|THA}}  ไทย  ไทย
{{flag|THA}}  ไทย  ไทย
{{flagcountry|THA}}  ไทย  ไทย
{{flagicon|THA}} ไทย ไทย
{{bb|THA}} ธงชาติไทย ไทย ธงชาติไทย สยาม
{{fb|THA}} ธงชาติไทย ไทย ธงชาติไทย สยาม

Redirects to Template:Country data Thailand

Redirects to Template:Country data Siam