Dota 2 Wiki
Advertisement

Documentation for Template:ValueColor [ view | edit | purge ]

Usage

Display and color code ability values in the note section for better readability.

{{ValueColor|<number of values>|<insert value here>|<source>}}

If there's one value, color and displays one value; If there are multiple values, color and display each values with / separating the values.

Sub Templates

Definition

Attribute Description
Number of Values Amount of values to be color coded.
Upgrade Source
  • aghs, shard and tal.
  • aghstal and shardtal are the same color.
Color Code Follows Template:Ability's color coding for the values upgraded.

Example

Usable for any number of values. But 1, 3, 4, 7 values are common.

  • {{ValueColor|1|20|tal}}20
  • {{ValueColor|3|20/40/60|aghs}}20/40/60
  • {{ValueColor|4|20/40/60/80|shard}}20/40/60/80
  • {{ValueColor|5|10/20/30/40/50|aghstal}} or {{ValueColor|5|10/20/30/40/50|shardtal}}10/20/30/40/50
  • {{ValueColor|7|15/25/35/45/55/65/75|tal}}15/25/35/45/55/65/75

Usable for showing tooltip for level 10/15/20/25 talents as well.

  • {{ValueColor|1|20|10tal}}20
  • {{ValueColor|3|20/25/30|15tal}}20/25/30
  • {{ValueColor|4|20/21/22/23|20tal}}20/21/22/23
  • {{ValueColor|5|1/2/3/4/5|25tal}}1/2/3/4/5

Usable for chaining Gold Gold and XPXP values as well.

  • {{Gold|{{ValueColor|3|180/240/300|gold}}|x}}180/240/300 Gold
  • {{XP|{{ValueColor|3|180/240/300|XP}}|x}}180/240/300XP

There is also an option to omit the tooltip with x as the 4th parameter.

  • {{ValueColor|3|100/200/300|aghs|x}}100/200/300
  • {{ValueColor|4|15/25/35/45|tal|x}}15/25/35/45

See Also

Advertisement