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 35: | Line 35: | ||
</tr> | </tr> | ||
|{{#if: {{{Faction1|}}}| | |{{#if: {{{Faction1|}}}| | ||
<tr> | <tr> | ||
<td style="background:#191616;padding:0px 1em"> {{#if:{{{Faction2|}}}| Factions | Faction }}</td> | |||
<td style="padding:2px 0 2px 5px;"> <span style="width:155px;display:inline-block">{{{Faction1}}}</span>{{#if: {{{Faction2|}}} | |||
|<span style="width:155px;display:inline-block">{{{Faction2}}}</span>|}}{{#if: {{{Faction3|}}} | |||
|<span style="width:155px;display:inline-block">{{{Faction3}}}</span>|}}{{#if: {{{Faction4|}}} | |||
|<span style="width:155px;display:inline-block">{{{Faction4}}}</span>|}}</td> | |||
</tr> | </tr> | ||
| }} }} | | }} }} | ||
| Line 48: | Line 48: | ||
<td style="width:125px;background:#191616;padding:0px 1em">Best damage to deal</td> | <td style="width:125px;background:#191616;padding:0px 1em">Best damage to deal</td> | ||
<td style="padding:2px 0 2px 5px;">{{{DamageToDeal}}}</td> | <td style="padding:2px 0 2px 5px;">{{{DamageToDeal}}}</td> | ||
</tr> | | </tr> | ||
{{#if: {{{Faction1|}}} | | |{{#if: {{{Faction1|}}} | | ||
<tr> | <tr> | ||
<td style="background:#191616;padding:0px 1em">Best damage to deal</td> | |||
<td style="padding:2px 0 2px 5px;"><span style="width:155px;display:inline-block">{{#if:{{{DamageToDeal1|}}} | |||
|{{{DamageToDeal1}}} | |||
|{{#switch: {{{Faction1}}} | |||
| 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}} | |||
| Rogue Drones = {{Damagetype|Em|Th}} | |||
| Damage to deal not defined for faction 1 | |||
}} }}</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}} | |||
| 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 | |||
| 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 | |||
| 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> |}} |}} }} | ||
{{#if:{{{DamageToResist|}}} | | {{#if:{{{DamageToResist|}}} | | ||
| Line 196: | Line 196: | ||
<td style="padding:2px 0 2px 5px;">{{{DamageToResist}}}</td> | <td style="padding:2px 0 2px 5px;">{{{DamageToResist}}}</td> | ||
</tr> |{{#if: {{{Faction1|}}} | | </tr> |{{#if: {{{Faction1|}}} | | ||
<tr> | <tr> | ||
<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}}} | |||
| Serpentis = {{Damagetype|Th|Kin}} | | Serpentis = {{Damagetype|Th|Kin}} | ||
| Angel | | Angel | ||
| Line 233: | Line 233: | ||
| Damage to resist not defined for faction 1 | | Damage to resist not defined for faction 1 | ||
}} }}</span>{{#if: {{{Faction2|}}} |<span style="width:155px;display:inline-block">{{#if:{{{DamageToResist2|}}} | }} }}</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 | |||
| 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 | |||
| 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 | |||
| 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> | ||
|}} |}} }} | |||
{{#if:{{{WebPoint|}}}| | {{#if:{{{WebPoint|}}}| | ||
Revision as of 17:14, 26 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?)