Jump to navigation
Jump to search
Onderduiker (talk | contribs) (Created page with "Template normally used within the KotOR/NPC template to display labelled and linked Star Wars: Knights of the Old Republic/Combat#Damage Resistance|Da...") |
Onderduiker (talk | contribs) (Revised) |
||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
Template | Template used in {{t|KotOR/NPC}} or tables to display labeled and linked [[Star Wars: Knights of the Old Republic/Combat#Damage Resistance|Damage Resistance]] and [[Star Wars: Knights of the Old Republic/Combat#Damage Immunity|Damage Immunity]] icons. | ||
{| {{prettytable|style=text-align:center}} | |||
!width=20%| Parameter | |||
!width=40%| Description | |||
!width=40%| 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 | |||
{{col|4|begin}} | |||
* Bludgeoning | |||
* Piercing | |||
* Slashing | |||
{{col|4}} | |||
* Cold | |||
* Fire | |||
* Sonic | |||
{{col|4}} | |||
* Electrical | |||
* Energy | |||
* Ion | |||
{{col|4}} | |||
{{col|4|end}} | |||
{| | ; KotOR/NPC | ||
{| {{prettytable|notwide=1|style=text-align:center}} width=80% | |||
!width=75%| Input | |||
!width=25%| Output | |||
|- | |||
| <nowiki>{{KotOR/Damage|Immunity|Electrical|100}}</nowiki> | |||
| {{KotOR/Damage|Immunity|Electrical|100}} | |||
|- | |||
| <nowiki>{{KotOR/Damage|Immunity|Fire|100}}</nowiki> | |||
| {{KotOR/Damage|Immunity|Fire|100}} | |||
|- | |||
| <nowiki>{{KotOR/Damage|Immunity|Energy, Fire, Ion|100}}</nowiki> | |||
| {{KotOR/Damage|Immunity|Energy, Fire, Ion|100}} | |||
|- | |||
| <nowiki>{{KotOR/Damage|Resistance|Bludgeoning|5}}</nowiki> | |||
| {{KotOR/Damage|Resistance|Bludgeoning|5}} | |||
|- | |||
| <nowiki>{{KotOR/Damage|Resistance|Slashing|5}}</nowiki> | |||
| {{KotOR/Damage|Resistance|Slashing|5}} | |||
|- | |||
| <nowiki>{{KotOR/Damage|Resistance|Cold|20}}</nowiki> | |||
| {{KotOR/Damage|Resistance|Cold|20}} | |||
|- | |||
| <nowiki>{{KotOR/Damage|Resistance|Energy|15}}</nowiki> | |||
| {{KotOR/Damage|Resistance|Energy|15}} | |||
|- | |||
| <nowiki>{{KotOR/Damage|Resistance|Sonic|25}}</nowiki> | |||
| {{KotOR/Damage|Resistance|Sonic|25}} | |||
|- | |||
| <nowiki>{{KotOR/Damage|Resistance|Cold, Fire|10}}</nowiki> | |||
| {{KotOR/Damage|Resistance|Cold, Fire|10}} | |||
|- | |||
| <nowiki>{{KotOR/Damage|Resistance|Bludgeoning, Piercing, Slashing|15}}</nowiki> | |||
| {{KotOR/Damage|Resistance|Bludgeoning, Piercing, Slashing|15}} | |||
|- | |||
| <nowiki>{{KotOR/Damage|Resistance|Cold, Fire, Sonic|10}}</nowiki> | |||
| {{KotOR/Damage|Resistance|Cold, Fire, Sonic|10}} | |||
|} | |||
; Table | |||
{| {{prettytable|notwide=1|style=text-align:center}} width=80% | |||
!width=75%| Input | |||
!width=25%| Output | |||
|- | |||
| <nowiki>{{KotOR/Damage|Immunity|Electrical|100|4}}</nowiki> | |||
| {{KotOR/Damage|Immunity|Electrical|100|4}} | |||
|- | |||
| <nowiki>{{KotOR/Damage|Immunity|Fire|100|4}}</nowiki> | |||
| {{KotOR/Damage|Immunity|Fire|100|4}} | |||
|- | |||
| <nowiki>{{KotOR/Damage|Immunity|Energy, Fire, Ion|100|4}}</nowiki> | |||
| {{KotOR/Damage|Immunity|Energy, Fire, Ion|100|4}} | |||
|- | |||
| <nowiki>{{KotOR/Damage|Resistance|Bludgeoning|5|4}}</nowiki> | |||
| {{KotOR/Damage|Resistance|Bludgeoning|5|4}} | |||
|- | |||
| <nowiki>{{KotOR/Damage|Resistance|Slashing|5|4}}</nowiki> | |||
| {{KotOR/Damage|Resistance|Slashing|5|4}} | |||
|- | |||
| <nowiki>{{KotOR/Damage|Resistance|Cold|20|4}}</nowiki> | |||
| {{KotOR/Damage|Resistance|Cold|20|4}} | |||
|- | |||
| <nowiki>{{KotOR/Damage|Resistance|Energy|15|4}}</nowiki> | |||
| {{KotOR/Damage|Resistance|Energy|15|4}} | |||
|- | |- | ||
| | | <nowiki>{{KotOR/Damage|Resistance|Sonic|25|4}}</nowiki> | ||
| {{KotOR/Damage|Resistance|Sonic|25|4}} | |||
| | |||
|- | |- | ||
| | | <nowiki>{{KotOR/Damage|Resistance|Cold, Fire|10|4}}</nowiki> | ||
| {{KotOR/Damage|Resistance|Cold, Fire|10|4}} | |||
| | |||
|- | |- | ||
| | | <nowiki>{{KotOR/Damage|Resistance|Bludgeoning, Piercing, Slashing|15|4}}</nowiki> | ||
| {{KotOR/Damage|Resistance|Bludgeoning, Piercing, Slashing|15|4}} | |||
| | |||
|- | |- | ||
| | | <nowiki>{{KotOR/Damage|Resistance|Cold, Fire, Sonic|10|4}}</nowiki> | ||
| {{KotOR/Damage|Resistance|Cold, Fire, Sonic|10|4}} | |||
| | |||
|} | |} | ||
<noinclude>[[Category:Template documentation | <noinclude>[[Category:Template documentation]]</noinclude> |
Latest revision as of 22:55, 10 August 2023
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
- Cold
- Fire
- Sonic
- Electrical
- Energy
- Ion
- KotOR/NPC
- Table