Template:Age

From eRepublik Official Wiki
Revision as of 06:55, 30 April 2020 by Andycro (Talk | contribs) (usage added)

Jump to: navigation, search

Age template is used to calculate the time between two dates. If no date, or incomplete date, is selected an error message shows error with the input.

To properly calculate date please use the following formula:

{{Age|Older Year|Older Month|Older Day|Newer Year|Newer Month|Newer Day}}

If only one date is selected it calculates time from today to til date.

{{Age|Year|Month|Day}}

Please do not use names for months, use numbers.

Examples

{{Age|1989|7|23}} → 30 years, 9 months and 7 days
{{Age|1989|7|23|2003|7|24}} → 14 years and 1 day
{{Age|2007|03|02|2008|03|02}} → 1 year