Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.
Revision as of 15:51, 9 March 2026 by NIK220V (talk | contribs) (Created page with "<includeonly>{{#invoke: iconbar | bar | full = {{#if: {{{poisoned|}}} | Poisoned }} Hunger (icon).png | empty = Empty Hunger (icon).png | size = {{{2|18}}} | value = {{{1}}} | title = {{#expr:{{{1|0}}}/2}} {{#if: {{{poisoned|}}} | poisoned }} hunger point{{#ifeq: {{{1|}}} | 2 || s }} | reverse = 1 | min = {{{total|}}} | link = {{{link|}}} | fullalt = πŸ— | halfalt = πŸ– | emptyalt = 🦴 }}</includeonly><noinclude> {{documentation}} <!-- Put categories/interwiki...")
(diff) ← Older revision | Latest revision (diff) | Newer revision β†’ (diff)
[view] [edit] [history] [purge]Documentation
This template uses Module:Iconbar, a script written in Lua.

This 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}} 🦴
{{hungerbar|0|9px}} 🦴
{{hungerbar|1}} πŸ–
{{hungerbar|1|9px|poisoned=1}} πŸ–
{{hungerbar|2}} πŸ—
{{hungerbar|2|9px|poisoned=1}} πŸ—
{{hungerbar|5}} πŸ–πŸ—πŸ—
{{hungerbar|5|poisoned=1}} πŸ–πŸ—πŸ—
{{hungerbar|10}} πŸ—πŸ—πŸ—πŸ—πŸ—
{{hungerbar|10|poisoned=1}} πŸ—πŸ—πŸ—πŸ—πŸ—
{{hungerbar|5|9px}} πŸ–πŸ—πŸ—
{{hungerbar|5|9px|poisoned=1}} πŸ–πŸ—πŸ—
{{hungerbar|7|45px}} πŸ–πŸ—πŸ—πŸ—
{{hungerbar|7|45px|poisoned=1}} πŸ–πŸ—πŸ—πŸ—
{{hungerbar|7|total=20}} πŸ¦΄πŸ¦΄πŸ¦΄πŸ¦΄πŸ¦΄πŸ¦΄πŸ–πŸ—πŸ—πŸ—
{{hungerbar|7|total=20|poisoned=1}} πŸ¦΄πŸ¦΄πŸ¦΄πŸ¦΄πŸ¦΄πŸ¦΄πŸ–πŸ—πŸ—πŸ—
[view] [edit] [history] [purge]The above documentation is transcluded from Template:Hungerbar/doc.