Difference between revisions of "Template:Ticks/gametime/quadrums"

From RimWorld Wiki
Jump to navigation Jump to search
(Created template.)
 
m ("in-game hour" -> "quadrum")
Line 1: Line 1:
 
<onlyinclude>{{#if: {{{1|}}}
 
<onlyinclude>{{#if: {{{1|}}}
  | {{formatnum: {{#vardefineecho: ticks | {{#expr: {{formatnum:{{{1|}}}|R}} }} }} }}&nbsp;[[Time|ticks]] ({{formatnum: {{#expr: {{#var:ticks}}/900000round 2}} }}&nbsp;<abbr title="there are 900,000 ticks in a quadrum">in-game hour{{#ifeq: {{#var:ticks}}|900000||s}}</abbr>)}}</onlyinclude>
+
  | {{formatnum: {{#vardefineecho: ticks | {{#expr: {{formatnum:{{{1|}}}|R}} }} }} }}&nbsp;[[Time|ticks]] ({{formatnum: {{#expr: {{#var:ticks}}/900000round 2}} }}&nbsp;<abbr title="there are 900,000 ticks in a quadrum">quadrum{{#ifeq: {{#var:ticks}}|900000||s}}</abbr>)}}</onlyinclude>
 
<noinclude>{{documentation}}</noinclude>
 
<noinclude>{{documentation}}</noinclude>

Revision as of 00:30, 11 November 2022

Documentation icon Template documentation[view] [edit] [history] [purge]

Converts ticks to in-game quadrums, so you don't have to!

Usage

  • Specify the time in ticks
  • Time in quadrums is automatically calculated and added after the time in ticks.
{{ticks/gametime/quadrums|time in ticks}}

Examples

Example 1
At this rate, it will take {{ticks/gametime/quadrums|1000000}} to complete

At this rate, it will take 1,000,000 ticks (1.11 quadrums) to complete.

Example 2
There are {{ticks/gametime/quadrums|3600000}} in one in-game day, so one in-game day consists of {{ticks/gametime/quadrums|3600000}}.

There are 3,600,000 ticks (4 quadrums) in one year, so one in-game year consists of 3,600,000 ticks (4 quadrums).


Relationship to Template:Ticks

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? 1,600,000 ticks (444.44 mins) or 1,600,000 ticks (1.78 quadrums)?