Difference between revisions of "Template:Expr"

From blackwiki
Jump to navigation Jump to search
imported>Wikid77
(created, as a utility template, to remind to use {# expr: } not "{expr}" to calculate an expression.)
 
imported>Unbuttered Parsnip
m (I don't know why the example is not in black - it makes the colon very hard to spot)
Line 1: Line 1:
<br><span style="color:#EE9900; darkorange">'''To calculate an expression''' use <nowiki>{{</nowiki>[[Help:expr|#expr]]: 3*4^2<nowiki>}}</nowiki> not "expr".</span><noinclude>
+
<br><span style="color:#EE9900; darkorange">'''To calculate an expression''' use <nowiki>{{</nowiki>[[Help:expr|#expr]]''':''' 3*4^2<nowiki>}}</nowiki> not "expr".</span><noinclude>
  
 
<br>The '''[[Template:Expr]]''' explains to use the [[wp:Parser function]] "#expr" to calculate an expression, rather than using <nowiki>"{{expr}}"</nowiki> which triggers this template.
 
<br>The '''[[Template:Expr]]''' explains to use the [[wp:Parser function]] "#expr" to calculate an expression, rather than using <nowiki>"{{expr}}"</nowiki> which triggers this template.

Revision as of 07:57, 11 November 2012


To calculate an expression use {{#expr: 3*4^2}} not "expr".


The Template:Expr explains to use the wp:Parser function "#expr" to calculate an expression, rather than using "{{expr}}" which triggers this template.

For more details, see:  Help:expr (Help:Calculation).