Template:Hp/doc

< Template:Hp
Revision as of 01:25, 20 October 2013 by Mastergalen (talk | contribs) (Created page with "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 (...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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
1 Amount of hearts to show. 0
2 Size of hearts. 9px
poisoned Show yellow-green heart icons. 0
withered Show black withered heart icons. 0
absorption Show absorption heart icons. 0
hardcore Show hardcore heart icon variation. 0
notag Remove number and parenthesis. 0
Code Result
{{hp}} 0 (Empty Heart.svg)
{{hp|0}} 0 (Empty Heart.svg)
{{hp|4}} 4 (Heart.svgHeart.svg)
{{hp|7|poisoned=1}} 7 (Poisoned Heart.svgPoisoned Heart.svgPoisoned Heart.svgPoisoned Half Heart.svg)
{{hp|7|withered=1}} 7 (File:Withered Heart.svgFile:Withered Heart.svgFile:Withered Heart.svgFile:Withered Half Heart.svg)
{{hp|7|absorption=1}} 7 (File:Absorption Heart.svgFile:Absorption Heart.svgFile:Absorption Heart.svgAbsorption Half Heart.svg)
{{hp|7|hardcore=1}} 7 (File:Hardcore Heart.svgFile:Hardcore Heart.svgFile:Hardcore Heart.svgHardcore Half Heart.svg)
{{hp|7|hardcore=1|poisoned=1}} 7 (File:Poisoned Hardcore Heart.svgFile:Poisoned Hardcore Heart.svgFile:Poisoned Hardcore Heart.svgFile:Poisoned Hardcore Half Heart.svg)
{{hp|7|hardcore=1|withered=1}} 7 (File:Withered Hardcore Heart.svgFile:Withered Hardcore Heart.svgFile:Withered Hardcore Heart.svgWithered Hardcore Half Heart.svg)
{{hp|7|hardcore=1|absorption=1}} 7 (File:Absorption Hardcore Heart.svgFile:Absorption Hardcore Heart.svgFile:Absorption Hardcore Heart.svgFile:Absorption Hardcore Half Heart.svg)
{{hp|7|mob=1}} 7 (File:Mob Half Heart.svgFile:Mob Heart.svgFile:Mob Heart.svgFile:Mob Heart.svg)
{{hp|4|18px}} 4 (Heart.svgHeart.svg)
{{hp|16|notag=1}} Heart.svgHeart.svgHeart.svgHeart.svgHeart.svgHeart.svgHeart.svgHeart.svg
{{hp|26|notag=1}} Heart.svg × 13
{{hp|16}} 16 (Heart.svgHeart.svgHeart.svgHeart.svgHeart.svgHeart.svgHeart.svgHeart.svg)
{{hp|20}} 20 (Heart.svg × 10)
{{hp|41}} 41 (Heart.svg × 20.5)
Cookies help us deliver our services. By using our services, you agree to our use of cookies.

Need wiki hosting?

Do you need a wiki for your Minecraft mod/gaming wiki? We'll host it for free! Contact us.

Other wikis

Indie-game wikis
Powered by Indie Wikis