Template:Age/doc: Difference between revisions
From Hattrick
Jump to navigationJump to search
Created page with ';Syntax :<nowiki>{{Age | YEAR | MONTH | DAY }}</nowiki> ;Examples :<nowiki>{{Age|2010|10|10}}</nowiki> produces {{Age|2010|10|10}} :<nowiki>{{Age|2009|10|10}}</nowiki> produces {…' |
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> | <noinclude>[[Category:Template documentation|Age]]</noinclude> | ||
<includeonly>[[Category:Date-computing templates|{{PAGENAME}}]]</includeonly> | <includeonly>[[Category:Date-computing templates|{{PAGENAME}}]]</includeonly> | ||
Revision as of 14:53, 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