Template:Age

From Hattrick
Revision as of 21:43, 3 November 2010 by Jhattara (talk | contribs)

[edit] Template documentation

Explanation
Calculates the Hattrick time (years and days) that has passed from a date x until now. Typical use: automatical player age display, hence the name. For years only, use Template:AgeYears.
Syntax
{{Age | YEAR | MONTH | DAY }}
Examples
{{Age|2010|10|10}} produces 28 years and 38 days
{{Age|2009|10|10}} produces 31 years and 67 days
{{Age|2008|10|10}} produces 34 years and 96 days
{{Age|2002|10|10}} produces 54 years and 48 days