Template:Birth, death and age templates: Difference between revisions

    From Nonbinary Wiki
    (Add templates for known death date and age at death but unknown birth date)
    (Add {Age in years, months and days} to list.)
    Line 19: Line 19:
    * {{tl|Age as of date}} – current age in years, based on a known age as of a specified date
    * {{tl|Age as of date}} – current age in years, based on a known age as of a specified date
    * {{tl|Age in years and days}} – full years and days between two dates (or a specified date and current date)
    * {{tl|Age in years and days}} – full years and days between two dates (or a specified date and current date)
    *{{tl|Age in years and days textual version}} – for usage in text (uses "and" instead of the comma)
    * {{tl|Age in years and days textual version}} – for usage in text (uses "and" instead of the comma)
    * {{tl|Age in years, months and days}} – full years, months and days between two dates (or a specified date and current date)
    * {{tl|Age in days}} – age in days between two dates (or a specified date and current date)
    * {{tl|Age in days}} – age in days between two dates (or a specified date and current date)
    * {{tl|Age in days nts}} – age in days; sorts correctly in sortable tables
    * {{tl|Age in days nts}} – age in days; sorts correctly in sortable tables

    Revision as of 03:58, 24 October 2013

    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 years, months and days}} – full years, months and days between two dates (or a specified date and current date)
    • {{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