Difference between revisions of "Template:Ticks"
Jump to navigation
Jump to search
m (Hopefully done now.) |
m (Changed protection level for "Template:Ticks": protection no longer required ([Edit=Allow only autoconfirmed users] (expires 20:16, 1 February 2023 (UTC)))) |
||
(38 intermediate revisions by 10 users not shown) | |||
Line 1: | Line 1: | ||
− | <includeonly> | + | <includeonly>{{#ifexpr: {{formatnum:{{{1|}}}|R}} < 3600 |
− | + | | {{ticks/seconds | {{{1|}}} }} | |
− | {{# | + | | {{ticks/minutes | {{{1|}}} }} |
− | + | }}</includeonly><noinclude> | |
− | </includeonly> | + | {{documentation}} |
− | <noinclude> | ||
− | {{ | ||
− | |||
</noinclude> | </noinclude> |
Latest revision as of 19:16, 1 February 2023
Convert ticks to a human readable amount of time in either seconds or minutes depending on the value given.
Usage[edit]
- Specify the time in ticks
- Time in seconds or minutes is automatically calculated and added after the time in ticks.
{{ticks|time in ticks}}
Examples[edit]
Example 1[edit]
The Great Bow has a cooldown period of {{ticks|255}}, making it rather slow for a ranged weapon.
The Great Bow has a cooldown period of 255 ticks (4.25 secs), making it rather slow for a ranged weapon.
Example 2[edit]
There are {{ticks|2500}} in one game hour, so one game day consists of {{ticks|60000}}.
There are 2,500 ticks (41.67 secs) in one game hour, so one game day consists of 60,000 ticks (16.67 mins).
Choosing minutes vs. seconds[edit]
If you specifically want to show ticks converted to minutes or seconds, you can use Template:Ticks/seconds or Template:Ticks/minutes directly
Template family[edit]
- Template:Ticks
See also:
The above documentation is transcluded from Template:Ticks/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |