Usage golygu

{{Age in years|2000}} yields 23–24. {{Age in years|1900|1950}} yields 49–50.

Note that the template provides an age range: during the year 2015, someone born in 2000 is either 14 or 15 years old, depending on whether they have passed their birth date in the later year.

See also golygu

Birth, death, age
  • {{Birth date}} – displays the date and related hidden metadata
  • {{Birth date and age}} – same as {{Birth date}}, except that "(age ##)" appears after the birth date
  • {{Birth date and age2}} – displays birth date, plus age as of a specified date, "(aged ##)" appears after the birth date
  • {{Birth-date and age}} – display birth date and age, accepts dates as text (15 June 1950; June 15, 1950; June 1950; etc.)
  • {{Birth year and age}} – year of birth and approximate age
  • {{Birth based on age as of date}} – displays approximate birth year and current age; used when a dated reference mentions the age of a person as of the date of publication
  • {{Birth date based on age at death}} – displays approximate birth year based on age at death (useful if exact birth date is not known, but age at death is)
  • {{Death date}} – displays the date and related hidden metadata
  • {{Death date and age}} – same as {{Death date}}, except that "(aged ##)" appears after the death date
  • {{Death-date and age}} – display death date and age, accepts date as text (15 June 1950; June 15, 1950; June 1950; etc.)
  • {{Death date and given age}} – displays death date and specified age (useful if exact birth date is not known, but age at death is)
  • {{Death year and age}} – year of death and approximate age at death
Age only
  • {{Age}} – age based on the number of full years between two dates (or a specified date and current date)
  • {{Age nts}} – like {{Age}}, but sorts correctly in sortable tables
  • {{Age as of date}} – current age in years, based on a known age as of a specified date
  • {{Age in years and days}} – full years and days between two dates (or a specified date and current date)
  • {{Age in years and days textual version}} – for usage in text (uses "and" instead of the comma)
  • {{Age in days}} – age in days between two dates (or a specified date and current date)
  • {{Age in days nts}} – age in days; sorts correctly in sortable tables