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 40: | Line 40: | ||
| }} }} | | }} }} | ||
{{#if:{{{DamageToDeal|}}}| | {{#if:{{{DamageToDeal|}}} | | ||
<tr> | <tr> | ||
<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> |{{#if: {{{Faction1|}}} | | </tr> | | ||
{{#if: {{{Faction1|}}} | | |||
<tr> | <tr> | ||
<td style="background:#191616;padding:0px 1em">Best damage to deal</td> | <td style="background:#191616;padding:0px 1em">Best damage to deal</td> | ||
| Line 175: | Line 176: | ||
| Rogue Drones = {{Damagetype|Em|Th}} | | Rogue Drones = {{Damagetype|Em|Th}} | ||
| Damage to deal not defined for faction 4 | | Damage to deal not defined for faction 4 | ||
}}}}</span>|}}{{#if:{{{Faction1|}}}| </td></tr> |}} |}} }}{{#if:{{{DamageToResist|}}} | }}}}</span>|}}{{#if:{{{Faction1|}}}| </td> | ||
</tr> |}} |}} }}{{#if:{{{DamageToResist|}}} | | |||
<tr> | |||
<td style="background:#191616;padding:0px 1em">Damage to resist</td> | |||
<td style="padding:2px 0 2px 5px;">{{{DamageToResist}}}</td> | |||
</tr> |{{#if: {{{Faction1|}}} | | |||
<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 304: | Line 312: | ||
| Rogue Drones = {{Damagetype|Ex|Kin|Th}} | | Rogue Drones = {{Damagetype|Ex|Kin|Th}} | ||
| Damage to resist not defined for faction 4 | | Damage to resist not defined for faction 4 | ||
}}}}</span>|}}{{#if:{{{Faction1|}}}| </td></tr> |}} |}} }}{{#if:{{{WebPoint|}}} | }}}}</span>|}}{{#if:{{{Faction1|}}}| </td> | ||
</tr> | |||
|}} |}} }} | |||
{{#if:{{{WebPoint|}}} | |||
| <tr><td style="background:#191616;padding:0px 1em">Warp disruption</td><td style="padding:2px 0 2px 5px;">{{{WebPoint}}}</td></tr> |}}{{#if:{{{EWAR|}}} | | <tr><td style="background:#191616;padding:0px 1em">Warp disruption</td><td style="padding:2px 0 2px 5px;">{{{WebPoint}}}</td></tr> |}}{{#if:{{{EWAR|}}} | ||
| <tr><td style="background:#191616;padding:0px 1em">EWAR</td><td style="padding:2px 0 2px 5px;">{{{EWAR}}}</td></tr> |}}{{#if:{{{ShipSizeLimit|}}} | | <tr><td style="background:#191616;padding:0px 1em">EWAR</td><td style="padding:2px 0 2px 5px;">{{{EWAR}}}</td></tr> |}}{{#if:{{{ShipSizeLimit|}}} | ||
Revision as of 17:17, 23 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?)