From Legend of the Five Rings Wiki
Revision as of 12:32, 6 November 2017 by Yandere-sliver (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
Template-info.png 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