See www.zabbix.com for the official Zabbix site.

Template:Progress

From Zabbix.org
Jump to: navigation, search


Taken from http://wiki.openstreetmap.org/wiki/Template:Progress

This template can show the progress of e.g. a task inside a table cell with a background color.

How it will look like

Entered value will appear in front of the percent sign.

Range Display Comment
(empty)  ? status unknown
0 to 19 11% no or little data
20 to 39 29% partial data
40 to 59 54% halfway there
60 to 79 65% largely complete
80 to 99 91% almost complete
100 100% complete
100+ 100% complete (verified)

Usage

Everything before:

{|
  [...]
|-
| Something

This is the table cell having a coloured background:

| {{Template:Progress|[here comes your percentage]}}

Everything after:

| Something
  [...]
|}

The percentage can be an integer or a float. E.g. 53.2 works as well.


If you don't want the percentage being displayed just add a second parameter with the alternate text (shouldn't be empty as it's not working then).

| {{Template:Progress|23|[[Image:48 g printer on.png]]}}

would become something like this:

48 g printer on.png