- Description
- Creates a percentage bar, given a number from 0 to 100.
- Syntax
{{Percentage bar|x}}
- Optional parameters
- width – The width of the bar (default: 270px).
- height – The height of the bar (default: 10px).
- color1 – The color of the left side of the bar (default: white).
- color2 – The color of the right side of the bar (default: black).
- border – The border style (default: solid 2px grey).
- style – Any additional CSS, which can override width and border.
- Example
{{Percentage bar|20}}
- Result