Difference between revisions of "Template:Time"
Jump to navigation
Jump to search
(Created page with "{{#ifexpr: ( {{#if: {{{1|}}} | {{{1}}} | 0 }} > 23 ) or ( {{#if: {{{2|}}} | {{{2}}} | 0 }} > 59 ) or ( {{#if: {{{3|}}} | {{{3}}} | 0 }} > 59 ) or ( {{#ifeq: {{lc: {{#if: {{{4|...") |
(No difference)
|
Latest revision as of 18:42, 20 January 2022
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
⧼Seealso⧽
{{ISOdate}} calls this template
Examples
- Template:Xpdoc
- Template:Xpdoc
- Template:Xpdoc
- Template:Xpdoc
- Template:Xpdoc
- Template:Xpdoc
- Template:Xpdoc
{{#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