Difference between revisions of "Template:0000expr/doc"

From blackwiki
Jump to navigation Jump to search
blackwiki>GregorB
({{documentation subpage}})
blackwiki>Mr. Stradivarius
(add {{lua}} template and remove Category:Lua-based templates, as it is added by the template as well - see Wikipedia talk:Lua#Lua talk template)
Line 1: Line 1:
 
{{documentation subpage}}
 
{{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:
 
Like [[Template:0expr]] but adds padding zeros to get the number up to 4 digits instead of 2. For example:
Line 11: Line 12:
 
<includeonly>
 
<includeonly>
 
<!-- CATEGORIES AND INTERWIKIS HERE, THANKS -->
 
<!-- CATEGORIES AND INTERWIKIS HERE, THANKS -->
[[Category:Lua-based templates|{{PAGENAME}}]]
+
 
 
</includeonly>
 
</includeonly>

Revision as of 10:27, 19 July 2013

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