模板:MCHealthbar
跳至導覽
跳至搜尋
本模板之全部或部分原來自中文 Minecraft Wiki的Template:Healthbar,依 CC BY-NC-SA 3.0 授權引入;原貢獻者可以在這裡看到。 |
該模板用於創建Minecraft生命條。
參數 | 功能 | 默認值 |
---|---|---|
1 |
從1至32的整數。空心 = 0,半心 = 1,滿心 = 2,參照以下範例。 | 0 |
2 |
圖標寬度 | 18px |
total |
顯示的總血條。 | 0 |
poisoned |
顯示黃綠色中毒的血條。 | 0 |
withered |
顯示黑色凋零的血條。 | 0 |
hardcore |
顯示極限模式下普通/中毒/凋零/傷害吸收的血條。 | 0 |
mob |
顯示可騎乘生物的血條。 | 0 |
absorption |
顯示傷害吸收增加的血條。 | 0 |
代碼 | 結果 |
---|---|
{{MCHealthbar}} |
|
{{MCHealthbar|0|9px}} |
|
{{MCHealthbar|1}} |
|
{{MCHealthbar|2}} |
|
{{MCHealthbar|5}} |
|
{{MCHealthbar|5|poisoned=1}} |
|
{{MCHealthbar|5|withered=1}} |
|
{{MCHealthbar|5|absorption=1}} |
|
{{MCHealthbar|5|hardcore=1}} |
|
{{MCHealthbar|5|poisoned=1|hardcore=1}} |
|
{{MCHealthbar|5|withered=1|hardcore=1}} |
|
{{MCHealthbar|5|absorption=1|hardcore=1}} |
|
{{MCHealthbar|5|mob=1}} |
|
{{MCHealthbar|5|total=10}} |
|
{{MCHealthbar|5|total=10|poisoned=1}} |
|
{{MCHealthbar|5|total=10|withered=1}} |
|
{{MCHealthbar|5|total=10|absorption=1}} |
|
{{MCHealthbar|5|total=10|hardcore=1}} |
|
{{MCHealthbar|5|total=10|poisoned=1|hardcore=1}} |
|
{{MCHealthbar|5|total=10|withered=1|hardcore=1}} |
|
{{MCHealthbar|5|total=10|absorption=1|hardcore=1}} |
|
{{MCHealthbar|5|total=10|mob=1}} |
|
{{MCHealthbar|20}} |
|
{{MCHealthbar|20|poisoned=1}} |
|
{{MCHealthbar|11|9px}} |
|
{{MCHealthbar|11|9px|poisoned=1}} |
|
{{MCHealthbar|11|9px|withered=1}} |
|
{{MCHealthbar|11|9px|absorption=1}} |
|
{{MCHealthbar|11|9px|hardcore=1}} |
|
{{MCHealthbar|11|9px|poisoned=1|hardcore=1}} |
|
{{MCHealthbar|11|9px|withered=1|hardcore=1}} |
|
{{MCHealthbar|11|9px|absorption=1|hardcore=1}} |
|
{{MCHealthbar|11|9px|mob=1}} |
|
{{MCHealthbar|7|45px}} |
|
{{MCHealthbar|7|45px|poisoned=1}} |
|
{{MCHealthbar|7|45px|withered=1}} |
|
{{MCHealthbar|7|45px|absorption=1}} |
|
{{MCHealthbar|7|45px|hardcore=1}} |
|
{{MCHealthbar|7|45px|poisoned=1|hardcore=1}} |
|
{{MCHealthbar|7|45px|withered=1|hardcore=1}} |
|
{{MCHealthbar|7|45px|absorption=1|hardcore=1}} |
|
{{MCHealthbar|7|45px|mob=1}} |