Difference between revisions of "Template:0expr"
Jump to navigation
Jump to search
blackwiki>Omniplex (update) |
blackwiki>Omniplex m (get rid of Nomw) |
||
| Line 1: | Line 1: | ||
<includeonly>{{{{{subst|}}}#ifexpr: 0 <= ({{{1}}}) and ({{{1}}}) < 10|0}}{{{{{subst|}}}#expr:{{{1}}}}}</includeonly><noinclude> | <includeonly>{{{{{subst|}}}#ifexpr: 0 <= ({{{1}}}) and ({{{1}}}) < 10|0}}{{{{{subst|}}}#expr:{{{1}}}}}</includeonly><noinclude> | ||
;Evaluate expression, add leading zero to non-negative result < 10. | ;Evaluate expression, add leading zero to non-negative result < 10. | ||
| − | ;{{ <code>0expr|</code>{{CURRENTDOW}}}} = {{0expr|{{CURRENTDOW}}}} for {{ | + | ;{{ <code>0expr|</code>{{<small> </small><code>CURRENTDOW</code>}}}} = {{0expr|{{CURRENTDOW}}}} for {{evaldemo|CURRENTDOW|2==}} |
| − | ;{ | + | ;{{evaldemo/2|#expr:|CURRENTDOW|4==}}, for details see the [[{{TALKPAGENAME}}|talk page]]. |
{{Category|Templates using ParserFunctions}} | {{Category|Templates using ParserFunctions}} | ||
{{Category|Date math}} | {{Category|Date math}} | ||
</noinclude> | </noinclude> | ||
Revision as of 04:39, 13 June 2006
- 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.