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

From comp.tf
Jump to navigation Jump to search
(Created page with "== Usage == <nowiki>{{death date and age|year|month|day}} </nowiki><br /> == Example == <pre>{{death_date_and_age|1980|09|22}}</pre> gives: {{death_date_and_age|1980|09|2...")
 
m
 
Line 1: Line 1:
 
== Usage ==
 
== Usage ==
  
<nowiki>{{death date and age|year|month|day}} </nowiki><br />
+
<nowiki>{{death date and age|birth_year|birth_month|birth_day|death_year|death_month|death_day}} </nowiki><br />
  
 
== Example ==
 
== Example ==
  
<pre>{{death_date_and_age|1980|09|22}}</pre>
+
<pre>{{death_date_and_age|1980|09|22|2016|01|01}}</pre>
  
 
gives:
 
gives:
  
{{death_date_and_age|1980|09|22}}
+
{{death_date_and_age|1980|09|22|2016|01|01}}
 
[[Category:Source Wikipedia]]
 
[[Category:Source Wikipedia]]

Latest revision as of 06:02, 10 December 2019

Usage[edit]

{{death date and age|birth_year|birth_month|birth_day|death_year|death_month|death_day}}

Example[edit]

{{death_date_and_age|1980|09|22|2016|01|01}}

gives:

January 1, 2016 (2016-01-01) (aged 35)