Template:StatsBar/doc
From Gigantic Wiki
- 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: