Template:Healthbar/doc: Difference between revisions
m (1 revision) |
CraftSpider (talk | contribs) (removed translation links) |
||
Line 115: | Line 115: | ||
{{Iconbar see also}} | {{Iconbar see also}} | ||
{{doc/end}}<noinclude> | {{doc/end}}<noinclude> | ||
</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
This is the documentation page, it should be transcluded into the main template page. See Template:Doc for more information.