Template:Time

From Mechabellum Wiki
Revision as of 20:47, 19 June 2023 by HUBA (talk | contribs) (Created page with "{{#if: {{{1|}}} | <time datetime="{{{1}}}Z" {{#if:{{{repeat|}}} | data-interval="{{{repeat}}}" }} {{#if:{{{type|}}} | data-type="{{{type}}}" }} >{{{1}}}</time> | Invalid Date }} <noinclude> <templatedata> { "params": { "1": { "aliases": [ "date" ], "label": "Date", "description": "Full date and time", "example": "2023-12-31 23:59", "type": "line", "required": true }, "repeat": { "label": "Interval", "description": "Repeat every x day...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Invalid Date

Displays date and time in local and UTC time

Template parameters

ParameterDescriptionTypeStatus
Date1 date

Full date and time

Example
2023-12-31 23:59
Linerequired
Intervalrepeat

Repeat every x days

Unknownoptional
Typetype

Set display type. "full" and "short" show date and time, "time" shows only time, "weekday" shows time with weekday. If empty defaults to short.

Suggested values
full short time weekday
Default
short
Unknownoptional