[purge]
This is the documentation page. It should be transcluded into the main template page. See Template:Documentation for more informationThis template creates a food point bar.
| Parameter | Function | Default value |
|---|---|---|
|1= |
Integer hunger value between 0 and 32. Empty heart = 0, half heart = 1, full heart = 2, etc. | 0 |
|2= |
Width of each icon in pixels. | 18 |
|link= |
Page linked when clicking on an icon. | None |
|total= |
Total amount of food points to be shown. | 0 |
|poisoned= |
Shows the poisoned hunger bar. | 0 |
| Code | Result |
|---|---|
{{hungerbar}} |
Lua error in Module:Iconbar at line 7: attempt to concatenate local 'full' (a nil value). (0) |
{{hungerbar|0|9px}} |
Lua error in Module:Iconbar at line 7: attempt to concatenate local 'full' (a nil value). (0) |
{{hungerbar|1}} |
Lua error in Module:Iconbar at line 7: attempt to concatenate local 'full' (a nil value). (1) |
{{hungerbar|1|9px|poisoned=1}} |
Lua error in Module:Iconbar at line 7: attempt to concatenate local 'full' (a nil value). (1) |
{{hungerbar|2}} |
Lua error in Module:Iconbar at line 7: attempt to concatenate local 'full' (a nil value). (2) |
{{hungerbar|2|9px|poisoned=1}} |
Lua error in Module:Iconbar at line 7: attempt to concatenate local 'full' (a nil value). (2) |
{{hungerbar|5}} |
Lua error in Module:Iconbar at line 7: attempt to concatenate local 'full' (a nil value). (5) |
{{hungerbar|5|poisoned=1}} |
Lua error in Module:Iconbar at line 7: attempt to concatenate local 'full' (a nil value). (5) |
{{hungerbar|10}} |
Lua error in Module:Iconbar at line 7: attempt to concatenate local 'full' (a nil value). (10) |
{{hungerbar|10|poisoned=1}} |
Lua error in Module:Iconbar at line 7: attempt to concatenate local 'full' (a nil value). (10) |
{{hungerbar|5|9px}} |
Lua error in Module:Iconbar at line 7: attempt to concatenate local 'full' (a nil value). (5) |
{{hungerbar|5|9px|poisoned=1}} |
Lua error in Module:Iconbar at line 7: attempt to concatenate local 'full' (a nil value). (5) |
{{hungerbar|7|45px}} |
Lua error in Module:Iconbar at line 7: attempt to concatenate local 'full' (a nil value). (7) |
{{hungerbar|7|45px|poisoned=1}} |
Lua error in Module:Iconbar at line 7: attempt to concatenate local 'full' (a nil value). (7) |
{{hungerbar|7|total=20}} |
Lua error in Module:Iconbar at line 7: attempt to concatenate local 'full' (a nil value). (7) |
{{hungerbar|7|total=20|poisoned=1}} |
Lua error in Module:Iconbar at line 7: attempt to concatenate local 'full' (a nil value). (7) |
See also
{{Armorbar}}{{Healthbar}}{{Hungerbar}}{{Iconbar}}- Module:Iconbar