This template is used to convert a value in in-game ticks to a human readable value in seconds, minutes, hours and days.
The duration in ticks will be written, and the human readable version will be visible by hovering over the tick duration.
Parameters
- 1: The duration in in game ticks.
- 2, reverse: (Optional) Write the human readable form in the article and display the ticks on hover instead.
Examples
Code | Result |
---|---|
{{ticks|15}} |
15 ticks |
{{ticks|1300}} |
1300 ticks |
{{ticks|1728003}} |
1728003 ticks |
{{ticks|2500|reverse=true}} |
2 minutes 5 seconds |
{{ticks|3550|true}} |
2 minutes 57.5 seconds |
This is the documentation page, it should be transcluded into the main template page. See Template:Doc for more information.