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

From RimWorld Wiki
Jump to navigation Jump to search
(Created template.)
 
(Done at request)
 
(One intermediate revision by one other user not shown)
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]] (<abbr title="there are 900,000 ticks in a quadrum">{{formatnum: {{#expr: {{#var:ticks}}/900000round 2}} }}&nbsp;quadrum{{#ifeq: {{#var:ticks}}|900000||s}}</abbr>)}}</onlyinclude>
 
<noinclude>{{documentation}}</noinclude>
 
<noinclude>{{documentation}}</noinclude>

Latest revision as of 10:38, 12 December 2022

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

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

Usage[edit]

  • 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[edit]

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