Questa è la pagina di documentazione e deve essere trascritta sulla pagina template. Vedi Template:Documentazione per più informazioni
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
× [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 |
hardcore |
Show hardcore heart icons. | 0 |
notag |
Remove number and parenthesis. | 0 |
| Code | Result |
|---|---|
| {{hp}} | 0 ( |
| {{hp|0}} | 0 ( |
| {{hp|4}} | 4 ( |
| {{hp|4|18px}} | 4 ( |
| {{hp|5|poisoned=1}} | 5 ( |
| {{hp|5|withered=1}} | 5 ( |
| {{hp|5|18px|poisoned=1}} | 5 ( |
| {{hp|5|18px|withered=1}} | 5 ( |
| {{hp|7|hardcore=1}} | 7 ( |
| {{hp|7|18px|hardcore=1}} | 7 ( |
| {{hp|7|poisoned=1|hardcore=1}} | 7 ( |
| {{hp|7|withered=1|hardcore=1}} | 7 ( |
| {{hp|7|18px|poisoned=1|hardcore=1}} | 7 ( |
| {{hp|7|18px|withered=1|hardcore=1}} | 7 ( |
| {{hp|6|notag=1}} | |
| {{hp|8|notag=1|poisoned=1}} | |
| {{hp|8|notag=1|withered=1}} | |
| {{hp|16|notag=1|hardcore=1}} | |
| {{hp|16|notag=1|poisoned=1|hardcore=1}} | |
| {{hp|16|notag=1|withered=1|hardcore=1}} | |
| {{hp|26|notag=1}} | |
| {{hp|16}} | 16 ( |
| {{hp|20}} | 20 ( |
| {{hp|41}} | 41 ( |