Template:Progress bar/doc

From FamilySearch Wiki
< Template:Progress bar
Revision as of 10:33, 2 June 2010 by Cottrells (talk | contribs) (Created page with '{{Documentation subpage}} <!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE --> === Usage === :This template draws a progress bar. The value to supply as the…')
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Usage[edit source]

This template 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%.
Optional parameters
width = defaults to 75%
text = message to display after %; defaults to: completed (estimate)
total = amount to use as the denominator (instead of 100), allows the template to compute the percentage on the fly
header = no (or any value other than "yes", which is the default) suppresses the display of the percentage on the top line