Difference between revisions of "Template:Death date and age"
Jump to navigation
Jump to search
(Created page with "<includeonly> {{#if:{{{df|}}}|{{#expr:{{{3}}}}} {{MONTHNAME|{{{2}}}}}|{{MONTHNAME|{{{2}}}}} {{#expr:{{{3}}}}},}} {{{1}}} <span style="display:none"> (<span class="dday deat...") |
|||
Line 1: | Line 1: | ||
<includeonly>{{{6|{{{day}}}}}}-{{{5|{{{month}}}}}}-{{{4|{{{year}}}}}} (age {{#expr:({{{4|{{CURRENTYEAR}}}}})-({{{1|{{{year}}}}}})-(({{{5|{{CURRENTMONTH}}}}})<({{{2|{{{month}}}}}})or({{{5|{{CURRENTMONTH}}}}})=({{{2|{{{month}}}}}})and({{{6|{{CURRENTDAY}}}}})<({{{3|{{{day}}}}}}))}})</includeonly> | <includeonly>{{{6|{{{day}}}}}}-{{{5|{{{month}}}}}}-{{{4|{{{year}}}}}} (age {{#expr:({{{4|{{CURRENTYEAR}}}}})-({{{1|{{{year}}}}}})-(({{{5|{{CURRENTMONTH}}}}})<({{{2|{{{month}}}}}})or({{{5|{{CURRENTMONTH}}}}})=({{{2|{{{month}}}}}})and({{{6|{{CURRENTDAY}}}}})<({{{3|{{{day}}}}}}))}})</includeonly> | ||
Line 14: | Line 5: | ||
* Year month day is mandatory. | * Year month day is mandatory. | ||
<pre> | <pre> | ||
{{ | {{death date and age|1970|02|28|1980|02|28}} | ||
</pre> | </pre> | ||
</noinclude> | </noinclude> |
Latest revision as of 17:12, 4 February 2015
Usage:
- Year month day is mandatory.
{{death date and age|1970|02|28|1980|02|28}}