Dota 2 Wiki
No edit summary
No edit summary
Line 7: Line 7:
 
})
 
})
 
 
local colortext = {
+
colortext = {
   
 
['aghs'] = '4B69FF',
 
['aghs'] = '4B69FF',
Line 32: Line 32:
 
})
 
})
   
local tooltext = {
+
tooltext = {
   
 
['aghs'] = 'With Aghanim\'s Scepter',
 
['aghs'] = 'With Aghanim\'s Scepter',

Revision as of 07:12, 13 April 2021

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

Reality Rift icon
▶️ 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.
Reality Rift icon
▶️ Planeshift.
The documentation for this module can be found at Template:Cf.
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.

-- Color text
function p.colortext(frame)
  local args = getArgs(frame, {
    wrappers = {
      'Template:ValueColor'
    }
  })
  
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'
    }
  })

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