Template:Hp: Difference between revisions
Jump to navigation
Jump to search
(Simplify.) |
(update templatedata) |
||
Line 28: | Line 28: | ||
"description": "The number of hitpoints to represent.", | "description": "The number of hitpoints to represent.", | ||
"type": "number" | "type": "number" | ||
}, | }, | ||
"size": { | "size": { | ||
Line 46: | Line 36: | ||
"paramOrder": [ | "paramOrder": [ | ||
"1", | "1", | ||
"size" | "size" | ||
], | |||
"format": "inline" | |||
} | } | ||
</templatedata></noinclude> | </templatedata></noinclude> |
Revision as of 21:07, 10 October 2023
Represents HP or Temp HP. See also Template:Temp hp for the equivalent template for temporary HP.
Code | Result |
---|---|
{{Hp}} |
Hit Points |
{{Hp|1}} |
1 Hit Point |
{{Hp|2}} |
2 Hit Points |
{{Hp|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 |