Minecraft Wiki
Advertisement
Minecraft Wiki
1.293
pagina's

This template displays health points and visualizes these with the help of a health bar.

For a more compact display, all health point values above 16 (8 hearts) are replaced by Heart.svg × [hp / 2].

Parameter Function Default value
poisoned Show yellow-green heart icons if set. 0
Code Result
{{hp|0}} 0 (Empty Heart.svg)
{{hp|4}} 4 (Heart.svgHeart.svg)
{{hp|5|poisoned=1}} 5 (Poisoned Heart.svgPoisoned Heart.svgPoisoned Half Heart.svg)
{{hp|16}} 16 (Heart.svg × 8)
{{hp|20}} 20 (Heart.svg × 10)
{{hp|41}} 41 (Heart.svg × 20.5)
[bekijken | bewerken | geschiedenis | cache legen]Bovenstaande documentatie is getranscludeerd uit Sjabloon:Hp/doc.
Advertisement