Forum:Using if tags

How do I use  tags? For example, how can I make it if  > 100 (the > in here means bigger than, < means small than) but < 150 display "Over 100"?


 *   is the syntax for the #if parser function. However, #if won't quite work when you want to do. You're wanting to evaluate a mathematical expression, so you need to instead use the #ifexpr parser function. The syntax is   . For your particular example, you can try this:




 * However, this can fail if the number of articles is too great because the number will have a comma in it, as in: . To format the number appropriately, you would need to use {{formatnum:. I leave it as an exercise for you to read that page I linked and figure out how to use {{formatnum: if the commas become an issue. {{User:Mathmagician/sig|03:47 UTC|Fri|22 June 2012}}