Template:Age

From Hattrick
Revision as of 15:35, 4 July 2011 by Nightwish (talk | contribs) (Reverted edits by Brishcanae (Talk) to last revision by Lleida)
Jump to navigationJump to search

[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 33 years and 101 days
{{Age|2009|10|10}} produces 37 years and 18 days
{{Age|2008|10|10}} produces 40 years and 47 days
{{Age|2002|10|10}} produces 59 years and 111 days