Template:Temp hp: Difference between revisions
Jump to navigation
Jump to search
(Simplify.) |
No edit summary |
||
(4 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
<includeonly>{{Icon|HP Icon.png|{{{size|25}}}}} {{{1|}}} {{#ifeq:{{{1|}}}|1|[[Temporary Hit | <includeonly>{{Icon|HP Icon.png|{{{size|25}}}}} {{{1|}}} {{#ifeq:{{{1|}}}|1|[[Temporary Hit Points|temporary hit point]]|[[temporary Hit Points|temporary hit points]]}}</includeonly><noinclude> | ||
Just like [[Template:Hp]], but for temp hp. See the Hp template for options. | Just like [[Template:Hp]], but for temp hp. See the Hp template for options. | ||
{| class="wikitable" | |||
! Code !! Result | |||
|- | |||
| <code><nowiki>{{Temp hp}}</nowiki></code> || {{Temp hp}} | |||
|- | |||
| <code><nowiki>{{Temp hp|1}}</nowiki></code> || {{Temp hp|1}} | |||
|- | |||
| <code><nowiki>{{Temp hp|2}}</nowiki></code> || {{Temp hp|2}} | |||
|- | |||
| <code><nowiki>{{Temp hp|2d4}}</nowiki></code> || {{Temp hp|2d4}} | |||
|- | |||
| <code><nowiki>{{Temp hp|3|size=40}}</nowiki></code> || {{Temp hp|3|size=40}} | |||
|} | |||
== Template data == | == Template data == |
Latest revision as of 14:16, 6 January 2024
Just like Template:Hp, but for temp hp. See the Hp template for options.
Code | Result |
---|---|
{{Temp hp}} |
temporary hit points |
{{Temp hp|1}} |
1 temporary hit point |
{{Temp hp|2}} |
2 temporary hit points |
{{Temp hp|2d4}} |
2d4 temporary hit points |
{{Temp hp|3|size=40}} |
3 temporary 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 |