Module:ValueColor/data

local color = require( 'Module:Color' )._main local color_aghs = color({ 'aghanims' }) local color_shard = color({ 'aghshard' }) local color_tal = color({ 'talent' }) local color_aghstal = color({ 'aghstal' }) local color_gold = color({ 'gold' }) local color_xp = color({ 'experience' })

-- (string)title is used for Template:Cf

return { -- ValueColorElements ["aghs"] = 'font-weight:bold; color:' .. color_aghs .. ';',   ["shard"] = 'font-weight:bold; color:' .. color_shard .. ';',   ["aghshard"] = 'font-weight:bold; color:' .. color_aghstal .. ';',   ["aghstal"] = 'font-weight:bold; color:' .. color_aghstal .. ';',   ["shardtal"] = 'font-weight:bold; color:' .. color_aghstal .. ';',   ["gold"] = 'font-weight:bold; color:' .. color_gold .. ';',   ["xp"] = 'font-weight:bold; color:' .. color_xp .. ';',   ["tal"] = 'font-weight:bold; color:' .. color_tal .. ';',   ["10tal"] = 'font-weight:bold; color:' .. color_tal .. ';',   ["15tal"] = 'font-weight:bold; color:' .. color_tal .. ';',   ["20tal"] = 'font-weight:bold; color:' .. color_tal .. ';',   ["25tal"] = 'font-weight:bold; color:' .. color_tal .. ';',

-- Notes Usage ["notes"] = '#00A388; text-align:center; width:93px;',

["aid"]     = '#00715E; text-align:center; width:fit-content; min-width:25px;',  -- Ability ID    ["aidtitle"] = 'Ability ID',

["level"] = '#434137; text-align:center; width:60px;', ["l"] = '#434137; background-image:linear-gradient(to left, #434137 80%, ' .. color_tal .. ' 90%); text-align:center; width:45px;', ["r"] = '#434137; background-image:linear-gradient(to right, #434137 80%, ' .. color_tal .. ' 90%); text-align:center; width:45px;', ["lr"] = '#434137; background-image:linear-gradient(0.25turn, ' .. color_tal .. ' 20%, #434137 20%, #434137 80%, ' .. color_tal .. ' 80%); text-align:center; width:30px;', -- newtal 7.00 ["talents"] = '' .. color_tal .. '; text-align:center; width:60px;', -- Changelogs ["bounty"] = '#DAA520;', ["experience"] = '#70B04A;', ["aghsnotes"] = '' .. color_aghs .. '; text-align:center; width:93px;', ["shardnotes"] = '' .. color_shard .. '; text-align:center; width:93px;', ["talnotes"] = '' .. color_tal .. '; text-align:center; width:93px;', ["stealnotes"] = '#2D4925; background-image:linear-gradient(to right, #2D4925 20%, #67854A); text-align:center; width:93px;', ["morphnotes"] = '#0E345D; background-image:linear-gradient(to right, #0E345D 20%, #3CBAC0); text-align:center; width:93px;', ["bindnotes"] = '#561110; background-image:linear-gradient(to right, #561110 20%, #BA0A0B); text-align:center; width:93px;',

["cos"]     = '#4D7455; text-align:center; width:93px;', ["costitle"] = 'Affected by Cosmetic Item',

-- Summon Spirit Bear ["spirit bear"] = '#673A18; background-image:linear-gradient(to right, #673A18 20%, #CC8541); text-align:center; width:93px;', ["tempest"]     = '#150F7C; background-image:linear-gradient(to right, #150F7C 20%, #8A87BE); text-align:center; width:93px;',

-- ElderDragon ["corrosivebreath"] = '#006400; text-align:center; width:120px;', ["splashattack"] = '#DC143C; text-align:center; width:120px;', ["frostbreath"] = '#1E90FF; text-align:center; width:120px;',

-- Invoker ["q"] = '#0066FF; text-align:center; width:25px;', ["w"] = '#CC0099; text-align:center; width:25px;', ["e"] = '#E68A00; text-align:center; width:25px;',

-- Debugging ["test"] = 'blue', ["xx"] = '#FF0000', -- For Patch/Version changes not implemented. ["unreleased"] = '#FF0000', -- For VersionTableElement Unreleased/Leaked

-- Dota2 Error Message ["warning"] = '#d9534f; padding:2px 0.6em;', -- For ability casting error messages

-- CfElements (Semi-colon not needed to end style) ["added"] = '#B9500B; text-align:center; width:45px;', ["readded"] = '#B9500B; background-image:linear-gradient(to right, #8B0000 -30%, #B9500B); text-align:center; width:60px;', -- Shades from Removed to Added ["created"] = '#B9500B; text-align:center; width:60px;', ["replaced"] = '#167C13', ["restored"] = '#167C13; background-image:linear-gradient(to right, #167C13 -20%, #434137); text-align:center; width:60px;', -- Shades from Replaced to Old ["moved"] = '#3F56AD; text-align:center; width:45px;', ["removed"] = '#8B0000 ; text-align:center; width:60px;', ["reworked"] = '#434137; background-image:linear-gradient(to right, #434137 -40%, #257DAE)', -- Shades from Old to New ["old"] = '#434137; text-align:center; width:45px;', ["new"] = '#257DAE; text-align:center; width:45px;',

["u"]     = '#B44335', ["utitle"] = 'Undocumented', ["expr"]     = '#4169E1', -- Ability formula/expression tags. ["exprtitle"] = 'Ability Formula',

["split"] = '#8847FF', ["merged"] = '#8847FF', ["renamed"] = '#43692C; text-align:center; width:60px;', ["changed"] = '#CF6A32; text-align:center; width:60px;', ["at"] = '#00A388', ["update"] = '#3F56AD', -- For PatchTableElement when more than one patch is updated in a day. ["unknown"] = '#00A388', -- For VersionTableElement Unknown ["tier 1"] = '#545454', -- Neutral Items Tier ["tier 2"] = '#005900', ["tier 3"] = '#2323B2', ["tier 4"] = '#660066', ["tier 5"] = '#FFA500',

["killrewards"] = '#B28A33; text-align:center; width:93px;', -- Roshan Kill Rewards }