Difference between revisions of "Template:Hearts"

From The Twilight Forest Wiki
Jump to navigation Jump to search
(Created template to try and simplify health icons/get infoboxes to work properly)
 
(changed template)
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>{{#if: {{{full|}}} | <span class="nowrap">{{#expr: {{{1}}}*2}}HP}}{{#if: {{{full|}}} | &nbsp;<span class="nowrap">(}}{{#if: {{{brackets|}}} |<span class="nowrap">(}}{{#if: {{{1|}}} | {{#ifeq: {{{1}}} | 0 | 0x <span title="Heart">[[File:Heart.png|10x10px|link=]]</span> | {{#ifeq: {{{1}}} | 1 | 1x <span title="Heart">[[File:Heart.png|10x10px|link=]]</span> | {{{1}}}x <span title="Hearts">[[File:Heart.png|10x10px|link=]]</span>}}}} | 0x <span title="Heart">[[File:Heart.png|10x10px|link=]]</span>}}{{#if: {{{brackets|}}} |)</span>}}{{#if: {{{full|}}} | )</span>}}</includeonly>
({{h}} × {{{1}}})
<noinclude>{{/doc}}</noinclude>

Latest revision as of 13:16, 25 September 2017

(HeartFull.png × {{{1}}})