User:Aseleste/Templates/Local time with UTC tooltip/sandbox
Jump to navigation
Jump to search
2024-06-03T20:20:06+00:00
This is the sandbox page for User:Aseleste/Templates/Local time with UTC tooltip (diff). See also the companion subpage for test cases. |
This template should not be substituted. |
Syntax
{{User:Aseleste/Templates/Local time with UTC tooltip/sandbox | <!--1=--> <!-- Time object (optional) --> | <!--2=--> <!-- Local time format (optional, suggested) --> | <!--3=--> <!-- UTC format (optional) --> }}
Parameters
Parameter | Description |
---|---|
1
|
Time object. (optional) |
2
|
Time format for local time. (optional, suggested) |
3
|
Time format for UTC. (optional) |
Examples
Example without parameters
{{User:Aseleste/Templates/Local time with UTC tooltip/sandbox}}
2024-06-03T20:20:06+00:00
Example with 1 parameter
{{User:Aseleste/Templates/Local time with UTC tooltip/sandbox | 2024-06-03T20:20:06+00:00 }}
2024-06-03T20:20:06+00:00
Example with 2 parameters
{{User:Aseleste/Templates/Local time with UTC tooltip/sandbox | 2024-06-03T20:20:06+00:00 | r }}
Mon, 03 Jun 2024 20:20:06 +0000
Example with 3 parameters
{{User:Aseleste/Templates/Local time with UTC tooltip/sandbox | 2024-06-03T20:20:06+00:00 | r | c }}
Mon, 03 Jun 2024 20:20:06 +0000
TemplateData
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.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Time object | 1 | Time object.
| String | optional |
Local time format | 2 | Time format for local time.
| String | suggested |
UTC format | 3 | Time format for UTC.
| String | optional |