Template:Armor/doc

From Modded Wiki
Revision as of 02:11, 2 June 2026 by Carter57 (talk | contribs) (Created page with "{{Documentation header}} This template displays armor points and visualizes these with the help of {{tl|Armorbar}}. For a more compact display, all armor point values above 10 (5 armor points) are replaced by {{Armorbar|2|9px}} × [armor / 2]. {| class="wikitable" ! Code ! Result |- | <nowiki>{{Armor|0}}</nowiki> || {{Armor|0}} |- | <nowiki>{{Armor|4}}</nowiki> || {{Armor|4}} |- | <nowiki>{{Armor|16}}</nowiki> || {{Armor|16}} |- | <nowiki>{{Armor|20}}</nowiki> || {{Arm...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
This is the documentation page. It should be transcluded into Template:Armor. See Template:Documentation for more information.

This template displays armor points and visualizes these with the help of {{Armorbar}}.

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)