Difference between revisions of "Template:Ticks/minutes"
Jump to navigation
Jump to search
(Moved closing parentheses which was dropping to new line when template used in a bullet list.) |
(simplification) |
||
(4 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
− | <onlyinclude>{{#if: {{{1|}}}|{{formatnum: {{#expr: {{{1|}}} }} }} [[Time|ticks]] ( | + | <onlyinclude>{{#if: {{{1|}}} |
+ | | {{formatnum: {{#vardefineecho: ticks | {{#expr: {{formatnum:{{{1|}}}|R}} }} }} }} [[Time|ticks]] (<abbr title="real-time at 1x speed">{{formatnum: {{#expr: {{#var:ticks}}/3600 round 2}} }} min{{#ifeq: {{#var:ticks}}|3600||s}}</abbr>)}}</onlyinclude> | ||
<noinclude>{{documentation}}</noinclude> | <noinclude>{{documentation}}</noinclude> |
Latest revision as of 16:04, 22 June 2022
Converts ticks to minutes, so you don't have to!
Usage[edit]
- Specify the time in ticks
- Time in minutes is automatically calculated and added after the time in ticks.
{{ticks/minutes|time in ticks}}
Examples[edit]
Example 1[edit]
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[edit]
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[edit]
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. |