Template:Hunger

From Minecraft Wiki
Jump to: navigation, search
[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 20 (10 shanks) 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. 0
notag Remove number and parenthesis. 0
total Total amount of shanks to show, any more than the set amount in {{{1}}} are shown as empty. 20
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}}
{{hunger|26|notag=1}} × 13
{{hunger|20}} 20 ()
{{hunger|24}} 24 ( × 12)
{{hunger|41}} 41 ( × 20.5)
[view | edit | history | purge]The above documentation is transcluded from Template:Hunger/doc.