Template:Dnidate2

From MYSTAges
Jump to: navigation, search

Documentation[edit]

This template can be used to present a range of D'ni dates, alongside the corresponding Gregorian dates, in a readable format. This is a wrapper template for Template:dnidatebase, alongside Template:dnihahr, Template:dnihahr2, Template:dnidate, and Template:journaldate.

Vaileetee/yahrtee are only individually displayed if they are specified for both dates, though they will regardless be taken into account when calculating the Gregorian dates.

Note: As the D'ni New Hahr is slowly moving backwards through the Gregorian calendar year over time, this template will produce incorrect Gregorian conversions for dates in the far-future/past if no vaileetee/yahrtee are specified, due to the simplified conversion formula that this template uses. However, all relevant dates, from the earliest known Before Earth dates to the present day, are well within those boundaries.

Parameters[edit]

Parameter Description
1 h1 Proleptic-hahr part of first D'ni date. The proleptic hahr is negative for BE hahrtee; eg. 207 BE would be -207. Required.
2 h2 Proleptic-hahr part of second D'ni date. Optional. Requires h1.
3 v1 Vailee-of-hahr (name or number) part of first D'ni date. Optional. Requires h1.
4 v2 Vailee-of-hahr (name or number) part of second D'ni date. Optional. Requires h2.
5 y1 Yahr-of-vailee part of first D'ni date. Optional. Requires v1.
6 y2 Yahr-of-vailee part of second D'ni date. Optional. Requires v2.
hidegregorian If filled, hides the Gregorian dates. Optional.
hg
hidehahr If filled, hides the hahr part of the date if possible. Optional. Requires v1 and v2 to be filled, and requires either h2 to not be filled or h1 and h2 to be equal.
hh
largegregorian If filled, makes the Gregorian dates normal-sized (instead of small). Optional. Ignored if hidegregorian is filled.
lg
nolink If filled, removes the link(s) to BE/DE, leaving the era unlinked. Optional. Ignored if hidehahr is filled.
nl
sformat If filled, uses the "-s"/"c." format; see examples on Template:dnihahr2. Optional. Requires h2. Ignored if v1 and v2 are filled.
tooltip If filled, places the Gregorian dates in a tooltip instead of in brackets. Optional. Ignored if hidegregorian is filled.
tt

Examples[edit]

Wikitext Output
{{dnidate2|6731|6977|Leevofo|Leevotar|27|17}}
Leevofo 27, 6731 – Leevotar 17, 6977 DE (November 23, 926 – March 1, 679 BCE)
{{dnidate2|h1=9411|v1=Leefo|h2=9411|v2=Leevosahn|y2=1}}
Leefo–Leevosahn 9411 DE (April 1755 – January 1756 CE)
{{dnidate2|9475|9475|Leevot|Leevot|19|28|hh=y}}
Leevot 19–28 (October 7–20, 1819 CE)
{{dnidate2|9673|9674|Leevotar|Leevobro|14|24|lg=y}}
Leevotar 14, 9673 – Leevobro 24, 9674 DE (February 23 – December 26, 2018 CE)
{{dnidate2|-85|7947|Leenovoo|nl=y}}
85 BE – 7947 DE (7741 BCE – 292 CE)
{{dnidate2|6731|6977|Leevofo|Leevotar|27|17|tt=y}}
Leevofo 27, 6731 – Leevotar 17, 6977 DE

Redirects[edit]