Module:Utilities: Difference between revisions

Jump to navigation Jump to search
Sur (talk | contribs)
m get_slot_color prefix hex with #
Sur (talk | contribs)
m get_slot_color prepare to handle more than just hex format
Line 112: Line 112:
slot = frame.args[1]
slot = frame.args[1]
end
end
local color_format = frame.args[2]
if color_format == nil then
color_format = "hex"
end
-- Utilize other formats later
if slot == nil then  
if slot == nil then