Template:Progress bar

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

A simple progress bar.

{{Progress bar
|width = (optional, defaults to 100%)
|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)
|background = optional, sets the color of the background behind the bar
|progress = (optional, defaults to 0%)
}}

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