Template:Armor

Revision as of 18:29, 25 July 2015 by FantasyTeddy (talk | contribs) (Created page with "<includeonly>{{{1}}} ({{armorbar|{{ #ifexpr: {{{1}}} > 16 | 2 | {{{1}}} }}|9px}}{{ #ifexpr: {{{1}}} > 16 |  × {{ #expr: {{{1}}} / 2 }} }})</includeonly><noinclude>{...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
[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 16 (8 armor points) are replaced by Armor.svg × [armor / 2].

Code Result
{{Armor|0}} 0 (Empty Armor.svg)
{{Armor|4}} 4 (Armor.svgArmor.svg)
{{Armor|16}} 16 (Armor.svgArmor.svgArmor.svgArmor.svgArmor.svgArmor.svgArmor.svgArmor.svg)
{{Armor|20}} 20 (Armor.svg × 10)
{{Armor|41}} 41 (Armor.svg × 20.5)
[view | edit | history | purge]The above documentation is transcluded from Template:Armor/doc.
Cookies help us deliver our services. By using our services, you agree to our use of cookies.

Need wiki hosting?

Do you need a wiki for your Minecraft mod/gaming wiki? We'll host it for free! Contact us.

Other wikis

Indie-game wikis
Powered by Indie Wikis