Template:Age: Difference between revisions
Jump to navigation
Jump to search
Rexster930 (talk | contribs) No edit summary Tag: Reverted |
Fix date formatting, validate calendar dates and calculate completed age |
||
| (One intermediate revision by one other user not shown) | |||
| Line 1: | Line 1: | ||
<includeonly>{{# | <includeonly>{{#invoke:Expanded dates|age}}</includeonly><noinclude> | ||
;Description | |||
:Calculates age in completed years. A 29 February birthday reaches its next age on 1 March in non-leap years. | |||
;Syntax | |||
:{{t|Age|YYYY|MM|DD}} | |||
:Optional reference date: {{t|Age|YYYY|MM|DD|ENDYEAR|ENDMONTH|ENDDAY}} | |||
;Example | |||
:{{Age|2001|02|02}} | |||
[[Category:General templates]] | [[Category:General templates]] | ||
</noinclude> | </noinclude> | ||