[purge]
This is the documentation page, it should be transcluded into the main template page. See Template:Documentation for more informationThis template uses Module:Iconbar, a script written in Lua. Please see wp:Lua and mw:Extension:Scribunto to learn more. |
This template creates a health bar.
Parameter | Function | Default value |
---|---|---|
1 | Integer health value between 0 and 32. Empty heart = 0, half heart = 1, full heart = 2, see examples below. | 0 |
2 | Width of each icon. | 18px |
total | Total amount of hearts to be shown | 0 |
poisoned | Shows yellow-green poison hearts. | 0 |
withered | Shows black withered hearts. | 0 |
hardcore | Shows the hardcore version of the normal/poisoned/withered/absorption hearts. | 0 |
mob | Shows rideable mob hearts. | 0 |
absorption | Shows the hearts added by absorption. | 0 |
See also
{{Armorbar}}
{{Healthbar}}
{{Hungerbar}}
{{Iconbar}}
- Module:Iconbar