Difference between revisions of "Template:Birth date and age"
Jump to navigation
Jump to search
(Created page with "<includeonly> <span style="display:none"> <span class="bday"> {{{3|{{{day}}}}}}-{{{2|{{{month}}}}}}-{{{1|{{{year}}}}}} </span> </span> <span class="noprint F...") |
|||
(5 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<includeonly> | <includeonly>{{{3|{{{day}}}}}}-{{{2|{{{month}}}}}}-{{{1|{{{year}}}}}} (age {{#expr:({{{4|{{CURRENTYEAR}}}}})-({{{1|{{{year}}}}}})-(({{{5|{{CURRENTMONTH}}}}})<({{{2|{{{month}}}}}})or({{{5|{{CURRENTMONTH}}}}})=({{{2|{{{month}}}}}})and({{{6|{{CURRENTDAY}}}}})<({{{3|{{{day}}}}}}))}})</includeonly> | ||
</includeonly> | |||
<noinclude> | <noinclude> | ||
==Usage:== | |||
* Year month day is mandatory. | |||
<pre> | |||
{{birth date and age|1970|02|28}} | |||
</pre> | |||
</noinclude> | </noinclude> |
Latest revision as of 20:10, 3 February 2015
Usage:
- Year month day is mandatory.
{{birth date and age|1970|02|28}}