Template:ArmorStats
Jump to navigation
Jump to search
ArmorStats template
Templates
Prints out a table with the combat statistics of a piece of armor. (Yes I know there is already a template that does all that, but it also forces a given page structure by including the FoCW Header' which I want to avoid.
The parameters are
- Armor: Armor provided by the item
- Def: Defense level modifier of the item
- Acc: Accuracy modifier of the item
- Crit: Critical to hit modifier of the item
- Cold: Cold protection provided by the item
- Heat: Heat protection provided by the item
- Rad: Radiation protection provided by the item
- MProt: Magic protection provided by the item
- MRes: Magic resistance provided by the item
- EMU: Weight of the item
- Human: Human Nexus level required to wear the item
All parameters are optional.
Test:
{{ArmorStats |Armor = 10 |Def = -4 |Acc = silly |Crit = misspelled |Cold = Yes |Heat = wanted |Rad = German word for wheel |MProt = 2 |MRes = -3 |EMU = 12 |Human = 0 }}
Gives:
Rad! style="border-right:1px solid grey;" align="center" title="Magic Protection"|Mag Prot! style="border-right:1px solid grey;" align="center" title="Magic Resistance"|Mag Res! style="border-right:1px solid grey;" align="center" title="Weight"|EMU! style="border-right:1px solid grey;" align="center" title="Nexus needed to wear"|Human |
---|
10| style="border-right:1px solid grey;" align="center"|-4| style="border-right:1px solid grey;" align="center"|silly| style="border-right:1px solid grey;" align="center"|misspelled| style="border-right:1px solid grey;" align="center"|Yes|style="border-right:1px solid grey;" align="center"|wanted|style="border-right:1px solid grey;" align="center"|German word for wheel|style="border-right:1px solid grey;" align="center"|2|style="border-right:1px solid grey;" align="center"|-3|style="border-right:1px solid grey;" align="center"|12| style="border-right:1px solid grey;" align="center"|0 |