Module:Color: Difference between revisionsGive feedback
Jump to navigation
Jump to search
m write_previews initial |
m order added for write_previews sake |
||
| Line 141: | Line 141: | ||
cmyk = "0%,63%,18%,35%" | cmyk = "0%,63%,18%,35%" | ||
} | } | ||
} | |||
local colors_order = { | |||
"CitadelCategoryWeapon", | |||
"CitadelCategoryArmor", | |||
"CitadelCategoryTech", | |||
"Souls", | |||
"Healing", | |||
"hero_atlas", | |||
"hero_wraith", | |||
"hero_viscous", | |||
"hero_orion", | |||
"hero_hornet", | |||
"hero_inferno", | |||
"hero_forge", | |||
"hero_haze", | |||
"hero_ghost", | |||
"hero_mirage", | |||
"hero_lash", | |||
"hero_gigawatt", | |||
"hero_yamato", | |||
"hero_warden", | |||
"hero_bebop", | |||
"hero_chrono", | |||
"hero_dynamo", | |||
"hero_shiv" | |||
} | } | ||
| Line 232: | Line 257: | ||
local rows = "" | local rows = "" | ||
local row | local row | ||
for key | for i, key in ipairs(colors_order) do | ||
local hex = | local hex = colors_data[key]['hex'] | ||
row = '' | row = '' | ||
row = row .. "<td>" .. key .. "</td>" | row = row .. "<td>" .. key .. "</td>" | ||