Anonymous user
Template:Healthbar/doc: Difference between revisions
m
no edit summary
imported>Ttv pedro270707 (Created page with "This template implements a Minecraft-like health bar. {{Healthbar|value=10|total=16|size=9}} == Arguments == {| class="wikitable" ! Argument !! Default value !! Note |- | <code>size</code> || <code>18</code> || Sets the size of each heart. |- | <code>value</code> || <code>0</code> || Sets the amount of hearts. |- | <code>total</code> || <code>0</code> || Sets the total amount of hearts. Use if empty hearts are needed after the filled hearts. |} == Usage == {| class="wi...") |
imported>Ttv pedro270707 mNo edit summary |
||
(10 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
This template implements a Minecraft-like health bar. | This template implements a Minecraft-like health bar. | ||
== Arguments == | == Arguments == | ||
Line 11: | Line 10: | ||
|- | |- | ||
| <code>total</code> || <code>0</code> || Sets the total amount of hearts. Use if empty hearts are needed after the filled hearts. | | <code>total</code> || <code>0</code> || Sets the total amount of hearts. Use if empty hearts are needed after the filled hearts. | ||
|- | |||
| <code>title</code> || <code>value / 2</code> heart(s) || Sets the title that displays on mouse hover. | |||
|} | |} | ||
Line 31: | Line 32: | ||
| <code><nowiki>{{healthbar|value=7|size=45}}</nowiki></code> || {{healthbar|value=7|size=45}} | | <code><nowiki>{{healthbar|value=7|size=45}}</nowiki></code> || {{healthbar|value=7|size=45}} | ||
|} | |} | ||
[[Category:Image templates]] |