Rugrats Wiki
Rugrats Wiki
Template documentation follows
Note: the template above may sometimes be partially or fully invisible.
Visit Template:Birth_date_and_age/doc to edit this documentation. (How does this work?)

The {{Birth date}} and {{Birth date and age}} templates will return a person’s date of birth and optionally his/her age. They have the shortcuts {{dob}} and {{bda}}, respectively.

Using this template rather than simply inserting the date into articles allows for the inclusion of hidden metadata about the date. This metadata can be used by web browsers and other software tools to extract the details, and display them using some other website or mapping tool, index or search them.


To display the birth date only

{{Birth date|year of birth|month of birth|day of birth|additional parameters}}

Do not use with non-Gregorian dates because the resulting hCard hidden date will be false.

{{dob}} is a redirect to {{Birth date}}

{{dob|year of birth|month of birth|day of birth|additional parameters}}

To display a birth date with calculated age

{{Birth date and age|year of birth|month of birth|day of birth|additional parameters}}

This form is only intended for living persons. In the rare case that a living person's birth date is given in a non-Gregorian calendar this template should not be used. The parameter names 'year', 'month', and 'day' can be used instead of the first, second, and third parameters for 'Birth date and age' only. These parameter names are not available for the 'Birth date' template.

{{Bda}} is a redirect to {{Birth date and age}}

{{Bda|year of birth|month of birth|day of birth|additional parameters}}


{{Birth date|1993|2|4|df=yes}} returns "(1993-02-04)4 February 1993"
{{Birth date|1993|2|4|mf=yes}} returns "(1993-02-04)February 4, 1993"
{{Birth date|1993|2|24|df=yes}} returns "(1993-02-24)24 February 1993"
{{Birth date|1993|2|24|mf=yes}} returns "(1993-02-24)February 24, 1993"
{{Birth date and age|1993|2|4|mf=yes}} returns (1993-02-04) February 4, 1993 (age 28)
{{Birth date and age|1993|2|4|df=yes}} returns (1993-02-04) 4 February 1993 (age 28)
{{Birth date and age|1993|2|24|mf=yes}} returns (1993-02-24) February 24, 1993 (age 28)
{{Birth date and age|1993|2|24|df=yes}} returns (1993-02-24) 24 February 1993 (age 28)

Month First (mf) and Day First (df) options

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. This default may not be appropriate for articles about people from parts of the world where the day precedes the month in a date. In such articles the parameter, "df", should be set to display the day before the month.

The parameter "mf", while not actually used by the template, will indicate that month first format is intended. Using these parameters can assist bots or other automated processing to detect which date format is intended; leaving the format as default may lead an editor or bot to change the format to an unintended value.

Do not specify both "df" and "mf" parameters in the same use of the template, as these formats are mutually exclusive.


{{Birth date|1993|2|24|df=yes}} displays "(1993-02-24)24 February 1993".
{{Birth date and age|1993|2|24|df=yes}} displays " (1993-02-24) 24 February 1993 (age 28)".
{{Birth date|1993|2|24|mf=yes}} displays "(1993-02-24)February 24, 1993".
{{Birth date and age|1993|2|24|mf=yes}} displays " (1993-02-24) February 24, 1993 (age 28)".

hCard microformat

The templates also returns the date, hidden by CSS, in the ISO 8601 format (but not necessarily to the ISO 8601 standard) needed by hCard microformats. for example:

(<span class="bday">1993-02-24</span>)

Note: for the "foundation", "built" and similar set-up dates of companies, buildings, etc., use {{Start date}} (this will work for year-only or month-year dates).

See the microformats project for details.


When only the year of a person's birth and/or death are known, or if it is desired not to state a person's full dates of birth and death for privacy reasons, use the templates {{Birth year and age}} and {{Death year and age}} instead.

Note: The template will appear broken when the parameters are left blank (as seen above).

Note: Do not use this template inside of the Persondata template, as it can interfere with data extraction.

See also

Template:EssayTemplate:Orphaned essay Wikipedia uses several templates that self-update every day to keep date and age information current. These are very useful for a dynamic online encyclopedia and save users from having to regularly update that kind of information. However, when using this kind of template, a few things should be kept in mind.

Mentioning "as of" date

In mirrored versions of the site as well as print versions, such statistics will immediately become inaccurate. As such, they should always be accompanied by a note to indicate the date at which it was last correct. The note itself can be made self-updating along with the age calculation template by adding "as of {{FULLDATE}}". For more information about self-updating as-of dates, see Wikipedia:As of.

When to use templates vs. fixed text

Some of these templates, such as {{Birth date and age}} add useful metadata to biography pages, and should be used in the person's infobox or when the information is first needed in the prose. This is true whether the information updates or is fixed.

In lists, however, they should only be used where the self-updating feature is needed. Some of these templates can be complex, and will greatly add to the loading time of a page if used many times. For example, in an article like List of Canadian Prime Ministers by time in office, the template is only used for the incumbent prime minister, and fixed numbers are used for all past prime ministers.


Common age calculation templates include the following. Check similar templates to make sure you are using the right one for your article.


  • {{Age}}
  • {{Age nts}} – for use in sortable tables
  • {{Age in days}}
  • {{Age in days nts}} – for use in sortable tables
  • {{Age in years and days}}
  • {{Age in years and days textual version}} - for when you want to use a period in years and days in text
  • {{Age in months}}
  • {{Age in weeks}}
  • {{Age in weeks and days}}
  • {{Age in years, months, weeks and days}}
  • {{Age for infant}} – displays months and days up to one year, years and months up to three years, and years beyond


  • {{Birth date}}
  • {{Birth-date}} – works with "fuzzy" or ambiguous dates
  • {{Birth date and age}}
  • {{Birth date and age2}} – calculates age at a specified date
  • Birth based on age as of date – used when a reference mentions the age of a person as of the date of the reference's publication
  • {{Birth year and age}}
  • {{Death date}}
  • {{Death date and age}}
  • {{Death year and age}}
  • {{BirthDeathAge}} – combines the functionality of the above six birth and death templates

See also