Template:Progress bar

From Shifti
Revision as of 01:45, 4 January 2008 by Bryan (talk | contribs)
Jump to navigation Jump to search
{{#if:|
{{{from}}}
}}{{#if:|
{{{to}}}
}}

A simple progress bar.

{{Progress bar
|width = optional, defaults to 100%. Use percentage or pixels, as desired.
|from = optional, text to put at the left edge of the bar
|to = optional, text to put at the right edge of the bar
|color= optional, sets the color of the progress bar (defaults to a light blue)
|background = optional, sets the color of the background behind the bar (defaults to white)
|progress = optional, defaults to 0%. Use a percentage to ensure maximum flexibility.
}}

Obviously, one will want to put some sort of percentage figure into the progress parameter.