I posted the link to GitHub above, but I can also put code here. HTML <rolltemplate class= "sheet-rolltemplate-basicDiceRoll" > <div class= "sheet-template-container" > <div class= "sheet-template-header" > {{name}} </div> <div class= "sheet-results" > <div class= "sheet-template-row" > <span> Kość główna = {{wynik}} </span> </div> <div class= "sheet-template-row" > <span> Kość figury = {{pomoc}} </span> </div> {{ #rollGreater () computed :: wynik 3}} <div class= "sheet-template-row-won" > <span> Test zdany </span> </div> {{ /rollGreater () computed::wynik 3 }} {{ #rollLess () computed :: wynik 4}} <div class= "sheet-template-row-lost" > <span> Test niezdany </span> </div> {{ /rollLess () computed::wynik 4 }} </div> </div> </rolltemplate> CSS .sheet-rolltemplate-basicDiceRoll { display : none ; } .sheet-rolltemplate-basicDiceRoll div .sheet-template-container { border : 2px solid #000 ; border-radius : 3px 3px 3px 3px ; } .sheet-rolltemplate-basicDiceRoll .sheet-template-header { background-color : rgba ( 112 , 32 , 130 , 1 ); color : #000 ; padding : 2px ; border-bottom : 1px solid black ; text-align : center ; line-height : 1.6em ; font-size : 1.2em ; } .sheet-rolltemplate-basicDiceRoll div { padding : 5px ; border-bottom : 1px solid black ; } .sheet-rolltemplate-basicDiceRoll div :nth-child ( odd ) { background-color : rgba ( 217 , 217 , 214 , 1 ); } .sheet-rolltemplate-basicDiceRoll div :nth-child ( even ) { background-color : rgba ( 233 , 233 , 233 , 1 ); } .sheet-rolltemplate-basicDiceRoll .inlinerollresult { display : inline-block ; min-width : 1.5em ; text-align : center ; border : 2px solid rgba ( 167 , 168 , 170 , 1 ); } .sheet-rolltemplate-basicDiceRoll div .sheet-template-row-lost { color : rgb ( 202 , 11 , 11 ); } .sheet-rolltemplate-basicDiceRoll div .sheet-template-row-won { color : rgb ( 22 , 149 , 11 ); }