More actions
m Fase 1: Reformat source to increase readability. 2nd try. Not as clean as I would like it, but that influences the result in an undesirable way. |
m Fase 2: Remove unneeded false options from the if's |
||
| Line 3: | Line 3: | ||
{{!}}'''{{{Name}}}''' | {{!}}'''{{{Name}}}''' | ||
{{!}}} | {{!}}} | ||
}} <table style="width:125px;border-spacing:0px 2px;margin-left:1em;border:1px solid #606060; width:880px"> | }} <table style="width:125px;border-spacing:0px 2px;margin-left:1em;border:1px solid #606060; width:880px"> | ||
{{#if:{{{Level|}}} | {{#if:{{{Level|}}} | ||
|<tr> <td style="width:125px;background:#191616;padding:0px 1em">Level</td> <td style="padding:2px 0 2px 5px;">{{{Level}}}</td> </tr> | |<tr> <td style="width:125px;background:#191616;padding:0px 1em">Level</td> <td style="padding:2px 0 2px 5px;">{{{Level}}}</td> </tr> | ||
}} {{#if:{{{Type|}}} | }} {{#if:{{{Type|}}} | ||
|<tr> <td style="width:125px;background:#191616;padding:0px 1em">Type</td> <td style="padding:2px 0 2px 5px;">{{{Type}}}</td> </tr> | |<tr> <td style="width:125px;background:#191616;padding:0px 1em">Type</td> <td style="padding:2px 0 2px 5px;">{{{Type}}}</td> </tr> | ||
}} {{#if:{{{Objective|}}} | |||
}} {{#if:{{{Objective|}}} | |||
|<tr> <td style="width:125px;background:#191616;padding:0px 1em">Objective</td> <td style="padding:2px 0 2px 5px;">{{{Objective}}}</td> </tr> | |<tr> <td style="width:125px;background:#191616;padding:0px 1em">Objective</td> <td style="padding:2px 0 2px 5px;">{{{Objective}}}</td> </tr> | ||
}} {{#if:{{{Faction|}}} | }} {{#if:{{{Faction|}}} | ||
| <tr> <td style="width:125px;background:#191616;padding:0px 1em">Faction</td> <td style="padding:2px 0 2px 5px;">{{{Faction}}}</td> </tr> | |<tr> <td style="width:125px;background:#191616;padding:0px 1em">Faction</td> <td style="padding:2px 0 2px 5px;">{{{Faction}}}</td> </tr> | ||
|{{#if: {{{Faction1|}}}| | |{{#if: {{{Faction1|}}}| | ||
<tr> | <tr> | ||
<td style="background:#191616;padding:0px 1em"> {{#if:{{{Faction2|}}}| Factions | Faction }}</td> | <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|}}} | <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> | |<span style="width:155px;display:inline-block">{{{Faction2}}}</span>}}{{#if: {{{Faction3|}}} | ||
|<span style="width:155px;display:inline-block">{{{Faction3}}}</span> | |<span style="width:155px;display:inline-block">{{{Faction3}}}</span>}}{{#if: {{{Faction4|}}} | ||
|<span style="width:155px;display:inline-block">{{{Faction4}}}</span> | |<span style="width:155px;display:inline-block">{{{Faction4}}}</span>}}</td> | ||
</tr> | |||
}} | |||
}} {{#if:{{{DamageToDeal|}}} | }} {{#if:{{{DamageToDeal|}}} | ||
|<tr> <td style="width:125px;background:#191616;padding:0px 1em">Best damage to deal</td> <td style="padding:2px 0 2px 5px;">{{{DamageToDeal}}}</td> </tr> | |<tr> <td style="width:125px;background:#191616;padding:0px 1em">Best damage to deal</td> <td style="padding:2px 0 2px 5px;">{{{DamageToDeal}}}</td> </tr> | ||
| Line 102: | Line 97: | ||
| Damage to deal not defined for faction 2 | | Damage to deal not defined for faction 2 | ||
}} | }} | ||
}}</span> | }}</span>}}{{#if: {{{Faction3|}}} | ||
|<span style="width:155px;display:inline-block">{{#if:{{{DamageToDeal3|}}} | |<span style="width:155px;display:inline-block">{{#if:{{{DamageToDeal3|}}} | ||
|{{{DamageToDeal3}}} | |{{{DamageToDeal3}}} | ||
| Line 138: | Line 133: | ||
| Damage to deal not defined for faction 3 | | Damage to deal not defined for faction 3 | ||
}} | }} | ||
}}</span> | }}</span>}}{{#if: {{{Faction4|}}} | ||
|<span style="width:155px;display:inline-block">{{#if:{{{DamageToDeal4|}}} | |<span style="width:155px;display:inline-block">{{#if:{{{DamageToDeal4|}}} | ||
|{{{DamageToDeal4}}} | |{{{DamageToDeal4}}} | ||
| Line 174: | Line 169: | ||
| Damage to deal not defined for faction 4 | | Damage to deal not defined for faction 4 | ||
}} | }} | ||
}}</span> | }}</span>}}{{#if:{{{Faction1|}}} | ||
|</td> </tr> | |||
}} | }} | ||
}} | }} | ||
}} {{#if:{{{DamageToResist|}}} | }} {{#if:{{{DamageToResist|}}} | ||
| Line 255: | Line 249: | ||
| Damage to resist not defined for faction 2 | | Damage to resist not defined for faction 2 | ||
}} | }} | ||
}}</span> | }}</span>}}{{#if: {{{Faction3|}}} | ||
|<span style="width:155px;display:inline-block">{{#if:{{{DamageToResist3|}}} | |<span style="width:155px;display:inline-block">{{#if:{{{DamageToResist3|}}} | ||
|{{{DamageToResist3}}} | |{{{DamageToResist3}}} | ||
| Line 291: | Line 285: | ||
| Damage to resist not defined for faction 3 | | Damage to resist not defined for faction 3 | ||
}} | }} | ||
}}</span> | }}</span>}}{{#if: {{{Faction4|}}} | ||
|<span style="width:155px;display:inline-block">{{#if:{{{DamageToResist4|}}} | |<span style="width:155px;display:inline-block">{{#if:{{{DamageToResist4|}}} | ||
|{{{DamageToResist4}}} | |{{{DamageToResist4}}} | ||
| Line 327: | Line 321: | ||
| Damage to resist not defined for faction 4 | | Damage to resist not defined for faction 4 | ||
}} | }} | ||
}}</span>|}}{{#if:{{{Faction1|}}} |</td> </tr> | }}</span>|}}{{#if:{{{Faction1|}}} | ||
|</td> </tr> | |||
}} | }} | ||
}} | }} | ||
}} {{#if:{{{WebPoint|}}} | }} {{#if:{{{WebPoint|}}} | ||
|<tr> <td style="background:#191616;padding:0px 1em">Warp disruption</td> <td style="padding:2px 0 2px 5px;">{{{WebPoint}}}</td> </tr> | |<tr> <td style="background:#191616;padding:0px 1em">Warp disruption</td> <td style="padding:2px 0 2px 5px;">{{{WebPoint}}}</td> </tr> | ||
}} {{#if:{{{EWAR|}}} | }} {{#if:{{{EWAR|}}} | ||
|<tr> <td style="background:#191616;padding:0px 1em">EWAR</td> <td style="padding:2px 0 2px 5px;">{{{EWAR}}}</td> </tr> | |<tr> <td style="background:#191616;padding:0px 1em">EWAR</td> <td style="padding:2px 0 2px 5px;">{{{EWAR}}}</td> </tr> | ||
}} {{#if:{{{ShipSizeLimit|}}} | }} {{#if:{{{ShipSizeLimit|}}} | ||
|<tr> <td style="background:#191616;padding:0px 1em">Ship size limit</td> <td style="padding:2px 0 2px 5px;">{{{ShipSizeLimit}}}</td> </tr> | |<tr> <td style="background:#191616;padding:0px 1em">Ship size limit</td> <td style="padding:2px 0 2px 5px;">{{{ShipSizeLimit}}}</td> </tr> | ||
}} {{#if:{{{ShipSuggestion|}}} | }} {{#if:{{{ShipSuggestion|}}} | ||
|<tr> <td style="background:#191616;padding:0px 1em">Ship suggestion</td> <td style="padding:2px 0 2px 5px;">{{{ShipSuggestion}}}</td> </tr> | |<tr> <td style="background:#191616;padding:0px 1em">Ship suggestion</td> <td style="padding:2px 0 2px 5px;">{{{ShipSuggestion}}}</td> </tr> | ||
}} {{#if:{{{Rewards|}}} | }} {{#if:{{{Rewards|}}} | ||
|<tr> <td style="background:#191616;padding:0px 1em">Rewards</td> <td style="padding:2px 0 2px 5px;">{{{Rewards}}}</td> </tr> | |<tr> <td style="background:#191616;padding:0px 1em">Rewards</td> <td style="padding:2px 0 2px 5px;">{{{Rewards}}}</td> </tr> | ||
}} {{#if:{{{StandingLoss|}}} | }} {{#if:{{{StandingLoss|}}} | ||
|<tr> <td style="width:125px;background:#191616;padding:0px 1em">Standing loss</td> <td style="padding:2px 0 2px 5px;">{{{StandingLoss}}}</td> </tr> | |<tr> <td style="width:125px;background:#191616;padding:0px 1em">Standing loss</td> <td style="padding:2px 0 2px 5px;">{{{StandingLoss}}}</td> </tr> | ||
}} {{#if:{{{Extra|}}} | }} {{#if:{{{Extra|}}} | ||
|<tr> <td style="width:125px;background:#191616;padding:0px 1em">Extra</td> <td style="padding:2px 0 2px 5px;">{{{Extra}}}</td> </tr> | |<tr> <td style="width:125px;background:#191616;padding:0px 1em">Extra</td> <td style="padding:2px 0 2px 5px;">{{{Extra}}}</td> </tr> | ||
}} | }} | ||
</table> </includeonly><noinclude>{{documentation}}</noinclude> | </table> </includeonly><noinclude>{{documentation}}</noinclude> | ||