Template:Age in years/doc

From Magic: The Gathering Wiki
Jump to navigation Jump to search
This is a template documentation subpage for Template:Age in years.
It contains usage information, categories, interlanguage links and other content that is not part of the original template page.
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