Module:Sandbox/GauTest/Township: Difference between revisions

no edit summary
No edit summary
No edit summary
Line 708: Line 708:
local color = modifier < 0 and 'red' or 'green'
local color = modifier < 0 and 'red' or 'green'
local modifier_value = Shared.numStrWithSign(modifier)
local modifier_value = Shared.numStrWithSign(modifier)
table.insert(ret, '\r\n|style="background-color:'..color..'"|<b>'..modifier_value'</b>')
table.insert(ret, '\r\n|style="background-color:'..color..'"|<b>'..modifier_value..'</b>')
end
end
else
else
572

edits