Difference between revisions of "Template:Armor"
Line 13: | Line 13: | ||
* <code><nowiki>{{Armor|4}}</nowiki></code> → {{Armor|4}} | * <code><nowiki>{{Armor|4}}</nowiki></code> → {{Armor|4}} | ||
* <code><nowiki>{{Armor|5}}</nowiki></code> → {{Armor|5}} | * <code><nowiki>{{Armor|5}}</nowiki></code> → {{Armor|5}} | ||
− | * <code><nowiki>{{Armor|6}}</nowiki></code> → {{Armor| | + | * <code><nowiki>{{Armor|6}}</nowiki></code> → {{Armor|6}} |
* <code><nowiki>{{Armor|7}}</nowiki></code> → {{Armor|7}} | * <code><nowiki>{{Armor|7}}</nowiki></code> → {{Armor|7}} | ||
* <code><nowiki>{{Armor|8}}</nowiki></code> → {{Armor|8}} | * <code><nowiki>{{Armor|8}}</nowiki></code> → {{Armor|8}} |
Revision as of 09:54, 5 July 2022
Expression error: Unrecognized punctuation character "{".Expression error: Unrecognized punctuation character "{".Expression error: Unrecognized punctuation character "{".Expression error: Unrecognized punctuation character "{".Expression error: Unrecognized punctuation character "{".Expression error: Unrecognized punctuation character "{".Expression error: Unrecognized punctuation character "{".Expression error: Unrecognized punctuation character "{".Expression error: Unrecognized punctuation character "{".Expression error: Unrecognized punctuation character "{".
About
This template serves to display armor points in a page.
Usage
The syntax of this template is {{Armor|<number>}}
. If the value given is 0
or lower, it will display nothing, and if the value is higher than 10
, it will display 10 armor icons. It can also round to the nearest integer.
Examples
{{Armor|0}}
→{{Armor|1}}
→{{Armor|2}}
→{{Armor|3}}
→{{Armor|4}}
→{{Armor|5}}
→{{Armor|6}}
→{{Armor|7}}
→{{Armor|8}}
→{{Armor|9}}
→{{Armor|10}}
→
Rounding examples: