Template:Hp: Difference between revisions

From bg3.wiki
Jump to navigation Jump to search
(update templatedata)
m (newline)
Line 1: Line 1:
<includeonly>{{Icon|HP Icon.png|{{{size|25}}}}} {{{1|}}} {{#ifeq:{{{1|}}}|1|[[Hit Points|Hit Point]]|[[Hit Points]]}}</includeonly><noinclude>
<includeonly>{{Icon|HP Icon.png|{{{size|25}}}}} {{{1|}}} {{#ifeq:{{{1|}}}|1|[[Hit Points|Hit Point]]|[[Hit Points]]}}</includeonly><noinclude>Represents HP or Temp HP. See also [[Template:Temp hp]] for the equivalent template for temporary HP.
 
Represents HP or Temp HP. See also [[Template:Temp hp]] for the equivalent template for temporary HP.


{| class="wikitable"
{| class="wikitable"

Revision as of 21:08, 10 October 2023

Represents HP or Temp HP. See also Template:Temp hp for the equivalent template for temporary HP.

Code Result
{{Hp}} HP Icon.png Hit Points
{{Hp|1}} HP Icon.png 1 Hit Point
{{Hp|2}} HP Icon.png 2 Hit Points
{{Hp|2d4}} HP Icon.png 2d4 Hit Points
{{Hp|3|size=40}} HP Icon.png 3 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