Home  

Random  

Nearby  



Log in  



Settings  



Donate  



About Wikipedia  

Disclaimers  



Wikipedia





Wikipedia:Age calculation templates





Project page  

Talk  



Language  

Watch  

Edit  





Wikipedia uses several templates that self-update every day to keep date and age information current. These are very useful for a dynamic online encyclopedia and save users from having to regularly update that kind of information. However, when using this kind of template, a few things should be kept in mind.

Mentioning "as of" date

edit

In mirrored versions of the site as well as 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}}". For more information about self-updating as-of dates, see Wikipedia:As of.

When to use templates vs. fixed text

edit

Some of these templates, such as {{Birth date and age}} add useful metadata to biography pages, and should be used in the person's infobox or when the information is first needed in the prose. This is true whether the information updates or is fixed.

In lists, however, they should only be used where the self-updating feature is needed. Some of these templates can be complex, and will greatly add to the loading time of a page if used many times. For example, in an article like list of Prime Ministers of Canada by time in office, the template is only used for the incumbent prime minister, and fixed numbers are used for all past prime ministers.

Examples

edit

Common age calculation templates include the following. The age displayed was calculated when the page was last purged and so may not be correct for the current date.

Age

edit

Dates

edit

See also

edit

Retrieved from "https://en.wikipedia.org/w/index.php?title=Wikipedia:Age_calculation_templates&oldid=1229073955"
 



Last edited on 14 June 2024, at 18:21  


Languages

 


ି
 

Wikipedia


This page was last edited on 14 June 2024, at 18:21 (UTC).

Content is available under CC BY-SA 4.0 unless otherwise noted.



Privacy policy

About Wikipedia

Disclaimers

Contact Wikipedia

Code of Conduct

Developers

Statistics

Cookie statement

Terms of Use

Desktop