User:Rich Farmbrough/Template:Birth event age/doc


 * This template is to format birth, death/event and ages.


 * If the either date isn't given the current date is used.


 * An optional format string determines which are displayed of birth, event and age, and in which order. The most likely combinations are supported.
 * The keys are B or b for birth, D, d, E or E for death or event, and A or a for age.


 * The template uses "age of infant" template so that ages are displayed as months and days up to one year, years and months up to three years, and years beyond.


 * the dates can be displayed in international format (df=y), pseudo ISO format (iso=y) or month first format (default).

Usage








Example
Cut and paste can be used to reduce error, with just the format strings changed

born = died =

displays as

born = died =