Minecraft Wiki

Minecraft Wiki ไม่ถือว่าเป็นวิกิอย่างเป็นทางการของ Microsoft อีกต่อไป ดังนั้นจึงมีการเปลี่ยนแปลงหลายประการเกิดขึ้น ซึ่งรวมไปถึงโลโก้ของวิกิด้วย โปรดอ่านที่ประกาศนี้สำหรับข้อมูลเพิ่มเติม

READ MORE

Minecraft Wiki
Advertisement
[ดู | แก้ไข | ประวัติ | ล้างแคช]คู่มือการใช้งาน

This template displays health points and visualizes these with the help of a health bar.

For a more compact display, all health point values above 10 (5 hearts) are replaced by Heart × [hp / 2].

Parameter Function Default value
1 Amount of hearts to show. 0
2 Size of hearts. 9px
poisoned Show yellow-green heart icons. 0
withered Show black withered heart icons. 0
absorption Show absorption heart icons. 0
hardcore Show hardcore heart icon variation. 0
mob Show mob heart icons, aligned to the right. 0
notag Remove number and parenthesis. 0
total Total amount of hearts to show, any more than the set amount in |1= are shown as empty. 20
Code Result
{{hp}} 0 (Empty Heart)
{{hp|0}} 0 (Empty Heart)
{{hp|4}} 4 (HeartHeart)
{{hp|4|total=20}} 4 (HeartHeartEmpty HeartEmpty HeartEmpty HeartEmpty HeartEmpty HeartEmpty HeartEmpty HeartEmpty Heart)
{{hp|7|poisoned=1}} 7 (Poisoned HeartPoisoned HeartPoisoned HeartPoisoned Half Heart)
{{hp|7|withered=1}} 7 (Withered HeartWithered HeartWithered HeartWithered Half Heart)
{{hp|7|absorption=1}} 7 (Absorption HeartAbsorption HeartAbsorption HeartAbsorption Half Heart)
{{hp|7|hardcore=1}} 7 (Hardcore HeartHardcore HeartHardcore HeartHardcore Half Heart)
{{hp|7|hardcore=1|poisoned=1}} 7 (Poisoned Hardcore HeartPoisoned Hardcore HeartPoisoned Hardcore HeartPoisoned Hardcore Half Heart)
{{hp|7|hardcore=1|withered=1}} 7 (Withered Hardcore HeartWithered Hardcore HeartWithered Hardcore HeartWithered Hardcore Half Heart)
{{hp|7|hardcore=1|absorption=1}} 7 (Absorption Hardcore HeartAbsorption Hardcore HeartAbsorption Hardcore HeartAbsorption Hardcore Half Heart)
{{hp|7|mob=1}} 7 (Mob Half HeartMob HeartMob HeartMob Heart)
{{hp|4|18px}} 4 (HeartHeart)
{{hp|20|notag=1}} HeartHeartHeartHeartHeartHeartHeartHeartHeartHeart
{{hp|26|notag=1}} Heart × 13
{{hp|10}} 10 (HeartHeartHeartHeartHeart)
{{hp|12}} 12 (HeartHeartHeartHeartHeartHeart)
{[hp|41}} 41 (Heart × 20.5)
[ดู | แก้ไข | ประวัติ | ล้างแคช]คู่มือการใช้งานที่ปรากฏด้านบนนี้ดึงมาจาก แม่แบบ:Hp/doc.
Advertisement