Template:Armor
Revision as of 20:04, 10 October 2022 by Tobias Alcaraz (talk | contribs) (Re-wrote template just like {{Health}} it now can have custom icon sizes too with an unnamed parameter)
If you find a typo, inconsistency, or error, please sign up and help out the wiki! We can't do it without your help! :D Thank you!
About
This template serves to display armor points in a page.
Usage
The syntax of this template is {{Armor|<number>|<size>}}
. If the value is higher than 10
, it will display n Γ <armor>
where n
is the number you specified.
Examples
{{Armor|0}}
β 0 ()
{{Armor|1}}
β 1 (0.5 armor points){{Armor|2}}
β 2 ()
{{Armor|3}}
β 3 (1.5 armor points)
{{Armor|4}}
β 4 ()
{{Armor|5}}
β 5 (2.5 armor points)
{{Armor|6}}
β 6 ()
{{Armor|7}}
β 7 (3.5 armor points)
{{Armor|8}}
β 8 ()
{{Armor|9}}
β 9 (4.5 armor points)
{{Armor|10}}
β 10 ()
Rounding examples:
{{Armor|1.25}}
β 1.25 (Γ 0.625)
{{Armor|1.5}}
β 1.5 (Γ 0.75)
{{Armor|1.75}}
β 1.75 (Γ 0.875)
More than 20 armor points:
{{Armor|20.5}}
β 20.5 (Γ 10.25)
{{Armor|30}
β 30 (Γ 15)
{{Armor|600}}
β 600 (Γ 300)
Custom icon size:
{{Armor|6|16x16px}}
β 6 ()