This page is protected against editing.

Template:Time

From Wikimedia Commons, the free media repository
Jump to navigation Jump to search

00:00

Template documentationview · edit · history · purge ]
This documentation is transcluded from Template:Time/doc.

No description yet available.

Usage

{{time |1= |2= |3= |lang= |5= }}

Template parameters

ParameterDescriptionDefaultStatus
1houremptyoptional
2minuteemptyoptional
3secondemptyoptional
langemptyoptional
5emptyoptional

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