Template:Hungerbar/doc

From MC Public Wiki
Jump to: navigation, search
{{#vardefine: nodoc | {{{nodoc}}} }}{{#vardefine: baddoc | {{{baddoc}}} }}
Template-info.png Documentation

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
Code Result
{{hungerbar}} 18px
{{hungerbar|0|9px}} 9px
{{hungerbar|1}} 18px
{{hungerbar|2}} 18px18px
{{hungerbar|5}} 18px18px18px18px18px
{{hungerbar|10}} 18px18px18px18px18px18px18px18px18px18px
{{hungerbar|5|10px}} 10px10px10px10px10px
{{hungerbar|6|48px}} 48px48px48px48px48px48px

See also

The above documentation is transcluded from Template:Hungerbar/doc/doc. (edit | history)

Personal tools
Namespaces

Variants
Actions
Navigation
Rules & Info
Servers
Look also
Extras
Toolbox
Google AdSense