Template:Age range
Appearance
File:Test Template Info-Icon - Version (2).svg Template documentation[view] [edit] [history] [purge]
Usage
This template returns the number of full years between two specified year ranges.
Example
{{age range|from1=1900|from2=1910|to1=1980|to2=1990}}
69–90
{{age range|from1=1900|from2=1910|to=1980}}
69–80
TemplateData
This template returns the number of full years between two specified year ranges.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Year1 ("from" date) | from1 | The first year of the "from" date | Number | optional |
| Year2 ("from" date) | from2 | The second year of the "from" date | Number | optional |
| Year ("from" date) | from | If there is only one "from" year then use the from parameter instead of from1 and from2 | Number | optional |
| Year1 ("to" date) | to1 | The first year of the "to" date | Number | optional |
| Year2 ("to" date) | to2 | The second year of the "to" date | Number | optional |
| Year ("to" date) | to | If there is only one "to" year then use the to parameter instead of to1 and to2 | Number | optional |