From Hattrick
Revision as of 12:02, 4 November 2010 by Lleida (talk | contribs) (correct rounder age in case days are more than 66)
Jump to navigationJump to search

[edit] Template documentation

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.
{{Age | YEAR | MONTH | DAY }}
{{Age|2010|10|10}} produces 33 years 101 days
{{Age|2009|10|10}} produces 37 years 18 days
{{Age|2008|10|10}} produces 40 years 47 days
{{Age|2002|10|10}} produces 59 years 111 days