Template:Death date and age: Difference between revisions

From Vigyanwiki
m (Self-revert; edited wrong part. D'oh.)
m (50 revisions imported from alpha:Template:Death_date_and_age)
 
(34 intermediate revisions by 23 users not shown)
Line 1: Line 1:
<div class="boilerplate metadata plainlinks" id="tfd" style="background-color: transparent; padding: 0; font-size:xx-small; color:#000000; text-align: center;">&lsaquo; This [[Wikipedia:Template messages|template]] has been proposed for [[WP:TFD|deletion]] [[Wikipedia:Templates for deletion#Template:Death date and age|here]]&rsaquo;</div><noinclude>[[Category:Templates for deletion|Death date and age]]</noinclude><!-- all text previous to this is for TFD -->
<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 09:39, 29 April 2023

Template documentation