Template:Armorbar/doc - minecraft.fandom.com
Jump to navigation
Jump to search
Treść tej podstrony pochodzi z artykułu „Template:Armorbar/doc” w domenie minecraft.fandom.com na licencji CC BY-NC-SA 3.0
[purge]
This is the documentation page. It should be transcluded into the main template page. See Template:Documentation for more informationThis template creates an armor bar.
| Parameter | Function | Default value |
|---|---|---|
|1= |
Integer armor value between 0 and 32. Empty armor = 0, half armor = 1, full armor = 2, etc. | 0 |
|2= |
Width of each icon in pixels. | 18 |
|link= |
Page linked when clicking on an icon. | None |
|total= |
Total amount of armor points to be shown. | 0 |
| Code | Result |
|---|---|
{{armorbar}} |
|
{{armorbar|0|9px}} |
|
{{armorbar|1}} |
|
{{armorbar|2}} |
|
{{armorbar|5}} |
|
{{armorbar|5|total=20}} |
|
{{armorbar|20}} |
|
{{armorbar|10|9px}} |
|
{{armorbar|6|45px}} |
See also[]
{{Armorbar}}{{Healthbar}}{{Hungerbar}}{{Iconbar}}- Module:Iconbar