Module:Leading zeros/doc

< Module:Leading zeros
Revision as of 23:31, 15 July 2021 by Zoran (talk | contribs) (Pywikibot 6.4.0)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

This is the documentation page for Module:Leading zeros

Template:Module rating This module is created for Template:SEHK. It is able to strip all leading zeros from the value (0001 to 1), while showing "Incorrect" as a error message when a non-numeric value is inputted. This module can be implemented to different template, if applicable.

Usage

{{#invoke:Leading zeros |stripzeros |"number-goes-here"}}