模板: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}} |