Difference between revisions of "Template:0expr/doc"
Jump to navigation
Jump to search
blackwiki>Mike Peel (Recat to Category:Template documentation) |
blackwiki>Gary (updating) |
||
| Line 1: | Line 1: | ||
| − | + | <!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE --> | |
| − | + | ||
| − | + | === Usage === | |
| + | Evaluate expression, add leading zero to non-negative result < 10. | ||
| + | |||
| + | {{ <code>0expr|</code>{{<small> </small><code>CURRENTDOW</code>}}}} = {{0expr|{{CURRENTDOW}}}} for {{evaldemo|CURRENTDOW|2==}} | ||
| + | |||
| + | {{evaldemo/2|#expr:|CURRENTDOW|4==}}, for details see the [[Template talk:0expr|talk page]]. | ||
| + | |||
| + | === See also === | ||
| + | |||
| + | <includeonly> | ||
| + | <!-- CATEGORIES AND INTERWIKIS HERE, THANKS --> | ||
| + | [[Category:Templates using ParserFunctions|{{PAGENAME}}]] | ||
| + | [[Category:Date mathematics templates|{{PAGENAME}}]] | ||
[[Category:Template documentation|{{PAGENAME}}]] | [[Category:Template documentation|{{PAGENAME}}]] | ||
| − | </ | + | |
| + | [[pl:Szablon:0expr]] | ||
| + | [[pt:Predefinição:0expr]] | ||
| + | </includeonly> | ||
Revision as of 16:46, 1 June 2008
Usage
Evaluate expression, add leading zero to non-negative result < 10.
{{ 0expr|{{ CURRENTDOW}}}} = 06 for {{CURRENTDOW}} = 6
{{ #expr:{{ CURRENTDOW}}}} = 6, for details see the talk page.