Template:Age in years/doc
Jump to navigation
Jump to search
<templatestyles src="Module:Message box/ombox.css"></templatestyles>
40px | This is a documentation subpage for Template:Age in years. It contains usage information, categories and other content that is not part of the original template page. |
<templatestyles src="Module:Message box/ombox.css"></templatestyles>
40px | This template is used on approximately 1,100 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. |
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