m 1 revision |
mNo edit summary |
||
| Line 1: | Line 1: | ||
<includeonly>{{iconbar | <includeonly>{{#invoke: iconbar | bar | ||
| full = {{ #if: {{{poisoned|}}} | Poisoned }} Hunger. | | full = {{ #if: {{{poisoned|}}} | Poisoned }} Hunger.svg | ||
| half = {{ #if: {{{poisoned|}}} | Poisoned }} Half Hunger. | | half = {{ #if: {{{poisoned|}}} | Poisoned }} Half Hunger.svg | ||
| empty = Empty Hunger. | | empty = Empty Hunger.svg | ||
| size = {{ #if: {{{2|}}} | {{{2}}} | 18px }} | | size = {{ #if: {{{2|}}} | {{{2}}} | 18px }} | ||
| value = | | value = {{{1|}}} | ||
| reverse = 1 | | reverse = 1 | ||
| min = {{{total|}}} | |||
}}</includeonly><noinclude> | }}</includeonly><noinclude> | ||
{{ | {{documentation}} | ||
<!-- Put categories/interwiki on the documentation page --> | |||
</noinclude> | |||
This template creates a food point bar.
| Parameter | Function | Default value |
|---|---|---|
1 |
Integer health value between 0 and 32. 0 = None, 1 = one food point, 2 = two food points etc. | 0 |
2 |
Width of each icon in CSS units like "px" or "em". | 18px |
poisoned |
Shows the poisoned hunger bar | 0 |
total |
Minimum number of food points to display. | 0 |
{{Armorbar}}{{Healthbar}}{{Hungerbar}}{{Iconbar}}Do you need a wiki for your Minecraft mod/gaming wiki? We'll host it for free! Contact us.