Template:Progress bar/doc

Usage


This template draws a progress bar. By default, the  to supply as the parameter is the percent, from 0 to 100 (e.g. 1 would mean 1%, .1 would be 0.1%). If a value isn't specified or is invalid, the bar displays 0%. Values greater than 100% will display incorrectly, although the text label will be correct.

Optional parameters

 * = height of the progress bar in pixels; defaults to 2
 * = width of the progress bar; defaults to 75%
 * = message to display after %; defaults to: completed (estimate)
 * = amount to use as the denominator (instead of 100), allows the template to compute the percentage on the fly
 * = no (or any value other than "yes", which is the default) suppresses the display of the percentage on the top line
 * = the colour of the filled portion of the progress bar
 * = the colour of the background of the progress bar
 * = the number of decimal places to round to; defaults to 1