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

From comp.tf
Jump to navigation Jump to search
m
m
 
Line 4: Line 4:
  
 
== Example ==
 
== Example ==
 
=== Present tense ===
 
  
 
<pre>{{birth_date_and_age|1980|09|22}}</pre>
 
<pre>{{birth_date_and_age|1980|09|22}}</pre>
Line 12: Line 10:
  
 
{{birth_date_and_age|1980|09|22}}
 
{{birth_date_and_age|1980|09|22}}
 
=== Past tense ===
 
 
<pre>{{birth_date_and_age|1980|09|22|past}}</pre>
 
 
gives:
 
 
{{birth_date_and_age|1980|09|22|past}}
 
 
[[Category:Source Wikipedia]]
 
[[Category:Source Wikipedia]]

Latest revision as of 12:21, 9 December 2019

Usage[edit]

{{birth date and age|year|month|day}}

Example[edit]

{{birth_date_and_age|1980|09|22}}

gives:

September 22, 1980 (1980-09-22) (age 44)