Template:Duration/doc

Format a time value, input in seconds.

Usage
Number, time in seconds. Any valid #expr string is accepted.
 * First unnamed parameter

Greatest unit of the output. Can be any of seconds, minutes (default), hours, days, and weeks, or s, m, h, d, and w for short, respectively.
 * Second unnamed parameter

Rounding level for decimal seconds, 2 by default.
 * round