Template:Progress color

From Team Fortress Wiki
Revision as of 22:27, 4 March 2011 by Seb26 (talk | contribs) (Examples: fix example)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

C0C0C0

Documentation for Progress color

Outputs a different hex color depending on value. Available in 5 increments (80, 60, 40, 20, 1 and 0).

Parameters

1 (first parameter)
Percentage value.
80, 60, 40, 20, 0
Custom hex values.
2 (second parameter) or default
Custom hex value for the default parameter.

Standard usage

{{progress color|57}}

Examples

See edit code.

  • 80
  • 60
  • 40
  • 20
  • 1
  • 0 (default)