I have the following info : {{ margin = $[[1]] }}, resulting from a previous calculation I'm using rolltemplate-custom a little customized My pb is quite simple, i want to display the key/value in green when value is >=0, and in red when value <0 I have tried to use {{#rollGreater() margin -1}} and {{#rollLess() margin 0}} to be able to set the style color to green or red But it seems not working, may be because margin is not directly a roll result, or that margin is not anymore a number but a text now So there is probably another way to do :)