Template:Age/doc: Difference between revisions
From Hattrick
Jump to navigationJump to search
mNo edit summary |
mNo edit summary |
||
| Line 6: | Line 6: | ||
:<nowiki>{{Age|2008|10|10}}</nowiki> produces {{Age|2008|10|10}} | :<nowiki>{{Age|2008|10|10}}</nowiki> produces {{Age|2008|10|10}} | ||
:<nowiki>{{Age|2002|10|10}}</nowiki> produces {{Age|2002|10|10}} | :<nowiki>{{Age|2002|10|10}}</nowiki> produces {{Age|2002|10|10}} | ||
<noinclude>[[Category:Template documentation | <noinclude>[[Category:Template documentation]]</noinclude> | ||
<includeonly>[[Category:Date-computing templates| | <includeonly>[[Category:Date-computing templates|Age]]</includeonly> | ||
Revision as of 14:54, 4 November 2010
- Syntax
- {{Age | YEAR | MONTH | DAY }}
- Examples
- {{Age|2010|10|10}} produces 51 years and 110 days
- {{Age|2009|10|10}} produces 55 years and 27 days
- {{Age|2008|10|10}} produces 58 years and 56 days
- {{Age|2002|10|10}} produces 78 years and 8 days