Minecraft Wiki
Advertisement
Minecraft Wiki
[view | edit | history | purge]Documentation
Lua logo.png
This template uses Module:Iconbar, a script written in Lua.

This template creates an armor bar.

Parameter Function Default value
|1= Integer armor value between 0 and 32. Empty armor = 0, half armor = 1, full armor = 2, etc. 0
|2= Width of each icon in pixels. 18
|link= Page linked when clicking on an icon. None
|total= Total amount of armor points to be shown. 0
Code Result
{{armorbar}} 🛡
{{armorbar|0|9px}} 🛡
{{armorbar|1}} 🛡
{{armorbar|2}} 🛡
{{armorbar|5}} 🛡🛡🛡
{{armorbar|5|total=20}} 🛡🛡🛡🛡🛡🛡🛡🛡🛡🛡
{{armorbar|20}} 🛡🛡🛡🛡🛡🛡🛡🛡🛡🛡
{{armorbar|10|9px}} 🛡🛡🛡🛡🛡
{{armorbar|6|45px}} 🛡🛡🛡

See also

[view | edit | history | purge]The above documentation is transcluded from Template:Armorbar/doc.