Template:Armorbar

From Official Gamemode 4 Wiki
Revision as of 23:06, 25 December 2021 by JP12 (talk | contribs) (Created page with "<includeonly>{{#invoke: iconbar | bar | full = Armor (icon).png | size = {{{2|18}}} | value = {{{1}}} | title = {{#expr:{{{1|0}}}/2}} armor point{{#ifeq: {{{1}}} | 2 || s }...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
Template documentation[view] [edit] [history] [purge]

This template creates an armor bar. Using this template, you can create a single item with a stack number inside of a crafting slot.

Usage

1

Optional. {{{1}}}, you can set the count to between 0 and 32 armor bars (counted in halves, integer). Defaults to 0

2

Optional. {{{2}}}, is used to display a stack count for the item. Defaults to 1.

Link

Optional. {{{link}}}, is used to change the lore of the item.

Total

Optional. {{{total}}}, is used to change the total amount of armor bars shown, filling the rest with empty bars.

Example Usage

  {{armorbar}}

  {{armorbar|5}}

  {{armorbar|5|total=20}}

  {{armorbar|6|45px|link=[[Sandbox]]}}

🛡

🛡🛡🛡

🛡🛡🛡🛡🛡🛡🛡🛡🛡🛡

🛡🛡🛡

Acquired from https://minecraft.fandom.com/wiki/Template:Armorbar