ผลต่างระหว่างรุ่นของ "แม่แบบ:Birth date"
เนื้อหาที่ลบ เนื้อหาที่เพิ่ม
Octahedron80 (คุย | ส่วนร่วม) ลไม่มีความย่อการแก้ไข |
ลไม่มีความย่อการแก้ไข |
||
บรรทัด 1: | บรรทัด 1: | ||
{{#if:{{{df|}}}|[[{{{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}} |
รุ่นแก้ไขเมื่อ 07:43, 16 มกราคม 2552
[[{{{3}}} ]] [[ค.ศ. {{{1}}}]]
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
23 ธันวาคม ค.ศ. 2003Note: The template will appear broken when the parameters are left blank (as seen above).