Hi Gamepedia users and contributors! Please complete this survey to help us learn how to better meet your needs in the future. We have one for editors and readers. This should only take about 7 minutes!

Template:Armorbar

From Minecraft Wiki
Jump to: navigation, search
[view | edit | history | purge]Documentation
Lua logo.svg
This template uses Module:Iconbar, a script written in Lua.
Please see wp:Lua and mw:Extension:Scribunto to learn more.

This template creates an armor bar.

Parameter Function Default value
1 Integer health value between 0 and 32. Empty armor = 0, half armor = 1, full armor = 2, see examples below. 0
2 Width of each icon in CSS units like "px" or "em". 18px
Code Result
{{armorbar}}
{{armorbar|0|9px}}
{{armorbar|1}}
{{armorbar|2}}
{{armorbar|5}}
{{armorbar|20}}
{{armorbar|10|9px}}
{{armorbar|6|45px}}

See also[edit]

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