Template:ProgressBar

From Mineral Fish
Jump to navigation Jump to search

Creates a simple progress bar that takes up the maximum available horizontal space. The bar will always be on its own line.

Template parameters[Edit template data]

ParameterDescriptionTypeStatus
Heightheight

The height of the progress bar, in pixels.

Default
20
Example
50
Numbersuggested
Background colorbgcolor

The background color of the progress bar. Can be any color type CSS supports, like #rrggbb.

Default
#dd0000
Example
#000000
Lineoptional
Progressprogress

The percentage of the progress in the progress bar.

Default
50
Example
10
Numberrequired
Progress colorprogresscolor

The color of the left part of the progress bar.

Default
#00ee00
Example
#ffffff
Numberoptional

Example usage:

{{ProgressBar|height=100|progress=10|progresscolor=orange|bgcolor=lightgray}}