Difference between revisions of "Template:Ticks/gametime/days"
< Template:Ticks | gametime
Jump to navigation
Jump to search
(Created template) |
|||
Line 1: | Line 1: | ||
<onlyinclude>{{#if: {{{1|}}} | <onlyinclude>{{#if: {{{1|}}} | ||
− | | {{formatnum: {{#vardefineecho: ticks | {{#expr: {{formatnum:{{{1|}}}|R}} }} }} }} [[Time|ticks]] ({{formatnum: {{#expr: {{#var:ticks}}/60000 round 2}} }} | + | | {{formatnum: {{#vardefineecho: ticks | {{#expr: {{formatnum:{{{1|}}}|R}} }} }} }} [[Time|ticks]] (<abbr title="there are 60,000 ticks in a day">{{formatnum: {{#expr: {{#var:ticks}}/60000 round 2}} }} in-game day{{#ifeq: {{#var:ticks}}|60000||s}}</abbr>)}}</onlyinclude> |
<noinclude>{{documentation}}</noinclude> | <noinclude>{{documentation}}</noinclude> |
Latest revision as of 10:37, 12 December 2022
Converts ticks to in-game days, so you don't have to!
Usage[edit]
- Specify the time in ticks
- Time in in-game days is automatically calculated and added after the time in ticks.
{{ticks/gametime/days|time in ticks}}
Examples[edit]
Example 1[edit]
At this rate, it will take {{ticks/gametime/days|100000}} to complete
At this rate, it will take 100,000 ticks (1.67 in-game days) to complete.
Example 2[edit]
There are {{ticks/gametime/days|900000}} in one quadrum, so one quadrum consists of {{ticks/gametime/days|900000}}.
There are 900,000 ticks (15 in-game days) in one quadrum, so one quadrum consists of 900,000 ticks (15 in-game days).
Relationship to Template:Ticks[edit]
The original Template:Ticks would only show results in real time, which isn't very useful for things that take hours, days, or even years. What sounds better? 140,000 ticks (38.89 mins) or 140,000 ticks (2.33 in-game days)?
The above documentation is transcluded from Template:Ticks/gametime/days/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. |