Template:Healthbar/doc: Difference between revisions

From BTA-Mirror
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
(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...")
(No difference)

Revision as of 13:23, 19 March 2023

This template implements a Minecraft-like health bar. ♥♥♥♥♥♥♥♥

Arguments

Argument Default value Note
size 18 Sets the size of each heart.
value 0 Sets the amount of hearts.
total 0 Sets the total amount of hearts. Use if empty hearts are needed after the filled hearts.

Usage

Code Result
{{healthbar}} ♥
{{healthbar|size=9}} ♥
{{healthbar|value=1}} ♥
{{healthbar|value=2}} ♥
{{healthbar|value=5}} ♥♥♥
{{healthbar|value=5|total=10}} ♥♥♥♥♥
{{healthbar|value=7|size=45}} ♥♥♥♥