Template:Duration/doc: Revision history

Diff selection: Mark the radio buttons of the revisions to compare and hit enter or the button at the bottom.
Legend: (cur) = difference with latest revision, (prev) = difference with preceding revision, m = minor edit.

    26 June 2022

    • curprev 01:2101:21, 26 June 2022Naginreed talk contribs 1,102 bytes +1,102 Created page with "{{Doc/start}} Formats a duration given in seconds. ===Usage=== <nowiki>{{duration|s|format}}</nowiki> If the second parameter is given (any non-whitespace character will do), the format will be like dd:hh:mm:ss. If the second parameter is empty, the format will be like 1d 4h 23m 2s. Seconds will be rounded to 3 digits. ===Examples=== * <code><nowiki>{{duration|20}}</nowiki></code> creates {{duration|20}} * <code><nowiki>{{duration|140}}</nowiki></code> creates {{durat..."