User:Sirwhiteout/Sandbox/YearlinkMultiverse/doc

This template converts between calendars of different settings in the D&D multiverse, using events linked to the Ravenloft calendar from the Domains of Dread sourcebook and a few other known crossover events.

Usage

 * value: Required. The numerical value of the year in the original calendar
 * input calendar: Required. The calendar in which the input year is measured
 * input calendar: Required. The desired calendar to be converted.

Supported values for input calendar and output calendar currently are:
 * Toril: Dalereckoning (DR);
 * Oerth: Common Year (CY));
 * Krynn: yers Before the Cataclysm (BC) or After the Cataclysm (AC). The output will convert negative values to the appropriate reckoning;
 * Divine domain: Barovian Year (BY).


 * nounit: Optional. Not shown above. Set this to any value (typically yes) to have the output displayed as the converted value only, with no units. Typically useful if the conversion is to be used on another template.

Example
Gives:

Under the Hood
The events and dates used to determine the conversion are the following:
 * The Ravenloft timeline;
 * The Dalereckoning date of Jander Sunstar's first appearance in Barovia:, or 452 BY (Barovian Year);
 * The Oerthian Common Year date of Azalin's first appearance in the Domains of Dread: 391 CY (Common Year), or 720 BY;
 * The Krynnish date of Lord Soth's appearance in Barovia: 357 AC (After the Cataclysm), or 720 BY;
 * The duration of the Krynnish year: in both Toril and Oerth, a year lasts 365 24-hour days, but a year on Krynn has a duration of only 360 24-hour days, so the template rounds off to the nearest integer year. Leap years have not yet been taken into account.

Several assumptions go into this conversion, so use with caution.


 * It is assumed that time passes linearly in all settings and at the same rate.
 * It is assumed that the events of a character's disappearance from their homeword and their appearance in Ravenloft are simultaneous.