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

From annadreambrush.com/wiki
Jump to navigation Jump to search
imported>Woohookitty
imported>Johnuniq
(update from sandbox: use Module:Age for better checking of dates and more consistent results)
 
(28 intermediate revisions by 19 users not shown)
Line 1: Line 1:
−
[[{{MONTHNAME|{{{2|{{{month|{{{2}}}}}}}}}}} {{{3|{{{day|{{{3}}}}}}}}}]] [[{{{1|{{{year|{{{1}}}}}}}}}]] (aged {{age at date | {{{4|{{{year|{{{4}}}}}}}}} | {{{5|{{{month|{{{5}}}}}}}}} | {{{6|{{{day|{{{6}}}}}}}}} | {{{1|{{{year|{{{1}}}}}}}}} | {{{2|{{{month|{{{2}}}}}}}}} | {{{3|{{{day|{{{3}}}}}}}}} }})
+
<includeonly>{{{{{♥|safesubst:}}}#invoke:age|death_date_and_age}}</includeonly><noinclude>{{documentation}}</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]