Module:Age/doc

Module:Age implements the following templates:

The age templates expect the older date to be first. The implementations of  and   display an error message if that is not the case. If similar checking is wanted for other templates,  can be added to the invoke. For example, age might use: If  does not apply, a negative difference is indicated with a minus sign (−).

Dates can use numbered or named parameters to specify year/month/day. Alternatively, a full date can be entered in a variety of formats. For example:
 * → 11 years, 1 month
 * → 22 years, 9 months
 * → 24 years, 7 months
 * → 22 years, 9 months
 * → 24 years, 7 months
 * → 24 years, 7 months

If the first or second date is omitted, the current date is used. For example:
 * → 24 years, 7 months
 * → 24 years, 7 months
 * → 12 years, 1 month
 * → 12 years, 7 months
 * → 24 years, 7 months
 * → 24 years, 7 months
 * → 24 years, 7 months
 * → 23 years, 6 months
 * → 24 years, 7 months
 * → 24 years, 7 months
 * → 24 years, 7 months
 * → 24 years, 7 months