Template:Time: Difference between revisions
From Mechabellum Wiki
(change parameter) |
mNo edit summary |
||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
{{#if: {{{1|}}} | <time datetime="{{{1}}}Z" | {{#if: {{{1|}}} | <time datetime="{{{1}}}Z" | ||
{{#if:{{{repeat|}}} | data-interval="{{{repeat}}}" }} | {{#if:{{{repeat|}}} | data-interval="{{{repeat}}}" }} | ||
{{#if:{{{ | {{#if:{{{show|}}} | data-type="{{{show}}}" }} | ||
>{{{1}}}</time> | Invalid Date }} | >{{{1}}} UTC</time> | Invalid Date }} | ||
<noinclude> | <noinclude> | ||
<templatedata> | <templatedata> | ||
Line 12: | Line 12: | ||
], | ], | ||
"label": "Date", | "label": "Date", | ||
"description": "Full date and time", | "description": "Full date and time in UTC", | ||
"example": "2023-12-31 23:59", | "example": "2023-12-31 23:59", | ||
"type": "line", | "type": "line", |
Latest revision as of 21:01, 19 June 2023
Invalid Date
Displays date and time in local and UTC time
Parameter | Description | Type | Status | |
---|---|---|---|---|
Date | 1 date | Full date and time in UTC
| Line | required |
Interval | repeat | Repeat every x days | Unknown | optional |
Show | show | Set display type. "full" and "short" show date and time, "time" shows only time, "weekday" shows time with weekday. If empty defaults to short.
| Unknown | optional |