Template:Bar/doc
Template:Bar
This template displays a simple progress-style bar used for visualizing statistics such as speed, acceleration, etc.
Usage
Basic usage:
{{Bar}}
With custom width and orange color:
{{Bar|width=70%|color=orange}}
Full customization:
{{Bar|width=90%|color=blue|height=12px}}
Parameters
| Parameter | Description | Default | Example |
|---|---|---|---|
width |
Width of the filled portion (in % or px). | 50% |
92%
|
color |
Color of the filled portion. | green |
orange, #4caf50
|
height |
Height of the bar container. | 10px |
12px
|