Template:Death date and age: Difference between revisions

From Vigyanwiki
mNo edit summary
mNo edit summary
Line 1: Line 1:
[[{{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>
[[{{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}}


[[Category:Date math|{{PAGENAME}}]]
[[Category:Date math|{{PAGENAME}}]]
</noinclude>
</noinclude>

Revision as of 07:32, 26 January 2007

[[ {{{3}}}]] [[{{{1}}}]] (age 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 (age Template:Age at date)