Template:Ticks

From RimWorld Wiki
Revision as of 01:36, 11 October 2014 by Zesty (talk | contribs) (Creating ticks (suggested usage: {{ticks|60}} will display '60 ticks' followed by a calculated value in seconds (eg. {{ticks|60}} = 60 Ticks (1.00 sec). Learning based off other pages.)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search


Convert ticks to a human readable amount of time in either seconds or minutes depending on the value given.


Usage

  • Specify the time in ticks
  • Time in seconds or minutes is automatically calculated and added after the time in ticks.
{{ticks|time in ticks}}

Examples

Example 1
The Great Bow has a cooldown period of {{ticks|255}}, making it rather slow for a ranged weapon.

The Great Bow has a cooldown period of <span style="white-space:nowrap;" title="


Template loop detected: Template:Ticks, making it rather slow for a ranged weapon.

Example 2
There are {{ticks|2500}} in one game hour, so one game day consists of {{ticks|60000}}.

There are <span style="white-space:nowrap;" title="


Template loop detected: Template:Ticks in one game hour, so one game day consists of <span style="white-space:nowrap;" title="


Template loop detected: Template:Ticks.


Choosing minutes vs. seconds

If you specifically want to show ticks converted to minutes or seconds, you can use Template:Ticks/seconds or Template:Ticks/minutes directly

Template family

See also:


<span style="white-space:nowrap;" title=" 60


Template loop detected: Template:Ticks