Template:Age in years
Revision as of 09:11, 28 February 2018 by en>Johnuniq (replace with code to invoke Module:Age to improve consistency and error checking for the age templates)
0
This template is used on approximately 3,300 pages, so changes to it will be widely noticed. Please test any changes in the template's /sandbox or /testcases subpages, or in your own user subpage. Please consider discussing changes on the talk page before implementing them. |
This template uses Lua: |
Usage
{{Age in years|2000}} yields 23–24. {{Age in years|1900|1950}} yields 49–50.
Note that the template provides an age range: during the year 2015, someone born in 2000 is either 14 or 15 years old, depending on whether they have passed their birth date in the later year.
See also
The above documentation is transcluded from Template:Age in years/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |