Module:Utilities: Difference between revisionsGive feedback
Jump to navigation
Jump to search
m get_slot_color prefix hex with # |
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 | ||