Module:Color: Difference between revisionsGive feedback
m souls and healing properly localized; added english column to write_previews |
m redirects for Souls and Healing to their respective key |
||
| (One intermediate revision by the same user not shown) | |||
| Line 4: | Line 4: | ||
-- Hash for color values | -- Hash for color values | ||
local colors_data = { | local colors_data = { | ||
["CitadelCategoryWeapon"] = { | ["CitadelCategoryWeapon"] = { | ||
hex = "d5903f", | |||
rgb = "213,144,63", | |||
hsl = "30,70%,54%", | |||
cmyk = "0%,32%,70%,16%" | |||
}, | |||
["CitadelCategoryArmor"] = { | ["CitadelCategoryArmor"] = { | ||
hex = "74b01c", | |||
rgb = "116,176,28", | |||
hsl = "88,73%,40%", | |||
cmyk = "34%,0%,84%,31%" | |||
}, | |||
["CitadelCategoryTech"] = { --spirit | ["CitadelCategoryTech"] = { --spirit | ||
hex = "c288f0", -- purple | hex = "c288f0", -- purple | ||
| Line 209: | Line 209: | ||
key == "Tech") then | key == "Tech") then | ||
key = "CitadelCategory" .. key | key = "CitadelCategory" .. key | ||
elseif (key == "Souls") then | |||
key = "Citadel_LaneStats_Souls" | |||
elseif (key == "Healing") then | |||
key = "Citadel_Profile_Stats_Healing" | |||
end | end | ||
local color_data = colors_data[slot] | local color_data = colors_data[slot] | ||