Template:Progress bar: Difference between revisions
Jump to navigation
Jump to search
add color parameters |
No edit summary |
||
| Line 8: | Line 8: | ||
<pre> | <pre> | ||
{{Progress bar | {{Progress bar | ||
|width = | |width = optional, defaults to 100%. Use percentage or pixels, as desired. | ||
|from = | |from = optional, text to put at the left edge of the bar | ||
|to = | |to = optional, text to put at the right edge of the bar | ||
|color= | |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 | |background = optional, sets the color of the background behind the bar (defaults to white) | ||
|progress = | |progress = optional, defaults to 0%. Use a percentage to ensure maximum flexibility. | ||
}} | }} | ||
</pre> | </pre> | ||
Revision as of 01:45, 4 January 2008
{{#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.