Template:H: Difference between revisions

Want an adless experience? Log in or Create an account.
579 bytes removed ,  April 4, 2017
add doc
mNo edit summary
(add doc)
 
(8 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:1-2 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}}<br>
{{H|3}}<br>
{{H|2}}<br>
{{H|1}}</pre>
{{Usage/Result|
{{H|4}}{{H}}<br>
{{H|3}}<br>
{{H|2}}<br>
{{H|1}}
}}
 
 
{{Cat|Utility Templates}}