Template:Age in years: Difference between revisions
Appearance
replace with code to invoke Module:Age to improve consistency and error checking for the age templates |
m 1 revision imported |
(No difference)
|
Latest revision as of 23:29, 30 September 2020
0
![]() | This template is used on approximately 3,700 pages and changes may be widely noticed. Test changes in the template's /sandbox or /testcases subpages, or in your own user subpage. Consider discussing changes on the talk page before implementing them. |
![]() | This template uses Lua: |
Usage
{{Age in years|2000}} yields 24–25. {{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.