Difference between revisions of "Template:0000expr/doc"
Jump to navigation
Jump to search
blackwiki>Dcoetzee (Like Template:0expr but adds padding zeros to get the number up to 4 digits instead of 2.) |
m (5 revisions imported) |
||
| (4 intermediate revisions by 4 users not shown) | |||
| Line 1: | Line 1: | ||
| − | Like [[Template:0expr]] but adds padding zeros to get the number up to 4 digits instead of 2. | + | {{documentation subpage}} |
| + | {{lua|Module:BaseConvert}} | ||
| + | |||
| + | Like [[Template:0expr]] but adds padding zeros to get the number up to 4 digits instead of 2. For example: | ||
| + | |||
| + | <nowiki>{{0000expr|15+2}}</nowiki> | ||
| + | |||
| + | produces: | ||
| + | |||
| + | {{0000expr|15+2}} | ||
| + | |||
| + | <includeonly> | ||
| + | <!-- CATEGORIES AND INTERWIKIS HERE, THANKS --> | ||
| + | |||
| + | </includeonly> | ||
Latest revision as of 09:04, 30 September 2020
| 40px | This is a documentation subpage for Template:0000expr. It contains usage information, categories and other content that is not part of the original template page. |
| 30px | This template uses Lua: |
Like Template:0expr but adds padding zeros to get the number up to 4 digits instead of 2. For example:
{{0000expr|15+2}}
produces:
0017