ผลต่างระหว่างรุ่นของ "แม่แบบ:Birth date"

จากวิกิพีเดีย สารานุกรมเสรี
เนื้อหาที่ลบ เนื้อหาที่เพิ่ม
2T (คุย | ส่วนร่วม)
ไม่มีความย่อการแก้ไข
Tiemianwusi (คุย | ส่วนร่วม)
แทนที่ "" → "" +แทนที่ "" → "" ด้วยสจห.
 
บรรทัด 1: บรรทัด 1:
{{#if:{{{df|yes}}}|[[{{{3}}} {{MONTHNAME|{{{2}}}}}]]|[[{{MONTHNAME|{{{2}}}}} {{{3}}}]]}} [[ค.ศ. {{{1}}}]]<span style="display:none">(<span class="bday">{{{1}}}-{{pad2digit|{{MONTHNUMBER|{{{2}}}}}}}-{{pad2digit|{{{3}}}}}</span>)</span><noinclude>
{{#if:{{{df|yes}}}|{{{3}}} {{MONTHNAME|{{{2}}}}}|{{MONTHNAME|{{{2}}}}} {{{3}}}}} ค.ศ. {{{1}}}<span style="display:none">(<span class="bday">{{{1}}}-{{pad2digit|{{MONTHNUMBER|{{{2}}}}}}}-{{pad2digit|{{{3}}}}}</span>)</span><noinclude>
{{pp-template|small=yes}}
{{pp-template|small=yes}}
{{Birth date and age/doc}}
{{Birth date and age/doc}}

รุ่นแก้ไขปัจจุบันเมื่อ 18:33, 6 มิถุนายน 2556

{{{3}}} ค.ศ. {{{1}}}({{{1}}}-ข้อผิดพลาดนิพจน์: "{" เป็นอักขระเครื่องหมายวรรคตอนที่ไม่รู้จัก-{{{3}}})

Usage[แก้]

Returns a person's date of birth and his/her age .

Syntax: {{Birth date and age|year of birth|month of birth|day of birth}}

Example:

{{Birth date and age|2003|12|23}} returns (2003-12-23) 23 ธันวาคม ค.ศ. 2003 (20 ปี)

Note: The template will appear broken when the parameters are left blank (as seen above).