Template:Birth based on age as of date/doc

This template calculates a person's birth year and current age based on their age as of a date. This is useful when a reliable source states only their age at the time of publication.

Syntax
(age age) The age, year, and day must be supplied as natural numbers; month can be specified as a natural number as well as by name or abbreviation (e.g. "August" or "Aug"). The Gregorian calendar is assumed, with no special support provided for dual dating or the difference between Old Style and New Style dates.

If they are not known, the "day" and "month" fields can be omitted; this is useful if, for example, only the publication year for a source is known.

Options
To suppress the age field: (age age)

With the "noage=1" option, the month and day can be "1".

To replace the '/' separator with ' or ' in compliance with WP:APPROXDATE, add 1
 * (age 50)
 * (age 50)

Examples
If, for example, a reference dated July 4, mentions that someone is 50 years old, that person's birth year and age can be rendered using: (age 50)

{	"params": { "1": {			"label": "Age", "description": "Age of subject at date of reference's publication.", "example": "55", "type": "number", "required": true },		"2": {			"label": "Year", "description": "Year of publication of reference.", "example": "1950", "type": "number", "required": true },		"3": {			"label": "Month", "description": "Month of publication of reference.", "example": "8 or August", "type": "string", "suggested": true },		"4": {			"label": "Day", "description": "Day of publication of reference.", "example": "21", "type": "number", "suggested": true },		"mos": { "label": "MOS compliance", "description": "Set to a value of 1 to replace the '/' separator with ' or ' in compliance with WP:APPROXDATE.", "example": "1", "type": "number" },		"noage": { "label": "Hide age", "description": "Set to a value of 1 to display year of birth without the age.", "example": "1", "type": "number" }	},	"description": "This template calculates the birth year and current age based on the age as of a date.", "format": "inline" }