Template:Progress bar

From GATE
Revision as of 11:09, 15 January 2018 by Lorenzo Mancini (talk | contribs)


Use as follows:

{{Progress_bar|<numeric value>|total=<numeric value>}}

E.g.:

{{Progress_bar|14|total=200}}

gives this:

7% completed

   



Other configurable parameters:

  • height =
  • 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