More actions
m Fase 1: Reformat the source to increase readability, coding and testing. Making small steps to check when it fails to work. |
m Fase 1: Reformat the source to increase readability, coding and testing. Making small steps to check when it fails to work. |
||
| Line 83: | Line 83: | ||
| Rogue Drones = {{Damagetype|Em|Th}} | | Rogue Drones = {{Damagetype|Em|Th}} | ||
| Damage to deal not defined for faction 1 | | Damage to deal not defined for faction 1 | ||
}} }}</span>{{#if: {{{Faction2|}}} | <span style="width:155px;display:inline-block">{{#if:{{{DamageToDeal2|}}}|{{{DamageToDeal2}}}|{{#switch: {{{Faction2}}} | }} }}</span>{{#if: {{{Faction2|}}} | <span style="width:155px;display:inline-block">{{#if:{{{DamageToDeal2|}}} | ||
|{{{DamageToDeal2}}} | |||
|{{#switch: {{{Faction2}}} | |||
| Serpentis = {{Damagetype|Kin|Th}} | |||
| Angel | |||
| Angel Cartel = {{Damagetype|Ex|Kin}} | |||
| Syndicate | |||
| The Syndicate = {{Damagetype|Kin|Th}} | |||
| Guristas pirates | |||
| Guristas = {{Damagetype|Kin|Th}} | |||
| Sansha | |||
| Sansha's Nation = {{Damagetype|Em|Th}} | |||
| Blood Raider Covenant | |||
| Blood Raiders = {{Damagetype|Em|Th}} | |||
| Mordu's | |||
| Mordu's Legion = {{Damagetype|Kin|Em}} | |||
| EOM | |||
| Equilibrium of Mankind = {{Damagetype|Kin}} | |||
| CONCORD = {{Damagetype|Kin|Th}} | |||
| Amarr Empire | |||
| Amarr = {{Damagetype|Em|Th}} | |||
| Ammatar = {{Damagetype|Em|Th}} | |||
| Minmatar Republic | |||
| Thukker Tribe | |||
| Minmatar = {{Damagetype|Ex|Kin}} | |||
| Gallente Federation | |||
| Gallente = {{Damagetype|Kin|Th}} | |||
| Caldari State | |||
| Caldari = {{Damagetype|Kin|Th}} | |||
| Khanid Kingdom | |||
| Khanid = {{Damagetype|Em|Th}} | |||
| Mercenaries = {{Damagetype|Kin|Th}} | |||
}}}}</span>|}}{{#if: {{{Faction3|}}} |<span style="width:155px;display:inline-block">{{#if:{{{DamageToDeal3|}}}|{{{DamageToDeal3}}}|{{#switch: {{{Faction3}}} | | Rogue Drones = {{Damagetype|Em|Th}} | ||
| Damage to deal not defined for faction 2 | |||
}} }}</span>|}}{{#if: {{{Faction3|}}} |<span style="width:155px;display:inline-block">{{#if:{{{DamageToDeal3|}}} | |||
|{{{DamageToDeal3}}} | |||
|{{#switch: {{{Faction3}}} | |||
| Serpentis = {{Damagetype|Kin|Th}} | |||
| Angel | |||
| Angel Cartel = {{Damagetype|Ex|Kin}} | |||
| Syndicate | |||
| The Syndicate = {{Damagetype|Kin|Th}} | |||
| Guristas pirates | |||
| Guristas = {{Damagetype|Kin|Th}} | |||
| Sansha | |||
| Sansha's Nation = {{Damagetype|Em|Th}} | |||
| Blood Raider Covenant | |||
| Blood Raiders = {{Damagetype|Em|Th}} | |||
| Mordu's | |||
| Mordu's Legion = {{Damagetype|Kin|Em}} | |||
| EOM | |||
| Equilibrium of Mankind = {{Damagetype|Kin}} | |||
| CONCORD = {{Damagetype|Kin|Th}} | |||
| Amarr Empire | |||
| Amarr = {{Damagetype|Em|Th}} | |||
| Ammatar = {{Damagetype|Em|Th}} | |||
| Minmatar Republic | |||
| Thukker Tribe | |||
| Minmatar = {{Damagetype|Ex|Kin}} | |||
| Gallente Federation | |||
| Gallente = {{Damagetype|Kin|Th}} | |||
| Caldari State | |||
| Caldari = {{Damagetype|Kin|Th}} | |||
| Khanid Kingdom | |||
}}}}</span>|}}{{#if: {{{Faction4|}}} |<span style="width:155px;display:inline-block">{{#if:{{{DamageToDeal4|}}}|{{{DamageToDeal4}}}|{{#switch: {{{Faction4}}} | | Khanid = {{Damagetype|Em|Th}} | ||
| Mercenaries = {{Damagetype|Kin|Th}} | |||
| Rogue Drones = {{Damagetype|Em|Th}} | |||
| Damage to deal not defined for faction 3 | |||
}} }}</span>|}}{{#if: {{{Faction4|}}} |<span style="width:155px;display:inline-block">{{#if:{{{DamageToDeal4|}}} | |||
|{{{DamageToDeal4}}} | |||
|{{#switch: {{{Faction4}}} | |||
| Serpentis = {{Damagetype|Kin|Th}} | |||
| Angel | |||
| Angel Cartel = {{Damagetype|Ex|Kin}} | |||
| Syndicate | |||
| The Syndicate = {{Damagetype|Kin|Th}} | |||
| Guristas pirates | |||
| Guristas = {{Damagetype|Kin|Th}} | |||
| Sansha | |||
| Sansha's Nation = {{Damagetype|Em|Th}} | |||
| Blood Raider Covenant | |||
| Blood Raiders = {{Damagetype|Em|Th}} | |||
| Mordu's | |||
| Mordu's Legion = {{Damagetype|Kin|Em}} | |||
| EOM | |||
| Equilibrium of Mankind = {{Damagetype|Kin}} | |||
| CONCORD = {{Damagetype|Kin|Th}} | |||
| Amarr Empire | |||
| Amarr = {{Damagetype|Em|Th}} | |||
| Ammatar = {{Damagetype|Em|Th}} | |||
| Minmatar Republic | |||
| Thukker Tribe | |||
| Minmatar = {{Damagetype|Ex|Kin}} | |||
| Gallente Federation | |||
| Gallente = {{Damagetype|Kin|Th}} | |||
| Caldari State | |||
}}}}</span>|}}{{#if:{{{Faction1|}}}| </td> | | Caldari = {{Damagetype|Kin|Th}} | ||
| Khanid Kingdom | |||
| Khanid = {{Damagetype|Em|Th}} | |||
| Mercenaries = {{Damagetype|Kin|Th}} | |||
| Rogue Drones = {{Damagetype|Em|Th}} | |||
| Damage to deal not defined for faction 4 | |||
}} }}</span>|}}{{#if:{{{Faction1|}}}| </td> | |||
</tr> |}} |}} }} | </tr> |}} |}} }} | ||
| Line 189: | Line 195: | ||
<tr> | <tr> | ||
<td style="background:#191616;padding:0px 1em">Damage to resist</td> | <td style="background:#191616;padding:0px 1em">Damage to resist</td> | ||
<td style="padding:2px 0 2px 5px;"><span style="width:155px;display:inline-block">{{#if:{{{DamageToResist1|}}}|{{{DamageToResist1}}}|{{#switch: {{{Faction1}}} | <td style="padding:2px 0 2px 5px;"><span style="width:155px;display:inline-block">{{#if:{{{DamageToResist1|}}} | ||
|{{{DamageToResist1}}} | |||
|{{#switch: {{{Faction1}}} | |||
| Serpentis = {{Damagetype|Th|Kin}} | |||
| Angel | |||
| Angel Cartel = {{Damagetype|Ex|Kin}} | |||
| Syndicate | |||
| The Syndicate = {{Damagetype|Kin|Th}} | |||
| Guristas pirates | |||
| Guristas = {{Damagetype|Kin|Th}} | |||
| Sansha | |||
| Sansha's Nation = {{Damagetype|Em|Th}} | |||
| Blood Raider Covenant | |||
| Blood Raiders = {{Damagetype|Em|Th}} | |||
| Mordu's | |||
| Mordu's Legion = {{Damagetype|Kin|th}}{{icon|small info|16|Battleships deal almost purely kinetic damage. Smaller things deal both kinetic and thermal}} | |||
| EOM | |||
| Equilibrium of Mankind = {{Damagetype|Kin|Th}} | |||
| CONCORD = {{Damagetype|Omni}} | |||
| Amarr Empire | |||
| Amarr = {{Damagetype|Em|Th}} | |||
| Ammatar = {{Damagetype|Em|Th}} | |||
| Minmatar Republic | |||
| Thukker Tribe | |||
| Minmatar = {{Damagetype|Ex|Kin}} | |||
| Gallente Federation | |||
| Gallente = {{Damagetype|Kin|Th}} | |||
| Caldari State | |||
| Caldari = {{Damagetype|Kin|Th}} | |||
| Khanid Kingdom | |||
| Khanid = {{Damagetype|Th|Em}} | |||
| Mercenaries = {{Damagetype|Kin|Th}} | |||
}}}}</span>{{#if: {{{Faction2|}}} |<span style="width:155px;display:inline-block">{{#if:{{{DamageToResist2|}}}|{{{DamageToResist2}}}|{{#switch: {{{Faction2}}} | | Rogue Drones = {{Damagetype|Ex|Kin|Th}} | ||
| Damage to resist not defined for faction 1 | |||
}} }}</span>{{#if: {{{Faction2|}}} |<span style="width:155px;display:inline-block">{{#if:{{{DamageToResist2|}}} | |||
|{{{DamageToResist2}}} | |||
|{{#switch: {{{Faction2}}} | |||
| Serpentis = {{Damagetype|Th|Kin}} | |||
| Angel | |||
| Angel Cartel = {{Damagetype|Ex|Kin}} | |||
| Syndicate | |||
| The Syndicate = {{Damagetype|Kin|Th}} | |||
| Guristas pirates | |||
| Guristas = {{Damagetype|Kin|Th}} | |||
| Sansha | |||
| Sansha's Nation = {{Damagetype|Em|Th}} | |||
| Blood Raider Covenant | |||
| Blood Raiders = {{Damagetype|Em|Th}} | |||
| Mordu's | |||
| Mordu's Legion = {{Damagetype|Kin|th}}{{icon|small info|16|Battleships deal almost purely kinetic damage. Smaller things deal both kinetic and thermal}} | |||
| EOM | |||
| Equilibrium of Mankind = {{Damagetype|Kin|Th}} | |||
| CONCORD = {{Damagetype|Omni}} | |||
| Amarr Empire | |||
| Amarr = {{Damagetype|Em|Th}} | |||
| Ammatar = {{Damagetype|Em|Th}} | |||
| Minmatar Republic | |||
| Thukker Tribe | |||
| Minmatar = {{Damagetype|Ex|Kin}} | |||
| Gallente Federation | |||
| Gallente = {{Damagetype|Kin|Th}} | |||
| Caldari State | |||
| Caldari = {{Damagetype|Kin|Th}} | |||
| Khanid Kingdom | |||
}}}}</span>|}}{{#if: {{{Faction3|}}} |<span style="width:155px;display:inline-block">{{#if:{{{DamageToResist3|}}}|{{{DamageToResist3}}}|{{#switch: {{{Faction3}}} | | Khanid = {{Damagetype|Th|Em}} | ||
| Mercenaries = {{Damagetype|Kin|Th}} | |||
| Rogue Drones = {{Damagetype|Ex|Kin|Th}} | |||
| Damage to resist not defined for faction 2 | |||
}} }}</span>|}}{{#if: {{{Faction3|}}} |<span style="width:155px;display:inline-block">{{#if:{{{DamageToResist3|}}} | |||
|{{{DamageToResist3}}} | |||
|{{#switch: {{{Faction3}}} | |||
| Serpentis = {{Damagetype|Th|Kin}} | |||
| Angel | |||
| Angel Cartel = {{Damagetype|Ex|Kin}} | |||
| Syndicate | |||
| The Syndicate = {{Damagetype|Kin|Th}} | |||
| Guristas pirates | |||
| Guristas = {{Damagetype|Kin|Th}} | |||
| Sansha | |||
| Sansha's Nation = {{Damagetype|Em|Th}} | |||
| Blood Raider Covenant | |||
| Blood Raiders = {{Damagetype|Em|Th}} | |||
| Mordu's | |||
| Mordu's Legion = {{Damagetype|Kin|th}}{{icon|small info|16|Battleships deal almost purely kinetic damage. Smaller things deal both kinetic and thermal}} | |||
| EOM | |||
| Equilibrium of Mankind = {{Damagetype|Kin|Th}} | |||
| CONCORD = {{Damagetype|Omni}} | |||
| Amarr Empire | |||
| Amarr = {{Damagetype|Em|Th}} | |||
| Ammatar = {{Damagetype|Em|Th}} | |||
| Minmatar Republic | |||
| Thukker Tribe | |||
| Minmatar = {{Damagetype|Ex|Kin}} | |||
| Gallente Federation | |||
| Gallente = {{Damagetype|Kin|Th}} | |||
| Caldari State | |||
}}}}</span>|}}{{#if: {{{Faction4|}}} |<span style="width:155px;display:inline-block">{{#if:{{{DamageToResist4|}}}|{{{DamageToResist4}}}|{{#switch: {{{Faction4}}} | | Caldari = {{Damagetype|Kin|Th}} | ||
| Khanid Kingdom | |||
| Khanid = {{Damagetype|Th|Em}} | |||
| Mercenaries = {{Damagetype|Kin|Th}} | |||
| Rogue Drones = {{Damagetype|Ex|Kin|Th}} | |||
| Damage to resist not defined for faction 3 | |||
}} }}</span>|}}{{#if: {{{Faction4|}}} |<span style="width:155px;display:inline-block">{{#if:{{{DamageToResist4|}}} | |||
|{{{DamageToResist4}}} | |||
|{{#switch: {{{Faction4}}} | |||
| Serpentis = {{Damagetype|Th|Kin}} | |||
| Angel | |||
| Angel Cartel = {{Damagetype|Ex|Kin}} | |||
| Syndicate | |||
| The Syndicate = {{Damagetype|Kin|Th}} | |||
| Guristas pirates | |||
| Guristas = {{Damagetype|Kin|Th}} | |||
| Sansha | |||
| Sansha's Nation = {{Damagetype|Em|Th}} | |||
| Blood Raider Covenant | |||
| Blood Raiders = {{Damagetype|Em|Th}} | |||
| Mordu's | |||
| Mordu's Legion = {{Damagetype|Kin|th}}{{icon|small info|16|Battleships deal almost purely kinetic damage. Smaller things deal both kinetic and thermal}} | |||
| EOM | |||
| Equilibrium of Mankind = {{Damagetype|Kin|Th}} | |||
| CONCORD = {{Damagetype|Omni}} | |||
| Amarr Empire | |||
| Amarr = {{Damagetype|Em|Th}} | |||
| Ammatar = {{Damagetype|Em|Th}} | |||
| Minmatar Republic | |||
| Thukker Tribe | |||
| Minmatar = {{Damagetype|Ex|Kin}} | |||
| Gallente Federation | |||
}}}}</span>|}}{{#if:{{{Faction1|}}}| </td> | | Gallente = {{Damagetype|Kin|Th}} | ||
| Caldari State | |||
| Caldari = {{Damagetype|Kin|Th}} | |||
| Khanid Kingdom | |||
| Khanid = {{Damagetype|Th|Em}} | |||
| Mercenaries = {{Damagetype|Kin|Th}} | |||
| Rogue Drones = {{Damagetype|Ex|Kin|Th}} | |||
| Damage to resist not defined for faction 4 | |||
}} }}</span>|}}{{#if:{{{Faction1|}}}| </td> | |||
</tr> | </tr> | ||
|}} |}} }} | |}} |}} }} | ||
Revision as of 16:11, 24 March 2022
Template documentation (for the above template, sometimes hidden or invisible)
Visit User:Evon R'al/Sandbox template/doc to edit this text! (How does this work?) (Refresh this text - why?)