Difference between revisions of "Template:Four digit"
Jump to navigation
Jump to search
en>Materialscientist m (Changed protection level for "Template:Four digit": Highly visible template ([Edit=Require template editor access] (indefinite) [Move=Require administrator access] (indefinite))) |
m (1 revision imported) |
(No difference)
|
Latest revision as of 01:39, 29 December 2018
0000
Usage
Pads a number to four digits with leading zeros.
Examples
{{Four digit|12}}
becomes 0012{{Four digit|1234}}
remains 1234{{Four digit|123456}}
remains 123456
See also
- {{Two digit}}
- {{Three digit}}
The above documentation is transcluded from Template:Four digit/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |