Advent of Ascension Wiki

An alpha for 3.6 has been released. Download it here.

READ MORE

Advent of Ascension Wiki
m
m
Line 2: Line 2:
 
<span class="nowrap">{{{1}}}<!--
 
<span class="nowrap">{{{1}}}<!--
 
-->{{#if:{{{2|}}} | -{{{2}}} }}<!--
 
-->{{#if:{{{2|}}} | -{{{2}}} }}<!--
-->&nbsp;([[File:Heart.png|link=]]×{{#expr: {{{1}}}/2}}<!--
+
-->&nbsp;([[File:Heart.png|link=]]&times;{{#expr: {{{1}}}/2}}<!--
 
-->{{#if:{{{2|}}} | -{{#expr: {{{2}}}/2}} }})</span>
 
-->{{#if:{{{2|}}} | -{{#expr: {{{2}}}/2}} }})</span>
 
| [[File:Heart.png|link=]]<!--
 
| [[File:Heart.png|link=]]<!--

Revision as of 12:04, 9 March 2019

Template-info.png Documentation

Use {{hp|number}} to display health points, or {{hp|first number|second number}} for a range of health points (such as with weapons that do random damage). Using the template without an argument (e.g. {{hp}}×6) displays an error and automatically adds the page to Category:Old usage of HP template.

Examples

{{hp|20}}

{{hp|15}}

{{hp|0|50}}

Outputs

20 (Heart.png×10)

15 (Heart.png×7.5)

0-50 (Heart.png×0-25)

The above documentation is transcluded from Template:Hp/doc.