Difference between revisions of "Template:Death date and age"

From annadreambrush.com/wiki
Jump to navigation Jump to search
imported>Daemonic Kangaroo
imported>Johnuniq
(update from sandbox: use Module:Age for better checking of dates and more consistent results)
 
(35 intermediate revisions by 21 users not shown)
Line 1: Line 1:
{{tfd|Death date and age}}
+
<includeonly>{{{{{|safesubst:}}}#invoke:age|death_date_and_age}}</includeonly><noinclude>{{documentation}}</noinclude>
[[{{MONTHNAME|{{{2|{{{month|{{{2}}}}}}}}}}} {{{3|{{{day|{{{3}}}}}}}}}]] [[{{{1|{{{year|{{{1}}}}}}}}}]] (age&nbsp;{{age at date | {{{4|{{{year|{{{4}}}}}}}}} | {{{5|{{{month|{{{5}}}}}}}}} | {{{6|{{{day|{{{6}}}}}}}}} | {{{1|{{{year|{{{1}}}}}}}}} | {{{2|{{{month|{{{2}}}}}}}}} | {{{3|{{{day|{{{3}}}}}}}}} }})<noinclude>
 
 
 
Returns a person's date of death and his/her age at that date.
 
 
 
; Syntax<nowiki>:</nowiki>
 
: <tt><nowiki>{{</nowiki>{{PAGENAME}}<nowiki>|</nowiki></tt>''year of death''<tt><nowiki>|</nowiki></tt>''month of death''<tt><nowiki>|</nowiki></tt>''day of death''<tt><nowiki>|</nowiki></tt>''year of birth''<tt><nowiki>|</nowiki></tt>''month of birth''<tt><nowiki>|</nowiki></tt>''day of birth''<tt><nowiki>}}</nowiki></tt>
 
 
 
; Example<nowiki>:</nowiki>
 
<nowiki>{{death date and age|1993|2|24|1941|4|12}}</nowiki><br>returns {{death date and age|1993|2|24|1941|4|12}}
 
 
 
==See also==
 
[[Template:Birth date and age]]
 
[[Category:Date mathematics templates|{{PAGENAME}}]]
 
 
 
</noinclude>
 

Latest revision as of 23:52, 7 January 2019

Template documentation[create]