Template:Dnidatebase/unix

From MYSTAges
Jump to: navigation, search

Documentation[edit]

This is an internal template used by Template:dnidatebase. See the documentation there for usage.

Parameters[edit]

Parameter Description
h1 Proleptic-hahr part of first D'ni date. Required.
v1 Vailee-of-hahr (name or number) part of first D'ni date. Optional. Requires h1 and v2.
y1 Yahr-of-vailee part of first D'ni date. Optional. Requires v1 and y2.
h2 Proleptic-hahr part of second D'ni date. Required.
v2 Vailee-of-hahr (name or number) part of second D'ni date. Optional. Requires h2 and v1.
y2 Yahr-of-vailee part of second D'ni date. Optional. Requires v2 and y1.
u1 Unix timestamp representing the start of the first date. Required.
u2 Unix timestamp representing the end of the second date. Required.
precision Precision of the D'ni and Gregorian dates. 0 is hahr/year-level, 1 is vailee/month-level, and 2 is yahr/day-level. Required.
hidehahr If filled, hides the hahr part of the date if possible. Optional. Requires v1 and v2 to be filled, and requires h1 and h2 to be equal.
largegregorian If filled, makes the Gregorian dates normal-sized (instead of small). Optional.
nolink If filled, removes the link(s) to BE/DE, leaving the era unlinked. Optional. Ignored if hidehahr is filled.
sformat If filled, uses the "-s"/"c." format. Optional. Ignored if v1 and v2 are filled.
tooltip If filled, places the Gregorian dates in a tooltip instead of in brackets. Optional.