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:53, 9 March 2026 by NIK220V (talk | contribs) (Created page with "<includeonly><span class="nowrap"><!-- -->{{#if: {{{notag|}}} {{{bar|}}} || {{{1|0}}} ( }}<!-- -->{{hungerbar |{{#ifexpr: {{{1|0}}} > 10 | 2 | {{{1|{{{bar|0}}}}}}}} |{{{2|9px}}} |poisoned={{{poisoned|}}} |total={{{total|{{#if:{{{bar|}}}|20|}}}}} }}<!-- -->{{#ifexpr: {{{1|0}}} > 10 | × {{ #expr: {{{1|0}}} / 2 }} }}<!-- -->{{ #if: {{{notag|}}} {{{bar|}}} || ) }}<!-- --></span></includeonly><noinclude> {{documentation}} <!-- Put categories/interwiki on the documentati...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
[view] [edit] [history] [purge]Documentation

This template displays hunger points and visualizes these with the help of a hunger bar.

For a more compact display, all hunger point values above 10 (5 drumsticks) are replaced by 🍗 × [hunger / 2].

Parameter Function Default value
1 Amount of icons to show. 0
2 Size of icons. 9px
poisoned Show yellow-green hunger icons. None
notag Remove number and parenthesis. None
total Total amount of shanks to show, any more than the set amount in |1= are shown as empty. 0
bar Sets |total= to 20 and replaces |1=. Essentially used to display a hunger bar. None
Code Result
{{hunger}} 0 (🦴)
{{hunger|0}} 0 (🦴)
{{hunger|4}} 4 (🍗🍗)
{{hunger|4|total=20}} 4 (🦴🦴🦴🦴🦴🦴🦴🦴🍗🍗)
{{hunger|7|poisoned=1}} 7 (🍖🍗🍗🍗)
{{hunger|4|18px}} 4 (🍗🍗)
{{hunger|20|notag=1}} 🍗 × 10
{{hunger|26|notag=1}} 🍗 × 13
{{hunger|20}} 20 (🍗 × 10)
{{hunger|24}} 24 (🍗 × 12)
{{hunger|41}} 41 (🍗 × 20.5)
[view] [edit] [history] [purge]The above documentation is transcluded from Template:Hunger/doc.