10,977
editsMore actions
Tolerate empty argument (return empty string).
(Accept mathematical expressions.) |
(Tolerate empty argument (return empty string).) |
||
Line 1: | Line 1: | ||
<includeonly>{{#ifexpr: {{{1}}} > 0 | + }}{{#expr: {{{1}}} }}</includeonly><noinclude> | <includeonly>{{#if: {{{1|}}} | {{#ifexpr: {{{1}}} > 0 | + }}{{#expr: {{{1}}} }} }}</includeonly><noinclude> | ||
Adds a plus sign in front of a number if it's positive. Also accepts mathematical expressions. Example: | Adds a plus sign in front of a number if it's positive. Also accepts mathematical expressions. Example: | ||