Template:AgeOSR

From NationStates Sports Wiki
Revision as of 19:31, 1 January 2025 by Osarius (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Usage

Template specifically for figuring out ages based on the Osarian/Cobre calendar. Requires a birth date in yyyy-mm-dd format in parameters 1, 2, and 3. Also takes an optional "code" referring to an event, or a "year" parameter.

Specify an event

Events can be specified using a code. The list of which can be seen at SpecDate/OSR.

For example: {{AgeOSR|2200|9|1|code=AOCAF50}} will return (2200-09-01)September 1, 2200 (age 25), which is the age of a person born on September 1st, 2200 at the start of AOCAF Cup 50.

Specify a year

Alternatively, a year parameter can be passed (or set to "dy"; this will default to an approximation based on the RL date).

For example: {{AgeOSR|2200|9|1|year=2230}} will return (2200-09-01)September 1, 2200 (age 29-30), which is the possible ages of a person born on September 1st, 2200 at an undetermined point in the year 2230.

Similarly, {{AgeOSR|2300|9|1|year=df}} will return (2300-09-01)September 1, 2300 (age 38-39), which is the possible ages of a person born on September 1st, 2300 at an undetermined point in the estimated "current" year (2339) based on the RL date (12:10, Saturday, May 16, 2026 (UTC)).