Content deleted Content added
test count=1 edge case |
No edit summary |
||
Line 31:
count = tonumber(count)
formated_count = mw.getContentLanguage():formatNum( count )
-- 0-9,999 is shades of green▼
▲ if count == 1 then plural = ''
elseif count < 2000 then id_fc = '#FFFFFF'; id_c = '#347235'; info_fc = '#000000'; info_c = '#728C00'
elseif count < 3000 then id_fc = '#FFFFFF'; id_c = '#6AA121'; info_fc = '#000000'; info_c = '#52D017'
|