Template:Progress bar

From BlogNomic Wiki
Revision as of 14:52, 20 December 2023 by Kevan (talk | contribs) (a fix for negative values)
Jump to navigation Jump to search


Template for displaying a progress bar, for use on a gamestate page.

Usage

Regular

{{progress bar|3|7}} produces:

  3/7  


Overfilled bars are capped at the maximum:

  10/7  


Negative numbers show as empty:

  -2/7  


Specify units

{{progress bar|3|7|players}} produces:

  3/7 players  


Colour

{{progress bar|3|7|color=#f90}} produces:

  3/7