Z Minecraft Wiki
Přejít na: navigace, hledání
This is the documentation page, it should be transcluded into the main template page. See Template:Documentation for more information

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.svg × [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
Code Result
{{hunger}} 0 (Empty Hunger.svg)
{{hunger|0}} 0 (Empty Hunger.svg)
{{hunger|4}} 4 (Hunger.svgHunger.svg)
{{hunger|7|poisoned=1}} 7 (Poisoned Half Hunger.svgPoisoned Hunger.svgPoisoned Hunger.svgPoisoned Hunger.svg)
{{hunger|4|18px}} 4 (Hunger.svgHunger.svg)
{{hunger|20|notag=1}} Hunger.svgHunger.svgHunger.svgHunger.svgHunger.svgHunger.svgHunger.svgHunger.svgHunger.svgHunger.svg
{{hunger|26|notag=1}} Hunger.svg × 13
{{hunger|20}} 20 (Hunger.svgHunger.svgHunger.svgHunger.svgHunger.svgHunger.svgHunger.svgHunger.svgHunger.svgHunger.svg)
{{hunger|24}} 24 (Hunger.svg × 12)
{{hunger|41}} 41 (Hunger.svg × 20.5)