Template:Redneg

This template formats negative numbers so that they are displayed in red. Anything other than a negative number will be displayed as-is.

&minus;10

Pass the number to be checked for being negative as the parameter to this template. The parameter is evaluated as a formula, so some wonkiness might occur if the parameter is something other than a number. (A trailing percent sign is handled correctly, though.)