Template:H: Difference between revisions

From Zelda Dungeon Wiki
Jump to navigation Jump to search
Want an adless experience? Log in or Create an account.
mNo edit summary
No edit summary
Line 1: Line 1:
<onlyinclude>{{#switch: {{{1|4}}}
<onlyinclude>{{#switch: {{{1|4}}}
| 0 = [[File:0 Heart.gif]]
| 1 = [[File:1-4 Heart.png]]
| 1 = [[File:1-4 Heart.png]]
| 2 = [[File:1-2 Heart.png]]
| 2 = [[File:1-2 Heart.png]]
Line 16: Line 17:
{{H|3}}<br>
{{H|3}}<br>
{{H|2}}<br>
{{H|2}}<br>
{{H|1}}</pre>
{{H|1}}<br>
{{H|0}}</pre>
{{Usage/Result|
{{Usage/Result|
{{H|4}}{{H}}<br>
{{H|4}}{{H}}<br>
{{H|3}}<br>
{{H|3}}<br>
{{H|2}}<br>
{{H|2}}<br>
{{H|1}}
{{H|1}}<br>
{{H|0}}
}}
}}




{{Cat|Utility Templates}}
{{Cat|Utility Templates}}

Revision as of 21:24, December 25, 2012

1 Heart.png

Purpose

This provides a more intuitive way of indicating how much damage an attack does. For attacks that do more than one heart of damage, this template can be used several times in succession.

Usage

{{H| fraction }}

  • fraction — Number out of four (e.g. "1" for one-quarter heart). (Optional. Default: 4 (full heart))
ExampleResult
{{H|4}}{{H}}<br>
{{H|3}}<br>
{{H|2}}<br>
{{H|1}}<br>
{{H|0}}

1 Heart.png1 Heart.png
File:3-4 Heart.gif
1-2 Heart.png
1-4 Heart.png
File:0 Heart.gif