Template:Hungerbar: Difference between revisions
Mastergalen (talk | contribs) m (1 revision) |
FantasyTeddy (talk | contribs) mNo edit summary |
||
Line 1: | Line 1: | ||
<includeonly>{{iconbar | <includeonly>{{#invoke: iconbar | bar | ||
| full = {{ #if: {{{poisoned|}}} | Poisoned }} Hunger. | | full = {{ #if: {{{poisoned|}}} | Poisoned }} Hunger.svg | ||
| half = {{ #if: {{{poisoned|}}} | Poisoned }} Half Hunger. | | half = {{ #if: {{{poisoned|}}} | Poisoned }} Half Hunger.svg | ||
| empty = Empty Hunger. | | empty = Empty Hunger.svg | ||
| size = {{ #if: {{{2|}}} | {{{2}}} | 18px }} | | size = {{ #if: {{{2|}}} | {{{2}}} | 18px }} | ||
| value = | | value = {{{1|}}} | ||
| reverse = 1 | | reverse = 1 | ||
| min = {{{total|}}} | |||
}}</includeonly><noinclude> | }}</includeonly><noinclude> | ||
{{ | {{documentation}} | ||
<!-- Put categories/interwiki on the documentation page --> | |||
</noinclude> |
Latest revision as of 13:21, 3 August 2015
This template uses Module:Iconbar, a script written in Lua.
Please see wp:Lua and mw:Extension:Scribunto to learn more.
Please see wp:Lua and mw:Extension:Scribunto to learn more.
This template creates a food point bar.
Parameter | Function | Default value |
---|---|---|
1 |
Integer health value between 0 and 32. 0 = None, 1 = one food point, 2 = two food points etc. | 0 |
2 |
Width of each icon in CSS units like "px" or "em". | 18px |
poisoned |
Shows the poisoned hunger bar | 0 |
total |
Minimum number of food points to display. | 0 |
See also
{{Armorbar}}
{{Healthbar}}
{{Hungerbar}}
{{Iconbar}}
- Module:Iconbar
[view | edit | history | purge]The above documentation is transcluded from Template:Hungerbar/doc.
Cookies help us deliver our services. By using our services, you agree to our use of cookies.