Template:Ticks/doc

From Feed The Beast Wiki
Jump to: navigation, search
Template-info.png Documentation

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

  • 1: The duration in in game ticks.
  • reverse: (Optional) Write the human readable form in the article and display the ticks on hover instead.

Examples[edit source]

Code Result
{{ticks|15}}
15 ticks
{{ticks|1300}}
1300 ticks
{{ticks|1728003}}
1728003 ticks
{{ticks|2500|reverse=true}}
2 minutes 5 seconds


This is the documentation page, it should be transcluded into the main template page. See Template:Doc for more information.