Template:Armorbar/doc: Difference between revisions

From Create: Minecraft Mod Wiki
Jump to navigation Jump to search
Create: Minecraft Mod Wiki>Joker876
Created page with "{{Documentation subpage}} {{lua|Iconbar}} This template creates an armor bar. {| class="wikitable" ! Parameter ! Function ! Default value |- | {{p|1}} || Integer armor value..."
 
BoxWithout (talk | contribs)
m 1 revision imported
 
(No difference)

Latest revision as of 18:52, 14 February 2025

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[edit source]

Template:Iconbar see also