Template:Age in years
Jump to navigation
Jump to search
- Description
- This template returns the number of years between a given year and the current year, or between two specified years. It prints only a single value (e.g. "20 years"), not a range. The value will be approximated if either year is approximate (e.g. use "c." or the {{circa}} template).
- Sample output
{{Age in years|4500}}
gives...
- approx. 64 years
{{Age in years|10|20}}
gives...
- 10 years
{{Age in years|c. 10|20}}
gives...
- approx. 10 years
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.
Add categories and interwikis to the /doc subpage. Subpages of this template.
Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages.
Add categories and interwikis to the /doc subpage. Subpages of this template.