4,951
edits
Falterfire (talk | contribs) (Formatting fixes) |
Falterfire (talk | contribs) (more formatting fixes) |
||
Line 442: | Line 442: | ||
result = result..'\r\n| style ="text-align: right;padding: 0 0.5em 0 0;' | result = result..'\r\n| style ="text-align: right;padding: 0 0.5em 0 0;' | ||
if statValue > 0 then | if statValue > 0 then | ||
result = result..'color:lightgreen;' | result = result..'background-color:lightgreen;' | ||
elseif statValue < 0 then | elseif statValue < 0 then | ||
result = result..'color:lightpink;' | result = result..'background-color:lightpink;' | ||
end | end | ||
result = result..'"|'..Shared.formatnum(statValue) | result = result..'"|'..Shared.formatnum(statValue) | ||
Line 457: | Line 457: | ||
result = result..'\r\n| style ="text-align: right;padding: 0 0.5em 0 0;' | result = result..'\r\n| style ="text-align: right;padding: 0 0.5em 0 0;' | ||
if statValue > 0 then | if statValue > 0 then | ||
result = result..'color:lightgreen;' | result = result..'background-color:lightgreen;' | ||
elseif statValue < 0 then | elseif statValue < 0 then | ||
result = result..'color:lightpink;' | result = result..'background-color:lightpink;' | ||
end | end | ||
result = result..'"|'..Shared.formatnum(statValue) | result = result..'"|'..Shared.formatnum(statValue) | ||
Line 493: | Line 493: | ||
result = result..'\r\n| style ="text-align: right;padding: 0 0.5em 0 0;' | result = result..'\r\n| style ="text-align: right;padding: 0 0.5em 0 0;' | ||
if statValue > 0 then | if statValue > 0 then | ||
result = result..'color:lightgreen;' | result = result..'background-color:lightgreen;' | ||
elseif statValue < 0 then | elseif statValue < 0 then | ||
result = result..'color:lightpink;' | result = result..'background-color:lightpink;' | ||
end | end | ||
result = result..'"|'..Shared.formatnum(statValue) | result = result..'"|'..Shared.formatnum(statValue) |