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

From blackwiki
Jump to navigation Jump to search
blackwiki>Mike Peel
blackwiki>Gary
(updating)
Line 1: Line 1:
;Evaluate expression, add leading zero to non-negative result < 10.
+
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE -->
;{&#123; <code>0expr|</code>{&#123;<small>&#160;</small><code>CURRENTDOW</code>&#125;}&#125;} = {{0expr|{{CURRENTDOW}}}} for {{evaldemo|CURRENTDOW|2==}}
+
 
;{{evaldemo/2|#expr:|CURRENTDOW|4==}}, for details see the [[Template talk:0expr|talk page]].<noinclude>
+
=== Usage ===
 +
Evaluate expression, add leading zero to non-negative result &lt; 10.
 +
 
 +
{&#123; <code>0expr|</code>{&#123;<small>&#160;</small><code>CURRENTDOW</code>&#125;}&#125;} = {{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}}]]
</noinclude>
+
 
 +
[[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.

See also