Template:Age/doc

Description
This template provides automatically generated age. This template used in User infobox at Age section. The template can be used for the difference between two dates in years.

Usage
All parameters is important. Template can be written as YYYY. It also can be written as YYYY if month or day of birth less than 10.

YYYY (where YYYY is year of birth)
 * First unnamed parameter

MM (where MM is month of birth)
 * Second unnamed parameter

DD (where DD is day of birth)
 * Third unnamed parameter

Examples

 * 1900 --> 124 (124 years between 23 April, 1900 and 27 August, 2024)
 * 1997 --> 26
 * 67 --> 57 (3rd of March, 67 AD)
 * 2030 --> 0 (if date isn't began that template generate a negative number)

de:Vorlage:Age fr:Modèle:Age pl:Szablon:Age pt:Predefinição:Age ru:Шаблон:Возраст zh:Template:Age