Jump to content

User:SBaker43/Bda-Dda

From Wikipedia, the free encyclopedia

To display the birth or death date with age

[edit]
{{Birth date and age|year of birth|month of birth|day of birth|additional parameters}}
{{Birth date and age|1993|02|04|mf=yes}} returns (1993-02-04) February 4, 1993 (age 31)

The df (day first) and mf (month first) parameters indicate the intended date format to display. The appropriate parameter should be set to "y" or "yes" e.g. df=yes or mf=y. The default output of this template is to display the month before the day.

{{Death date and age|year of death|month of death|day of death|year of birth|month of birth|day of birth|additional parameters}}
{{Death date and age|yyyy|mm|dd|yyyy|mm|dd|mf=yes}}
{{Death date and age|1993|2|24|1941|4|12|mf=yes}} returns February 24, 1993(1993-02-24) (aged 51)

To display the birth or death year with approximate age

[edit]
{{Birth year and age|year of birth}}
{{Birth year and age|year of birth|optional month of birth}}:
{{Death year and age|year of death|year of birth}}
{{Death year and age|year of death|year of birth|optional month of death}}