Szablon:Healthbar/opis

Z Minecraft Wiki Polska
Wersja z dnia 22:10, 27 lut 2011 autorstwa Lewandowski (dyskusja | edycje) (Utworzył nową stronę „{{doc/start}} This template creates a health bar. {| class="wikitable" ! Parameter ! Function ! Default value |- | <code>1</code> || Integer health value between 0 and...”)
(różn.) ← poprzednia wersja | przejdź do aktualnej wersji (różn.) | następna wersja → (różn.)
Przejdź do nawigacji Przejdź do wyszukiwania

Szablon:Doc/start This template creates a health bar.

Parameter Function Default value
1 Integer health value between 0 and 32. Empty heart = 0, half heart = 1, full heart = 2, see examples below. 0
2 Width of each icon in CSS units like "px" or "em". 18px
Code Result
{{healthbar}}
{{healthbar|0|9px}}
{{healthbar|1}}
{{healthbar|2}}
{{healthbar|5}}
{{healthbar|20}}
{{healthbar|10|10px}}
{{healthbar|6|48px}}

Szablon:Doc/end