Template:Armor: Difference between revisions

From Create: Minecraft Mod Wiki
Jump to navigation Jump to search
Create: Minecraft Mod Wiki>Joker876
Created page with "<includeonly>{{{1}}} ({{armorbar|{{ #ifexpr: {{{1}}} > 10 | 2 | {{{1}}} }}|9px}}{{ #ifexpr: {{{1}}} > 10 |  × {{ #expr: {{{1}}} / 2 }} }})</includeonly><noinclude>{..."
 
BoxWithout (talk | contribs)
m 1 revision imported
 
(No difference)

Latest revision as of 18:52, 14 February 2025

[view | edit | history | purge]Documentation

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)
[view | edit | history | purge]The above documentation is transcluded from Template:Armor/doc.