Template:Hp

From bg3.wiki
Revision as of 14:02, 10 October 2023 by Sky (talk | contribs) (Finish.)
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}} HP Icon.png Hit Points
{{Hp|temp=1}} HP Icon.png Temporary Hit Points
{{Hp|1}} HP Icon.png 1 Hit Point
{{Hp|2}} HP Icon.png 2 Hit Points
{{Hp|1|temp=1}} HP Icon.png 1 Temporary Hit Point
{{Hp|2|temp=1}} HP Icon.png 2 Temporary Hit Points
{{Hp|1|plural=t}} HP Icon.png 1 Hit Points
{{Hp|text=2d4}} HP Icon.png 2d4 Hit Points
{{Hp|3|size=40}} HP Icon.png 3 Hit Points

Template data

No description.

Template parameters

ParameterDescriptionTypeStatus
value1

The number of hitpoints to represent.

Numberoptional
sizesize

The icon size.

Default
25
Unknownoptional
pluralplural

If specified, will force plural.

Booleanoptional
temptemp

If specified, will format as temporary HP

Unknownoptional
texttext

If specified, will replace the number with this text instead.

Unknownoptional