Template:Time

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

00:00

[edit]

Documentation


No description yet available.

Contents

Usage

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

Parameters

Parameter name Description Default value required or optional?
parameter #1 (1) hour empty optional
parameter #2 (2) minute empty optional
parameter #3 (3) second empty optional
lang 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}} → ๑๐:๐๒:๓๐
  • {{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