Template:Dnidate

From MYSTAges
Jump to: navigation, search

Documentation[edit]

This template can be used to present a single D'ni date, alongside the corresponding Gregorian dates, in a readable format. This is a wrapper template for Template:dnidatebase, alongside Template:dnihahr, Template:dnihahr2, and Template:dnidate2. Also see Template:journaldate for D'ni dates in journal transcriptions.

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 h Proleptic-hahr part of D'ni date. The proleptic hahr is negative for BE hahrtee; eg. 207 BE would be -207. Required.
2 v Vailee-of-hahr (name or number) part of first D'ni date. Optional. Requires h1.
3 y Yahr-of-vailee part of first D'ni date. Optional. Requires v.
hidegregorian If filled, hides the Gregorian part of the date. Optional.
hg
hidehahr If filled, hides the hahr part of the date if possible. Optional. Requires v.
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
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
{{dnidate|9462|Leevobro|13}}
Leevobro 13, 9462 DE (December 12–13, 1806 CE)
{{dnidate|9411|Leefo|hh=y}}
Leefo (April–May 1755 CE)
{{dnidate|8|Leevot|9|hg=y}}
Leevot 9, 8 DE
{{dnidate|9462|Leevobro|4|nl=y}}
Leevobro 4, 9462 DE (November 30 – December 2, 1806 CE)
{{dnidate|9462|7}}
Leevobro 9462 DE (November 1806 – January 1807 CE)
{{dnidate|7656|7|29|lg=y}}
Leevobro 29, 7656 DE (December 31, 1 BCE – January 2, 1 CE)
{{dnidate|6977|Leevotar|17|tt=y}}
Leevotar 17, 6977 DE

Commonly-used dates[edit]

For other dates, refer to the timeline.

Redirects[edit]