Template:Time
00:00
This documentation is transcluded from Template:Time/doc.
No description yet available.
Usage
{{time |1= |2= |3= |lang= |5= }}
Template parameters
| Parameter | Description | Default | Status | |
|---|---|---|---|---|
1 | hour | empty | optional | |
2 | minute | empty | optional | |
3 | second | empty | optional | |
lang | empty | optional | ||
5 | empty | optional | ||
Additional information
The template is intended to be used in the following namespaces: no namespace specified
The template is intended to be used by the following user groups: no user group specified
Relies on:
Template:Formatnum
See also
{{ISOdate}} calls this template
Examples
{{time|10|2|30}}→ 10:02:30{{time|10|2}}→ 10:02{{time|10}}→ 10:00{{time|10|2|70}}→ invalid time{{time|10|2|30|lang=th}}→ 10:02:30{{time|10|2|30|20|10}}→ 06:12:30{{time|10|2|70}}→ invalid time{{#time: h:i:s|10:2:30}}→ 10:02:30{{#time: h:i:s|10:2}}→ 10:02:00{{#time: h:i:s|10}}→ Error: Invalid time.{{#time: h:i:s|10:2:30|th}}→ 10:02:30 Category:Time, date and calendar templates#Time