Template:Birth-date and age/doc



Returns a person's date of birth and age.

Besides calculating the age of the person, the benefit of using this template is to allow for the inclusion of hidden metadata to be used, indexed or searched by software tools.

Typical Usage

 * Format:

Examples
{| width="100%" xclass="toccolours" style="margin-top:.5em;border:1px solid #a0a0a0;background-color:#f8f8ff;"
 * - style="text-align:left;" colspan=2
 *  Birth-date and age examples  (colors for emphasis only):
 * - style="text-align:left;line-height:1.4em;font-size:87%;"
 * style="white-space:normal;"|Month first format: Sample below displays April 12, 1941, with invisible microformat date: 1941-04-12

birth date|additional parameters}}

Interaction side-effects with other templates
Note: Do not use this template inside of the Persondata template as it can interfere with data extraction.