Template:Stat Bar/doc

Revision as of 11:49, 28 October 2024 by imported>Koanyan5028 (Created page with "{{Stat Bar|amount=30|stat=speed}} This template can be used to create a Stat Bar that indicates maximum amount of potions that can be consumed. The <code>amount</code> argment is used to pass the maximum amount of potions that can be consumed. Valid values: <code>0</code>, <code>5</code>, <code>10</code>, <code>15</code>, <code>20</code>, <code>25</code>, <code>30</code> The bar color can be specified by the <code>stat</code> argment with stat name (e.g. defense),...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

30/30 ■■■■■■■■■■

This template can be used to create a Stat Bar that indicates maximum amount of potions that can be consumed.


The amount argment is used to pass the maximum amount of potions that can be consumed.

Valid values: 0, 5, 10, 15, 20, 25, 30


The bar color can be specified by the stat argment with stat name (e.g. defense), or the color argment with color code to use arbitrary color. The stat argment has higher priority if both are used.

Examples

Code:

{{Stat Bar|stat=defense|amount=15}}

Result:

15/30 ■■■■■□□□□□

Code:

{{Stat Bar|color=#55ffff|amount=20}}

Result:

20/30 ■■■■■■□□□□

Code:

{| class="wikitable"
|-
! [[Speed]]
! {{Stat Bar|stat=speed|amount=30}}
|}

Result:

Speed 30/30 ■■■■■■■■■■