Template:Hp/doc: Difference between revisions
(Created template documentation.) |
m (Added warning to users that parts of the template are broken.) |
||
Line 1: | Line 1: | ||
{{doc/start}} | {{doc/start}} | ||
{{msgbox | |||
|title=WARNING: Parts of this template do not currently work! Please use with care. | |||
}} | |||
This template displays health points and visualizes these with the help of a [[Template:Healthbar|health bar]]. | This template displays health points and visualizes these with the help of a [[Template:Healthbar|health bar]]. | ||
Latest revision as of 03:09, 29 April 2014
WARNING: Parts of this template do not currently work! Please use with care. |
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 |
absorption |
Show absorption heart icons. | 0 |
hardcore |
Show hardcore heart icon variation. | 0 |
notag |
Remove number and parenthesis. | 0 |
This is the documentation page, it should be transcluded into the main template page. See Template:Doc for more information.