Template:BirthDeathAge

From The Tower of Babel
Revision as of 13:43, 25 April 2025 by Sysop (talk | contribs)

This template displays a person's birth and/or death year, or full birth and/or death date, with or without the person's age. It therefore combines the functionality of the following templates:

  • {{tl|Birth date text}}
  • {{tl|Birth date}}
  • {{tl|Birth date and age}} – same as {{tl|Birth date}}, except that "(age ##)" appears after the birth date
  • {{tl|Birth year and age}} – year of birth and approximate age
  • {{tl|Death date text}}
  • {{tl|Death date}}
  • {{tl|Death date and age}} – same as {{tl|Death date}}, except that "(aged ##)" appears after the death date
  • {{tl|Death year and age}} – year of death and approximate age at death
The minimum information required by the template is a birth or death year.

Template parameters[Edit template data]

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
11

Insert 'B' for a birth date, leave blank for a death date.

Suggested values
B
Auto value
Stringsuggested
Year of birth2

no description

Default
Example
1942
Numbersuggested
Month of birth3

as a number

Default
Example
1
Numbersuggested
Day of birth4

no description

Default
Example
31
Numbersuggested
Year of death5

no description

Default
Example
2006
Numbersuggested
Month of death6

as a number

Default
Example
12
Numbersuggested
Day of death7

no description

Default
Example
21
Numbersuggested
Date format8

Set this to "yes" to display the day before the month.

Suggested values
yes
Default
Stringsuggested