Template:Time/doc

From FamilySearch Wiki
Jump to: navigation, search

No description yet available.

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 [[Category:Templates]]2 [[Category:Templates]]30 [[Category:Templates]] [[Category:Templates]] [[Category:Templates]] [[Category:Templates]] [[Category:Templates]] [[Category:Templates]] [[Category:Templates]] [[Category:Templates]] [[Category:Templates]] [[Category:Templates]] [[Category:Templates]] [[Category:Templates]] [[Category:Templates]]" → "{{#invoke:Formatnum|main}}:{{#invoke:Formatnum|main}}10230" [1]
  • "{{time}}10 [[Category:Templates]]2 [[Category:Templates]] [[Category:Templates]] [[Category:Templates]] [[Category:Templates]] [[Category:Templates]] [[Category:Templates]] [[Category:Templates]] [[Category:Templates]] [[Category:Templates]] [[Category:Templates]] [[Category:Templates]] [[Category:Templates]] [[Category:Templates]] [[Category:Templates]]" → "{{#invoke:Formatnum|main}}:{{#invoke:Formatnum|main}}102" [2]
  • "{{time}}10 [[Category:Templates]] [[Category:Templates]] [[Category:Templates]] [[Category:Templates]] [[Category:Templates]] [[Category:Templates]] [[Category:Templates]] [[Category:Templates]] [[Category:Templates]] [[Category:Templates]] [[Category:Templates]] [[Category:Templates]] [[Category:Templates]] [[Category:Templates]] [[Category:Templates]]" → "{{#invoke:Formatnum|main}}:{{#invoke:Formatnum|main}}10" [3]
  • "{{time}}10 [[Category:Templates]]2 [[Category:Templates]]70 [[Category:Templates]] [[Category:Templates]] [[Category:Templates]] [[Category:Templates]] [[Category:Templates]] [[Category:Templates]] [[Category:Templates]] [[Category:Templates]] [[Category:Templates]] [[Category:Templates]] [[Category:Templates]] [[Category:Templates]] [[Category:Templates]]" → "{{#invoke:Formatnum|main}}:{{#invoke:Formatnum|main}}10270" [4]
  • "{{time}}10 [[Category:Templates]]2 [[Category:Templates]]30 [[Category:Templates]] [[Category:Templates]] [[Category:Templates]] [[Category:Templates]] [[Category:Templates]] [[Category:Templates]] [[Category:Templates]] [[Category:Templates]] [[Category:Templates]] [[Category:Templates]] [[Category:Templates]] [[Category:Templates]] [[Category:Templates]]" → "{{#invoke:Formatnum|main}}:{{#invoke:Formatnum|main}}10230" [5]
  • "{{time}}10 [[Category:Templates]]2 [[Category:Templates]]30 [[Category:Templates]]20 [[Category:Templates]]10 [[Category:Templates]] [[Category:Templates]] [[Category:Templates]] [[Category:Templates]] [[Category:Templates]] [[Category:Templates]] [[Category:Templates]] [[Category:Templates]] [[Category:Templates]] [[Category:Templates]] [[Category:Templates]]" → "{{#invoke:Formatnum|main}}:{{#invoke:Formatnum|main}}102302010" [6]
  • "{{time}}10 [[Category:Templates]]2 [[Category:Templates]]70 [[Category:Templates]] [[Category:Templates]] [[Category:Templates]] [[Category:Templates]] [[Category:Templates]] [[Category:Templates]] [[Category:Templates]] [[Category:Templates]] [[Category:Templates]] [[Category:Templates]] [[Category:Templates]] [[Category:Templates]] [[Category:Templates]]" → "{{#invoke:Formatnum|main}}:{{#invoke:Formatnum|main}}10270" [7]
  • {{#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