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:
{| style="border: 1px solid black" cellspacing=1 width={{{width|75%}}} height=15x align=center
<onlyinclude><div style="width:{{{width|100%}}}; height:{{{height|12px}}}; border: 1px solid black; background-color: #FF7F50; margin-bottom:{{{margin|1em}}}">
|+ <big>'''{{{1|0}}}%'''</big>{{{Text| completed <small>(estimate)</small>}}}
  <div style="width:{{{1|0}}}%; height:100%; background-color:#7FFF00;"></div>
|align=center width=0.{{{1|000.00}}}% style=background:#7fff00|
</div></onlyinclude>
|align=center width={{ #expr: 100-{{{1|000.00}}}}}% style=background:#ff7f50|
|}<noinclude>


{{Esoteric}}
{{tempdoc}}
 
[[Category:Templates]]
: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 <small>(estimate)</small>
 
[[pt:Predefinição:Barradeprogresso]]
 
This macro was liberated from the [http://en.wikipedia.org/wiki/Template:Progress_bar Wikipedia macro of the same name]
 
</noinclude>

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)
This template was liberated from the Wikipedia template of the same name