Template:Align Ticks/doc

From RimWorld Wiki
< Template:Align Ticks
Revision as of 21:59, 19 September 2022 by Ickputzdirwech (talk | contribs) (category)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Summary

This table can be used to align ticks. This might be useful in tables and lists. It has two parameters:

  • The first parameter is the number of ticks. They will be converted using {{Ticks}}.
  • The second parameter is the expected maximum length of the first parameter.

Examples

{{Align Ticks|1|2}}
{{Align Ticks|10|2}}

0tick (0.02 secs)

10 ticks (0.17 secs)

Default length is seven:

{{Align Ticks|10,000}}
{{Align Ticks|100,000}}

010,000 ticks (2.78 mins)

100,000 ticks (27.78 mins)

Maximum length is seven:

{{Align Ticks|1|7}}
{{Align Ticks|10|7}}
{{Align Ticks|100|7}}
{{Align Ticks|1,000|7}}
{{Align Ticks|10,000|7}}
{{Align Ticks|100,000|7}}
{{Align Ticks|1,000,000|7}}

0,000,00tick (0.02 secs)

0,000,010 ticks (0.17 secs)

0,000,100 ticks (1.67 secs)

0,001,000 ticks (16.67 secs)

0,010,000 ticks (2.78 mins)

0,100,000 ticks (27.78 mins)

1,000,000 ticks (277.78 mins)