Jump to content

Template:Time: Difference between revisions

From Joepedia
No edit summary
No edit summary
Line 10: Line 10:
"1": {
"1": {
"label": "Time",
"label": "Time",
"description": "The time, given in ISO 8601 format (YYYY-MM-DDTHH:MM:SS).",
"description": "The time on a given date, given in ISO 8601 format (YYYY-MM-DDTHH:MM:SS and optionally a time zone).",
"type": "string",
"type": "string",
"required": true
"required": true

Revision as of 08:43, 25 January 2025

Example:

 {{Time|2025-01-25T08:40:00}}

08:40

 {{Time|{{CURRENTYEAR}}-{{CURRENTMONTH2}}-{{CURRENTDAY2}}T{{CURRENTTIME}}:00}}

13:18

Shows a time, localised to the user's preference.

Template parameters[Edit template data]

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
Time1

The time on a given date, given in ISO 8601 format (YYYY-MM-DDTHH:MM:SS and optionally a time zone).

Stringrequired