Jump to content

User:Aseleste/Templates/Local time with UTC tooltip/doc

From Wikipedia, the free encyclopedia

Syntax

[edit]
{{User:Aseleste/Templates/Local time with UTC tooltip
| <!--1=--> <!-- Time object (optional) -->
| <!--2=--> <!-- Local time format (optional, suggested) -->
| <!--3=--> <!-- UTC format (optional) -->
}}

Parameters

[edit]
Parameters for User:Aseleste/Templates/Local time with UTC tooltip
Parameter Description
1 Time object. (optional)
2 Time format for local time. (optional, suggested)
3 Time format for UTC. (optional)

Examples

[edit]

Example without parameters

[edit]
{{User:Aseleste/Templates/Local time with UTC tooltip}}

2024-11-02T23:38:15+00:00

Example with 1 parameter

[edit]
{{User:Aseleste/Templates/Local time with UTC tooltip
| 2024-11-02T23:38:15+00:00
}}

2024-11-02T23:38:15+00:00

Example with 2 parameters

[edit]
{{User:Aseleste/Templates/Local time with UTC tooltip
| 2024-11-02T23:38:15+00:00
| r
}}

Sat, 02 Nov 2024 23:38:15 +0000

Example with 3 parameters

[edit]
{{User:Aseleste/Templates/Local time with UTC tooltip
| 2024-11-02T23:38:15+00:00
| r
| c
}}

Sat, 02 Nov 2024 23:38:15 +0000

TemplateData

[edit]
This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. See a monthly parameter usage report for Template:Aseleste/Templates/Local time with UTC tooltip in articles based on its TemplateData.

TemplateData for Aseleste/Templates/Local time with UTC tooltip

Produces text representing local time that when hovered over, produces text representing UTC.

Template parameters

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
Time object1

Time object.

Default
Current time.
Stringoptional
Local time format2

Time format for local time.

Default
ISO 8601 formatted date.
Stringsuggested
UTC format3

Time format for UTC.

Default
Local time format.
Stringoptional