Template:Healthbar: Difference between revisions
m (1 revision) |
CraftSpider (talk | contribs) (removed translation links) |
||
Line 44: | Line 44: | ||
[[Category:Image templates]] | [[Category:Image templates]] | ||
</noinclude> | </noinclude> |
Latest revision as of 03:55, 12 May 2017
This template uses Module:Iconbar, a script written in the Lua programming language. Please see wp:Lua and mw:Extension:Scribunto to learn more about Lua. |
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
The above documentation is transcluded from Template:Healthbar/doc. (edit | history)