Template:Time: Difference between revisions
No edit summary |
No edit summary |
||
(10 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<includeonly>{{#if:{{{1|}}}|{{#timef:{{{1 | <includeonly>{{#if:{{{1|}}}|{{#timef:{{{1}}}|time}}}}</includeonly><noinclude>= Example: = | ||
Example: | <pre><nowiki>{{Time|2025-01-25T08:40:00}}</nowiki></pre> | ||
{{Time|2025-01-25T08:40:00}} | |||
{{Time| | |||
<pre><nowiki>{{Time|{{CURRENTYEAR}}-{{CURRENTMONTH2}}-{{CURRENTDAY2}}T{{CURRENTTIME}}:00}}</nowiki></pre> | |||
{{Time| | {{Time|{{CURRENTYEAR}}-{{CURRENTMONTH2}}-{{CURRENTDAY2}}T{{CURRENTTIME}}:00}} | ||
= See also: = | |||
* [[Template:Date]] | |||
* [[Template:Datetime]] | |||
= Template Data = | |||
<templatedata> | <templatedata> | ||
{ | { | ||
Line 10: | Line 16: | ||
"1": { | "1": { | ||
"label": "Time", | "label": "Time", | ||
"description": "The time, given in ISO 8601 format ( | "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 |