Wikipedia:Age calculation templates
From Wikipedia, the free encyclopedia
Templates that self-update every day are very useful for a dynamic online encyclopedia like Wikipedia. However, in mirrored versions of the site as well as future print versions, such statistics will immediately become inaccurate. As such, they should always be accompanied by a note to indicate the date at which it was last correct. The note itself can be made self-updating along with the age calculation template by adding "as of {{FULLDATE}}".
Even with a time stamp, such templates should only be used when the self-updating feature is needed, such as in an article like List of Canadian Prime Ministers by time in office or in the {{birth date and age}} template used in an infobox for a living person. For deceased people, the raw numbers should be used instead to avoid over use of templates.
Common age calculation templates include:
- {{age}}
- {{age nts}}
- {{age in days}}
- {{age in days nts}}
- {{age in years and days}}
- {{age in months}}
- {{age in weeks}}
- {{age for infant}}
- {{birth date and age}}
- {{birth year and age}}