Difference between revisions of "Template:Hearts"
Jump to navigation
Jump to search
(Created template to try and simplify health icons/get infoboxes to work properly) |
m |
||
Line 1: | Line 1: | ||
<includeonly>{{#if: {{{full|}}} | <span class="nowrap">{{#expr: {{{1}}}*2}}HP}}{{#if: {{{full|}}} | <span class="nowrap">(}}{{#if: {{{brackets|}}} |<span class="nowrap">(}}{{#if: {{{1|}}} | {{#ifeq: {{{1}}} | 0 | 0x <span title="Heart">[[File: | <includeonly>{{#if: {{{full|}}} | <span class="nowrap">{{#expr: {{{1}}}*2}}HP}}{{#if: {{{full|}}} | <span class="nowrap">(}}{{#if: {{{brackets|}}} |<span class="nowrap">(}}{{#if: {{{1|}}} | {{#ifeq: {{{1}}} | 0 | 0x <span title="Heart">[[File:HeartFull.png|10x10px|link=]]</span> | {{#ifeq: {{{1}}} | 1 | 1x <span title="Heart">[[File:HeartFull.png|10x10px|link=]]</span> | {{{1}}}x <span title="Hearts">[[File:HeartFull.png|10x10px|link=]]</span>}}}} | 0x <span title="Heart">[[File:HeartFull.png|10x10px|link=]]</span>}}{{#if: {{{brackets|}}} |)</span>}}{{#if: {{{full|}}} | )</span>}}</includeonly> | ||
<noinclude>{{/doc}}</noinclude> | <noinclude>{{/doc}}</noinclude> |