Difference between revisions of "Template:Timespan"
From Space Engineers Wiki
Vox Serico (talk | contribs) m (Corrected parameter 0 to be 1) |
Vox Serico (talk | contribs) m (Fixed missing bracket. Removed unnecessary pipes.) |
||
Line 2: | Line 2: | ||
Takes a duration in seconds and formats it. | Takes a duration in seconds and formats it. | ||
− | -->{{#ifexpr:{{{1|0}}} >= 86400|{{#expr: floor {{{1|0}}}/86400)}} days  | + | -->{{#ifexpr:{{{1|0}}} >= 86400|{{#expr: floor ({{{1|0}}}/86400)}} days }}<!-- |
− | -->{{#ifexpr:{{{1|0}}} >= 3600|{{#expr: {{{1|0}}}/3600 mod 24}} hours  | + | -->{{#ifexpr:{{{1|0}}} >= 3600|{{#expr: {{{1|0}}}/3600 mod 24}} hours }}<!-- |
− | -->{{#ifexpr:{{{1|0}}} >= 60|{{#expr: {{{1|0}}}/60 mod 60}} minutes  | + | -->{{#ifexpr:{{{1|0}}} >= 60|{{#expr: {{{1|0}}}/60 mod 60}} minutes }}<!-- |
-->{{#expr: {{{1|0}}} mod 60}} seconds<!-- | -->{{#expr: {{{1|0}}} mod 60}} seconds<!-- | ||
--><noinclude>[[Category:Templates]]</noinclude> | --><noinclude>[[Category:Templates]]</noinclude> |
Revision as of 00:38, 19 November 2020
0 seconds