Difference between revisions of "Template:Age"
Jump to navigation
Jump to search
(Undo revision 113196 by 98.102.156.130 (talk). What were you trying to do?) |
(Replaced content with "{{age/doc|1995}} = 17") |
||
Line 1: | Line 1: | ||
{{age/doc|1995}} = 17 |
Revision as of 01:06, 6 June 2012
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
- Template loop detected: Template:Age/doc = 17
- Input
{{age|2990}}
- Output
- Template loop detected: Template:Age/doc = 17
- Input
{{age|2995|5}}
- Output
- Template loop detected: Template:Age/doc = 17
- Input
{{age|2998|2|4}}
- Output
- Template loop detected: Template:Age/doc = 17
- Input
{{age|1975|10|8}}
- Output
- Template loop detected: Template:Age/doc = 17 = 17