Template:Hcard-bday/doc

Purpose
This template creates an inline hCard microformat for a person, with their date of birth (and optionally age, if living), using either birth date or birth date and age.

For inline hCards for a building, organisation or place, see Hcard-geo).

Use
The template has five parameters:


 * 1) name = the person's name (becomes hCard's "fn" class).
 * 2) template type = "birth date" or "birth date and age" (emits data formatted in hCard's bday class; do not use the latter for dead people)
 * 3) birth year = four digits
 * 4) birth month = two digits
 * 5) birth day = two digits

Copyable code
Overwrite place-holder text; remove " and age" if subject is dead:

Living
which may be written in one line, as:

gives:

lorem ipsum

Dead
For a dead person (or where age is simply not desired)

gives:

lorem ipsum