Template:Age

From ShadowHaven Reloaded
Revision as of 17:09, 24 September 2024 by Pocketchanger (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search


Usage

This template allows you to put in a character's date of birth, and it will automatically calculate their age based on the current in-game date. The following requirements apply:

  • All entries including Month must be in numeric format.
  • Year must be the full, 4 digit year.

So, if you enter this:

{{Age|
|Month=9
|Day=29
|Year=20
|}}

The template will return the current age of 32



The Month and Day field are both optional, if they are missing, the template will assume January and the 1st of the month. If you wish, you only need to enter a year.

If the year is not present, the template will return nothing.