▶️
Planeshift.
The documentation for this module can be found at Template:ValueColor/El.
You may be forwarded to another wiki language, in case a translation is not available.
- Color data is stored in Module:ValueColor/data
- Tooltip data is stored in Module:ValueColor/tooltextdata
Lua error in Module:Dependencies at line 14: The module appears to be empty.
local p = {}
-- Color text
function p.colortext(frame)
local args = getArgs(frame, {
wrappers = {
'Template:ValueColor'
}
})
local colortext = {
["aghs"] = '4B69FF',
["shard"] = 'A50F79',
["aghshard"] = '4D7455',
["aghstal"] = '4D7455',
["shardtal"] = '4D7455',
["gold"] = 'DAA520',
["xp"] = '70B04A',
["10tal"] = 'CF6A32',
["15tal"] = 'CF6A32',
["20tal"] = 'CF6A32',
["25tal"] = 'CF6A32',
}
end
-- Tooltip text
function p.tooltext(frame)
local args = getArgs(frame, {
wrappers = {
'Template:ValueColor'
}
})
local tooltext = {
["aghs"] = 'With Aghanim\'s Scepter',
["shard"] = 'With Aghanim\'s Shard',
["aghshard"] = 'With Aghanim\'s Scepter and Aghanim\'s Shard',
["aghstal"] = 'With Aghanim\'s Scepter and Talent',
["shardtal"] = 'With Aghanim\'s Shard and Talent',
["gold"] = 'Bounty',
["xp"] = 'Experience',
["10tal"] = 'With level 10 Talent',
["15tal"] = 'With level 15 Talent',
["20tal"] = 'With level 20 Talent',
["25tal"] = 'With level 25 Talent',
}
end
return p