Template:Age (smw)
From Familypedia
Template documentation (for the above template, sometimes hidden or invisible)
Purpose: For SMW articles, prints out the age of the person for the article, or if specified, the person specified in the first operand.
Parameter: (optional) Person name. If specified, calculates the age of the individual. Otherwise, the age of the subject of the article is calculated.
Notes:
- Minimum requirements: birth year for the individual must be available via SMW. Otherwise, no age is returned
- If day or month are not specified, day=1 and month =1 is used.
- If a death date is not specified, then current year, month and day are used for calculating age.
- For people born or died between 100 BCE and 100 AD, results are undefined.
