Template:Hungerbar/doc: Difference between revisions

From Modded Wiki
Jump to navigation Jump to search
ย 
m 1 revision imported
Tags: Mobile edit Mobile web edit
ย 
(No difference)

Latest revision as of 06:30, 23 July 2025

This is the documentation page. It should be transcluded into Template:Hungerbar. See Template:Documentation for more information.
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}} ๐Ÿ—๐Ÿ—๐Ÿ—๐Ÿ—๐Ÿ—๐Ÿ—๐Ÿ—๐Ÿ—๐Ÿ—๐Ÿ—

See also

de:Vorlage:Hungerleiste/Dokumentation fr:Modรจle:Faim/doc nl:Sjabloon:Hungerbar/doc pl: Szablon:Hungerbar/doc pt:Predefiniรงรฃo:Barra de fome/doc ru: ะจะฐะฑะปะพะฝ:ะ“ะพะปะพะดะฑะฐั€/ะดะพะบ th:เนเธกเนˆเนเธšเธš:Hungerbar/doc uk:ะจะฐะฑะปะพะฝ:Hungerbar/ะดะพะบ zh:Template:Hungerbar/doc