Template:Age

From The Infosphere, the Futurama Wiki
Revision as of 13:16, 16 April 2009 by Svip (talk | contribs)
Jump to navigation Jump to search
Documentation for {{age}}

Use

This template calculates the current age of a person, if date of birth is known. It depends on {{curfutyear}} to get the current Futurama year.

Usage

Each parameter is optional, if day is not supplied, null will be assumed, if month is not supplied, null will be assumed, if year is not supplied, the current year (not Futurama year) is assumed.

{{age[|<year>[|<month>[|<day>]]]}}

Examples

Input
{{age}}
Output
Expression error: Unexpected < operator.
Input
{{age|2990}}
Output
Expression error: Unexpected < operator.
Input
{{age|2995|5}}
Output
28
Input
{{age|2998|2|4}}
Output
26
Input
{{age|1975|10|8}}
Output
1048