This page has been transcluded from Template:KotOR/Damage/Documentation.
Template used in {{KotOR/NPC}} or tables to display labeled and linked Damage Resistance and Damage Immunity icons.
Parameter
|
Description
|
Inclusion
|
1
|
Resistance / Immunity
|
Mandatory
|
2
|
Damage type(s) (alphabetical: type 1, type 2...)
|
Mandatory
|
3
|
Numerical value
|
Mandatory
|
4
|
Reduces default 24px icon to 16px
|
When used in table (can be anything)
|
- Damage types
- Bludgeoning
- Piercing
- Slashing
- KotOR/NPC
Input
|
Output
|
{{KotOR/Damage|Immunity|Electrical|100}}
|
100%
|
{{KotOR/Damage|Immunity|Fire|100}}
|
100%
|
{{KotOR/Damage|Immunity|Energy, Fire, Ion|100}}
|
100%
|
{{KotOR/Damage|Resistance|Bludgeoning|5}}
|
5/-
|
{{KotOR/Damage|Resistance|Slashing|5}}
|
5/-
|
{{KotOR/Damage|Resistance|Cold|20}}
|
20/-
|
{{KotOR/Damage|Resistance|Energy|15}}
|
15/-
|
{{KotOR/Damage|Resistance|Sonic|25}}
|
25/-
|
{{KotOR/Damage|Resistance|Cold, Fire|10}}
|
10/-
|
{{KotOR/Damage|Resistance|Bludgeoning, Piercing, Slashing|15}}
|
15/-
|
{{KotOR/Damage|Resistance|Cold, Fire, Sonic|10}}
|
10/-
|
- Table
Input
|
Output
|
{{KotOR/Damage|Immunity|Electrical|100|4}}
|
100%
|
{{KotOR/Damage|Immunity|Fire|100|4}}
|
100%
|
{{KotOR/Damage|Immunity|Energy, Fire, Ion|100|4}}
|
100%
|
{{KotOR/Damage|Resistance|Bludgeoning|5|4}}
|
5/-
|
{{KotOR/Damage|Resistance|Slashing|5|4}}
|
5/-
|
{{KotOR/Damage|Resistance|Cold|20|4}}
|
20/-
|
{{KotOR/Damage|Resistance|Energy|15|4}}
|
15/-
|
{{KotOR/Damage|Resistance|Sonic|25|4}}
|
25/-
|
{{KotOR/Damage|Resistance|Cold, Fire|10|4}}
|
10/-
|
{{KotOR/Damage|Resistance|Bludgeoning, Piercing, Slashing|15|4}}
|
15/-
|
{{KotOR/Damage|Resistance|Cold, Fire, Sonic|10|4}}
|
10/-
|