Difference between revisions of "Template:Ticks/minutes"
Jump to navigation
Jump to search
m ( ) |
m ( ) |
||
Line 1: | Line 1: | ||
− | <onlyinclude>{{#if: {{{1|}}}|{{formatnum: {{#expr: {{formatnum:{{{1|}}}|R}} }} }} [[Time|ticks]] (<abbr title="real-time at 1x speed">{{formatnum: {{#expr: ({{formatnum:{{{1|}}}|R}}/3600)round 2}} }} {{#ifeq: {{formatnum:{{{1|}}}|R}}|3600|min|mins}}</abbr>)}}</onlyinclude> | + | <onlyinclude>{{#if: {{{1|}}}|{{formatnum: {{#expr: {{formatnum:{{{1|}}}|R}} }} }} [[Time|ticks]] (<abbr title="real-time at 1x speed">{{formatnum: {{#expr: ({{formatnum:{{{1|}}}|R}}/3600)round 2}} }} {{#ifeq: {{formatnum:{{{1|}}}|R}}|3600|min|mins}}</abbr>)}}</onlyinclude> |
<noinclude>{{documentation}}</noinclude> | <noinclude>{{documentation}}</noinclude> |
Revision as of 10:14, 22 June 2022
Converts ticks to minutes, so you don't have to!
Usage
- Specify the time in ticks
- Time in minutes is automatically calculated and added after the time in ticks.
{{ticks/minutes|time in ticks}}
Examples
Example 1
The Great Bow has a cooldown period of {{ticks/minutes|255}}, making it rather slow for a ranged weapon.
The Great Bow has a cooldown period of 255 ticks (0.07 mins), making it rather slow for a ranged weapon.
Example 2
There are {{ticks/minutes|2500}} in one game hour, so one game day consists of {{ticks/minutes|60000}}. Figures specified in seconds assume the game is being played at normal speed.
There are 2,500 ticks (0.69 mins) in one game hour, so one game day consists of 60,000 ticks (16.67 mins). Figures specified in seconds assume the game is being played at normal speed.
Relationship to Template:Ticks
The original Template:Ticks would only show results in seconds. This was extremely hard to read for longer tick values. For example, it takes 45000 ticks to make recon armor. Would you rather hear that it takes 45,000 ticks (750 secs) or 45,000 ticks (12.5 mins)?
The above documentation is transcluded from Template:Ticks/minutes/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. |