Template:Armorbar/doc

From Create: Minecraft Mod Wiki
Revision as of 18:52, 14 February 2025 by BoxWithout (talk | contribs) (1 revision imported)
(diff) ← Older revision | Latest revision (diff) | Newer revision β†’ (diff)
Jump to navigation Jump to search
This is a documentation subpage for Template:Armorbar.
It contains usage information, categories and other content that is not part of the original template page.

Lua error in package.lua at line 80: module 'Dev:Arguments' not found. This template creates an armor bar.

Parameter Function Default value
{{{1}}} Integer armor value between 0 and 32. Empty armor = 0, half armor = 1, full armor = 2, etc. 0
{{{2}}} Width of each icon in pixels. 18
{{{link}}} Page linked when clicking on an icon. None
{{{total}}} Total amount of armor points to be shown. 0
Code Result
{{armorbar}} πŸ›‘
{{armorbar|<0>|<9px>}} πŸ›‘
{{armorbar|<1>}} πŸ›‘
{{armorbar|<2>}} πŸ›‘
{{armorbar|<5>}} πŸ›‘πŸ›‘πŸ›‘
{{armorbar|<5>|<total=20>}} πŸ›‘πŸ›‘πŸ›‘πŸ›‘πŸ›‘πŸ›‘πŸ›‘πŸ›‘πŸ›‘πŸ›‘
{{armorbar|<20>}} πŸ›‘πŸ›‘πŸ›‘πŸ›‘πŸ›‘πŸ›‘πŸ›‘πŸ›‘πŸ›‘πŸ›‘
{{armorbar|<10>|<9px>}} πŸ›‘πŸ›‘πŸ›‘πŸ›‘πŸ›‘
{{armorbar|<6>|<45px>}} πŸ›‘πŸ›‘πŸ›‘

See also

Template:Iconbar see also