Template:HP

From TheKolWiki
Jump to: navigation, search
Chest.gif This high-use template has been protected from editing to prevent inaccurate edits and/or vandalism. Please use the talk page to discuss changes, and/or to ask an administrator to make an edit for you.
{{HP}}
<table align="center"><tr><td>[[File:hp1.gif|HP]]</td><td>You {{{type|gain}}} {{formatnum:{{{amount|some}}}}} [[HP|hit {{#ifeq:{{{amount|}}}|1|point|points}}]]. {{#if:{{{element|}}}|{{element|{{{element}}}}}}}</td></tr></table>

Syntax

Gain:
{{HP|amount=1}}
HPYou gain 1 hit point.
Gain:
{{HP|type=gain|amount=1000}}
HPYou gain 1,000 hit points.
Gain:
{{HP|amount=5-10}}
HPYou gain 5-10 hit points.
Gain:
{{HP}}
HPYou gain some hit points.
Loss:
{{HP|type=lose|amount=1}}
HPYou lose 1 hit point.
Loss:
{{HP|type=lose|amount=3}}
HPYou lose 3 hit points.
Loss:
{{HP|type=lose|amount=10-15}}
HPYou lose 10-15 hit points.
Loss:
{{HP|type=lose}}
HPYou lose some hit points.
Loss with element:
{{HP|type=lose|amount=10-15|element=hot}}
HPYou lose 10-15 hit points. (hot damage)
Loss with element:
{{HP|type=lose|element=hot}}
HPYou lose some hit points. (hot damage)