Dota 2 Wiki
Advertisement

Documentation for Module:ValueColor/data Jump to code ↴ [ edit | purge ]

Reality Rift icon.png
▶️ Planeshift.
The documentation for this module can be found at Template:ValueColor.
You may be forwarded to another wiki language, in case a translation is not available.


Lua error in Module:Dependencies at line 14: The module appears to be empty.

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' })

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 .. ';',

-- Debugging
    ["test"] = 'blue',

-- CfElements (Semi-colon not needed to end style)
    ["added"] = '#B9500B',
    ["readded"] = '#B9500B; background-image:linear-gradient(to right, #8B0000 -30%, #B9500B)', -- Shades from Removed to Added
    ["created"] = '#B9500B',
    ["replaced"] = '#167C13',
    ["restored"] = '#167C13; background-image:linear-gradient(to right, #167C13 -20%, #434137)', -- Shades from Replaced to Old
    ["moved"] = '#3F56AD',
    ["removed"] = '#8B0000',
    ["reworked"] = '#434137; background-image:linear-gradient(to right, #434137 -20%, #257DAE)', -- Shades from Old to New
    ["old"] = '#434137; text-align:center; width:33px',
    ["new"] = '#257DAE; text-align:center; width:33px',
    ["u"] = '#B44335',
    ["split"] = '#8847FF',
    ["merged"] = '#8847FF',
    ["renamed"] = '#43692C',
    ["changed"] = '#CF6A32',
    ["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',
    ["expr"] = '#4169E1', -- Ability formula/expression tags.
    ["killrewards"] = '#B28A33 ', -- Roshan Kill Rewards
}
Advertisement