แม่แบบ:วันตาย-อายุ

จากวิกิพีเดีย สารานุกรมเสรี

[[{{{3}}} ]] [[พ.ศ. {{{1}}}]] (อายุ Expression error: Unrecognised punctuation character "{" ปี)

Comment แม่แบบนี้มีส่วนประกอบของตัวเลือกย่อยมากกว่าหนึ่งตัวเลือก
การใช้งานยังใช้ง่ายเหมือนแม่แบบทั่วไป แต่การแก้ไขแม่แบบนี้ควรทำด้วยความระมัดระวังเป็นพิเศษ เพราะมีส่วนประกอบย่อยและพารามิเตอร์ย่อยต่างๆ

[แก้] 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).

[แก้] See also