User:Habst/Birth date and age in years and days/doc

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.

This template is intended for use in an article about a living person. For an article about a dead person, use with.

Usage

 * Unnamed parameters for year, month, day

Error tracking
Some kinds of invalid input are tracked in Category:Pages using age template with invalid date.

Also see.

hCard microformat
This template also returns the date, hidden by CSS, in the ISO 8601 standard. For example:

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). Because the ISO 8601 standard requires the Gregorian calendar, this template should not be used if the date is given in the Julian calendar.

For further information, visit the microformats project.

Examples

 * Output format
 * returns ""
 * returns ""
 * returns ""

TemplateData
{	"description": "This template will return a living person's date of birth and age. 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.", "params": { "1": {			"label": "Date of birth", "description": "Year, month, and day in which the person was born. A variety of formats are accepted, see Template:Extract/doc for format description.", "type": "string", "example": "4 December 1991", "required": true }	} }