<templatedata>{
"description": "This template returns the number of full years between two specified year ranges.",
"params": {
"from1": {
"label": "Year1 (\"from\" date)",
"description": "The first year of the \"from\" date",
"type": "number",
"required": false
},
"from2": {
"label": "Year2 (\"from\" date)",
"description": "The second year of the \"from\" date",
"type": "number",
"required": false
},
"from": {
"label": "Year (\"from\" date)",
"description": "If there is only one \"from\" year then use the from parameter instead of from1 and from2",
"type": "number",
"required": false
},
"to1": {
"label": "Year1 (\"to\" date)",
"description": "The first year of the \"to\" date",
"type": "number",
"required": false
},
"to2": {
"label": "Year2 (\"to\" date)",
"description": "The second year of the \"to\" date",
"type": "number",
"required": false
},
"to": {
"label": "Year (\"to\" date)",
"description": "If there is only one \"to\" year then use the to parameter instead of to1 and to2",
"type": "number",
"required": false
}
To display approximate birth year and current age given a particular date (e.g. when a dated reference mentions the age of a person), only works for living people.
To display approximate birth year and current age given several particular dates (e.g. when a dated reference mentions the age of a person), only works for living people.