Template:StatsBar
From Gigantic Wiki
Template documentation follows |
---|
Note: the template above may sometimes be partially or fully invisible. |
Visit Template:StatsBar/doc to edit this documentation. (How does this work?) |
- Description
- This template creates a horizontal bar, consisting of 10 equal parts, which can be "filled" and colored. It's a base for stats bar on hero pages, provided by Template:HeroBox.
- Syntax
- Type:
{{StatsBar|<number (0-10) or {{{parameter|}}}>|<color value>}}
- Usage example
- Code with fixed number value:
{{StatsBar|7|orange}}
- Results:
- Code for template:
{{StatsBar|{{{offense|}}}|#C43332}}
- If in template
offense = 5
, it will result: