แม่แบบ:วันตาย-อายุ
จากวิกิพีเดีย สารานุกรมเสรี
[[{{{3}}} ]] [[พ.ศ. {{{1}}}]] (อายุ Expression error: Unrecognised punctuation character "{" ปี)
[แก้] Usage
Returns a person's date of death and his/her age at that date. เป็นพุทธศักราช
- Syntax:
- {{วันตาย-อายุ|year of death|month of death|day of death|year of birth|month of birth|day of birth}}
- Example:
{{วันตาย-อายุ|2536|2|24|2484|4|12}}
returns 24 กุมภาพันธ์ พ.ศ. 2536 (อายุ 51 ปี)
Note: The template will appear broken when the parameters are left blank (as seen above).