Template:H: Difference between revisions

Want an adless experience? Log in or Create an account.
555 bytes removed ,  April 4, 2017
add doc
(Created page with "<onlyinclude>{{#switch: {{{1|4}}} | 1 = File:1-4 Heart.png | 2 = File:2-4 Heart.png | 3 = File:3-4 Heart.gif | 4 = File:1 Heart.png }}</onlyinclude> ==Purpose...")
 
(add doc)
 
(9 intermediate revisions by 4 users not shown)
Line 1: Line 1:
<onlyinclude>{{#switch: {{{1|4}}}
<includeonly>{{#invoke:Hearts|icons}}</includeonly><noinclude>{{Documentation}}</noinclude>
| 1 = [[File:1-4 Heart.png]]
| 2 = [[File:2-4 Heart.png]]
| 3 = [[File:3-4 Heart.gif]]
| 4 = [[File:1 Heart.png]]
}}</onlyinclude>
 
==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==
{{Usage|fraction}}
{{Usage/Param|fraction|Number out of four (e.g. "1" for one-quarter heart).|optional|4 (full heart)}}
{{Usage/Example}}<pre>
{{H|4}}{{H}}
{{H|3}}
{{H|2}}
{{H|1}}</pre>
{{Usage/Result|
{{H|4}}{{H}}
{{H|3}}
{{H|2}}
{{H|1}}
}}
 
 
{{Cat|Utility Templates}}