Template:Armor/doc

From Create: Minecraft Mod Wiki
Jump to navigation Jump to search
This is a documentation subpage for Template:Armor.
It contains usage information, categories and other content that is not part of the original template page.

This template displays armor points and visualizes these with the help of an armor bar.

For a more compact display, all armor point values above 10 (5 armor points) are replaced by 🛡 × [armor / 2].

Code Result
{{Armor|<0>}} 0 (🛡)
{{Armor|<4>}} 4 (🛡🛡)
{{Armor|<16>}} 16 (🛡 × 8)
{{Armor|<20>}} 20 (🛡 × 10)
{{Armor|<41>}} 41 (🛡 × 20.5)