Difference between revisions of "Template:0expr"
Jump to navigation
Jump to search
blackwiki>Omniplex m (trim) |
blackwiki>Omniplex (update) |
||
| Line 1: | Line 1: | ||
| − | {{#ifexpr: | + | <includeonly>{{{{{subst|}}}#ifexpr: 0 <= ({{{1}}}) and ({{{1}}}) < 10|0}}{{{{{subst|}}}#expr:{{{1}}}}}</includeonly><noinclude> |
| − | ;Evaluate expression, add leading zero to | + | ;Evaluate expression, add leading zero to non-negative result < 10. |
;{{ <code>0expr|</code>{{CURRENTDOW}}}} = {{0expr|{{CURRENTDOW}}}} for {{Nomw|CURRENTDOW}} | ;{{ <code>0expr|</code>{{CURRENTDOW}}}} = {{0expr|{{CURRENTDOW}}}} for {{Nomw|CURRENTDOW}} | ||
;{{ <code>#expr:</code>{{CURRENTDOW}}}} = {{#expr:{{CURRENTDOW}}}}, for details see the [[{{TALKPAGENAME}}|talk page]]. | ;{{ <code>#expr:</code>{{CURRENTDOW}}}} = {{#expr:{{CURRENTDOW}}}}, for details see the [[{{TALKPAGENAME}}|talk page]]. | ||
Revision as of 05:08, 11 June 2006
- Evaluate expression, add leading zero to non-negative result < 10.
- {{
0expr|{{CURRENTDOW}}}} = 06 for Template:Nomw - {{
#expr:{{CURRENTDOW}}}} = 6, for details see the talk page.