Template:Temp hp: Difference between revisions

From bg3.wiki
Jump to navigation Jump to search
(Add back examples)
No edit summary
 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<includeonly>{{Icon|HP Icon.png|{{{size|25}}}}} {{{1|}}} {{#ifeq:{{{1|}}}|1|[[Temporary Hit Point]]|[[Temporary Hit Point]]}}</includeonly><noinclude>
<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.



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}} HP Icon.png temporary hit points
{{Temp hp|1}} HP Icon.png 1 temporary hit point
{{Temp hp|2}} HP Icon.png 2 temporary hit points
{{Temp hp|2d4}} HP Icon.png 2d4 temporary hit points
{{Temp hp|3|size=40}} HP Icon.png 3 temporary hit points

Template data

No description.

Template parameters

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
value1

The number of hitpoints to represent.

Numberoptional
sizesize

The icon size.

Default
25
Unknownoptional