Difference between revisions of "Template:Ticks/gametime/years"
< Template:Ticks | gametime
Jump to navigation
Jump to search
(Created templates) |
(Done at request) |
||
Line 1: | Line 1: | ||
<onlyinclude>{{#if: {{{1|}}} | <onlyinclude>{{#if: {{{1|}}} | ||
− | | {{formatnum: {{#vardefineecho: ticks | {{#expr: {{formatnum:{{{1|}}}|R}} }} }} }} [[Time|ticks]] ({{formatnum: {{#expr: {{#var:ticks}}/3600000round 2}} }} | + | | {{formatnum: {{#vardefineecho: ticks | {{#expr: {{formatnum:{{{1|}}}|R}} }} }} }} [[Time|ticks]] (<abbr title="there are 3,600,000 ticks in an year">{{formatnum: {{#expr: {{#var:ticks}}/3600000round 2}} }} year{{#ifeq: {{#var:ticks}}|3600000||s}}</abbr>)}}</onlyinclude> |
<noinclude>{{documentation}}</noinclude> | <noinclude>{{documentation}}</noinclude> |
Revision as of 10:38, 12 December 2022
Converts ticks to in-game years, so you don't have to!
Usage
- Specify the time in ticks
- Time in years is automatically calculated and added after the time in ticks.
{{ticks/gametime/years|time in ticks}}
Examples
Example 1
At this rate, it will take {{ticks/gametime/years|30000000}} to complete
At this rate, it will take 30,000,000 ticks (8.33 years) to complete.
Example 2
In {{ticks/gametime/years|36000000}}, the planetkiller will arrive, so all of your colonists will die in {{ticks/gametime/years|36000000}}.
In 36,000,000 ticks (10 years), the planetkiller will arrive, so all of your colonists will die in 36,000,000 ticks (10 years).
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? 60,000,000 ticks (16,666.67 mins) or 60,000,000 ticks (16.67 years)?
The above documentation is transcluded from Template:Ticks/gametime/years/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. |