Module:DropsLineTest

From Roat Pkz
Revision as of 15:57, 5 May 2024 by Hefner (talk | contribs) (Created page with "local p = {} function p.determineColor(r) if r <= 1 then return "#afeeee" elseif r <= 25 then return "#56e156" elseif r <= 100 then return "#ffed4c" elseif r <= 1000 then return "#ff863c" elseif r <= 9999999 then return "#ff6262" else return "#ffffff" end end return p")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Documentation for this module may be created at Module:DropsLineTest/doc

local p = {}

function p.determineColor(r)
    if r <= 1 then
        return "#afeeee"
    elseif r <= 25 then
        return "#56e156"
    elseif r <= 100 then
        return "#ffed4c"
    elseif r <= 1000 then
        return "#ff863c"
    elseif r <= 9999999 then
        return "#ff6262"
    else
        return "#ffffff"
    end
end

return p