Template:Armorbar

From BTA-Mirror
Revision as of 00:27, 22 March 2023 by imported>Ttv pedro270707 (Added alt)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
[view | edit | history | purge]Documentation

This template implements a Minecraft-like armor bar.

Arguments[edit source]

Argument Default value Note
size 18 Sets the size of each armor point.
value 0 Sets the amount of armor points.
total 0 Sets the total amount of armor points. Use if empty armor points are needed after the filled armor points.

Usage[edit source]

Code Result
{{armorbar}} 🛡
{{armorbar|size=9}} 🛡
{{armorbar|value=1}} 🛡
{{armorbar|value=2}} 🛡
{{armorbar|value=5}} 🛡🛡🛡
{{armorbar|value=5|total=10}} 🛡🛡🛡🛡🛡
{{armorbar|value=7|size=45}} 🛡🛡🛡🛡
[view | edit | history | purge]The above documentation is transcluded from Template:Armorbar/doc.