Template:Hp
Jump to navigation
Jump to search
Represents HP or Temp HP. See also Template:Temp hp for a simpler way to display temporary HP.
If the number to be displayed isn't really a number (e.g. "3 ~ 6" or "2d4"), provide it with the text
parameter.
Code | Result |
---|---|
{{Hp}} |
Hit Points |
{{Hp|temp=1}} |
Temporary Hit Points |
{{Hp|1}} |
1 Hit Point |
{{Hp|2}} |
2 Hit Points |
{{Hp|1|temp=1}} |
1 Temporary Hit Point |
{{Hp|2|temp=1}} |
2 Temporary Hit Points |
{{Hp|1|plural=t}} |
1 Hit Points |
{{Hp|text=2d4}} |
2d4 Hit Points |
{{Hp|3|size=40}} |
3 Hit Points |
Template data
No description.
Parameter | Description | Type | Status | |
---|---|---|---|---|
value | 1 | The number of hitpoints to represent. | Number | optional |
size | size | The icon size.
| Unknown | optional |
plural | plural | If specified, will force plural. | Boolean | optional |
temp | temp | If specified, will format as temporary HP | Unknown | optional |
text | text | If specified, will replace the number with this text instead. | Unknown | optional |