From Fedora Project Wiki
(New page: {| style="border: 1px solid black" cellspacing=1 width={{{width|75%}}} height=15x align=center |+ <big>'''{{{1|0}}}%'''</big>{{{Text| completed <small>(estimate)</small>}}} |align=center...) |
(Modernized this a bit, but also made it much more lean. It's now just a progress bar without text) |
||
(One intermediate revision by one other user not shown) | |||
Line 1: | Line 1: | ||
<onlyinclude><div style="width:{{{width|100%}}}; height:{{{height|12px}}}; border: 1px solid black; background-color: #FF7F50; margin-bottom:{{{margin|1em}}}"> | |||
<div style="width:{{{1|0}}}%; height:100%; background-color:#7FFF00;"></div> | |||
</div></onlyinclude> | |||
{{ | {{tempdoc}} | ||
[[Category:Templates]] | |||
[[ | |||
Latest revision as of 08:18, 29 June 2010
Template documentation [edit]
- This documentation is transcluded from Template:Progress bar/doc. It will not be transcluded on pages that use this template.
This draws a progress bar, the value to supply as the parameter is the percent, from 0 to 0.01 or 0.99 to 1 or 1.01 to 99.99 or 100. 14 would mean 14%, .14 would be 0.14%. If you don't specify a value, it returns 0%.
Options:
- Width: defaults to 75%
- Text: message to display after %; defaults to: completed (estimate)