Template:Time: Difference between revisions
Appearance
No edit summary |
No edit summary |
||
(4 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<includeonly>{{#if:{{{1|}}}|{{#timef:{{{1}}}|time}}}}</includeonly><noinclude> | <includeonly>{{#if:{{{1|}}}|{{#timef:{{{1}}}|time}}}}</includeonly><noinclude>= Example: = | ||
<pre><nowiki>{{Time|2025-01-25T08:40:00}}</nowiki></pre> | |||
{{Time|2025-01-25T08:40:00}} | |||
<pre><nowiki>{{Time|{{CURRENTYEAR}}-{{CURRENTMONTH2}}-{{CURRENTDAY2}}T{{CURRENTTIME}}:00}}</nowiki></pre> | |||
{{Time|{{CURRENTYEAR}}-{{CURRENTMONTH2}}-{{CURRENTDAY2}}T{{CURRENTTIME}}:00}} | {{Time|{{CURRENTYEAR}}-{{CURRENTMONTH2}}-{{CURRENTDAY2}}T{{CURRENTTIME}}:00}} | ||
= See also: = | = See also: = | ||
* [[Template:Date]] | |||
* [[Template:Datetime]] | |||
= Template Data = | = Template Data = |
Latest revision as of 09:00, 25 January 2025
Example:
{{Time|2025-01-25T08:40:00}}
08:40
{{Time|{{CURRENTYEAR}}-{{CURRENTMONTH2}}-{{CURRENTDAY2}}T{{CURRENTTIME}}:00}}
13:10
See also:
Template Data
Shows a time, localised to the user's preference.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Time | 1 | The time on a given date, given in ISO 8601 format (YYYY-MM-DDTHH:MM:SS and optionally a time zone). | String | required |