You do not have permission to edit this page, for the following reason:
You can view and copy the source of this page.
local p = {}
function p.c ( frame )
local life = tonumber(frame.args['life'])
local storm = tonumber(frame.args['storm'])
local necro = tonumber(frame.args['necro'])
local flame = tonumber(frame.args['flame'])
local nature = tonumber(frame.args['nature'])
life_color = '#f6d32d'
storm_color = '#3584e4'
necro_color = '#77767b'
flame_color = '#e01b24'
nature_color = '#33d17a'
multi_color = '#9141ac'
local color_counter = life + storm + necro + flame + nature
if color_counter ~= 1 then
return multi_color
end
if life == 1 then
return life_color
elseif storm == 1 then
return storm_color
000
1:0
Template used on this page:
Return to Module:ESColor.