Legend of the Five Rings Wiki
Register
Advertisement
Template-info Documentation

This template trims the first two (2) zeroes from the beginning of the supplied value.

The main idea for using this macro is the Set ID for the LCG which doesn't have leading zeroes and therefore doesn't sort correctly on string sort. So store the value with leading zeroes for internal use but display the values without leading zeroes.

  • Usage: {{TrimLeft0|007}}
  • Returns: 7
Advertisement