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

From annadreambrush.com/wiki
Jump to navigation Jump to search
imported>Daemonic Kangaroo
(Undid revision 111611478 by 64.251.52.249 Remove obscenities)
imported>MZMcBride
(+note)
Line 8: Line 8:
 
; Example<nowiki>:</nowiki>
 
; 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}}
 
<nowiki>{{death date and age|1993|2|24|1941|4|12}}</nowiki><br>returns {{death date and age|1993|2|24|1941|4|12}}
 +
 +
<span style="font-weight:bold; color:#CC0000">Note</span>: The template will appear broken when the parameters are left blank (as seen above).
  
 
==See also==
 
==See also==
 
[[Template:Birth date and age]]
 
[[Template:Birth date and age]]
 
[[Category:Date mathematics templates|{{PAGENAME}}]]
 
[[Category:Date mathematics templates|{{PAGENAME}}]]
 
 
</noinclude>
 
</noinclude>

Revision as of 01:38, 31 March 2007

[[ {{{3}}}]] [[{{{1}}}]] (aged Template:Age at date)

Returns a person's date of death and his/her age at that date.

Syntax:
{{Death date and age|year of death|month of death|day of death|year of birth|month of birth|day of birth}}
Example:

{{death date and age|1993|2|24|1941|4|12}}
returns February 24 1993 (aged Template:Age at date)

Note: The template will appear broken when the parameters are left blank (as seen above).

See also

Template:Birth date and age