Template:Progress bar

From BlogNomic Wiki
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  

A question mark can be used for an unknown value, which shows as empty and greyed out:

  ?/7  

Specify units

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

  3/7 players  

Colour

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

  3/7  

Omit limit

The total after the slash can be omitted in situations where it's considered unnecessary.

{{progress bar|33|100|cm|omit=1}} produces:

  33 cm