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 5: | Line 5: | ||
| | | | ||
}}<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|}}} |<tr> <td style="width:125px;background:#191616;padding:0px 1em">Level</td> <td style="padding:2px 0 2px 5px;">{{{Level}}}</td> </tr> | {{#if:{{{Level|}}} | ||
| | |<tr> <td style="width:125px;background:#191616;padding:0px 1em">Level</td> <td style="padding:2px 0 2px 5px;">{{{Level}}}</td> </tr> | ||
}} {{#if:{{{Type|}}} |<tr> <td style="width:125px;background:#191616;padding:0px 1em">Type</td> <td style="padding:2px 0 2px 5px;">{{{Type}}}</td> </tr> | | | ||
| | }} {{#if:{{{Type|}}} | ||
}} {{#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">Type</td> <td style="padding:2px 0 2px 5px;">{{{Type}}}</td> </tr> | ||
| | | | ||
}} {{#if:{{{Objective|}}} | |||
|<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> | |||
<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> | |||
| | | | ||
}} | }} | ||
| Line 331: | Line 334: | ||
| | | | ||
}} | }} | ||
}} {{#if:{{{WebPoint|}}} |<tr> <td style="background:#191616;padding:0px 1em">Warp disruption</td> <td style="padding:2px 0 2px 5px;">{{{WebPoint}}}</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">EWAR</td> <td style="padding:2px 0 2px 5px;">{{{EWAR}}}</td> </tr> | | | ||
| | }} {{#if:{{{EWAR|}}} | ||
}} {{#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">EWAR</td> <td style="padding:2px 0 2px 5px;">{{{EWAR}}}</td> </tr> | ||
| | | | ||
}} {{#if:{{{ShipSuggestion|}}} |<tr> <td style="background:#191616;padding:0px 1em">Ship suggestion</td> <td style="padding:2px 0 2px 5px;">{{{ShipSuggestion}}}</td> </tr> | }} {{#if:{{{ShipSizeLimit|}}} | ||
| | |<tr> <td style="background:#191616;padding:0px 1em">Ship size limit</td> <td style="padding:2px 0 2px 5px;">{{{ShipSizeLimit}}}</td> </tr> | ||
}} {{#if:{{{Rewards|}}} |<tr> <td style="background:#191616;padding:0px 1em">Rewards</td> <td style="padding:2px 0 2px 5px;">{{{Rewards}}}</td> </tr> | | | ||
| | }} {{#if:{{{ShipSuggestion|}}} | ||
}} {{#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="background:#191616;padding:0px 1em">Ship suggestion</td> <td style="padding:2px 0 2px 5px;">{{{ShipSuggestion}}}</td> </tr> | ||
| | | | ||
}} {{#if:{{{Extra|}}} |<tr> <td style="width:125px;background:#191616;padding:0px 1em">Extra</td> <td style="padding:2px 0 2px 5px;">{{{Extra}}}</td> </tr> | }} {{#if:{{{Rewards|}}} | ||
| | |<tr> <td style="background:#191616;padding:0px 1em">Rewards</td> <td style="padding:2px 0 2px 5px;">{{{Rewards}}}</td> </tr> | ||
| | |||
}} {{#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> | |||
| | |||
}} {{#if:{{{Extra|}}} | |||
|<tr> <td style="width:125px;background:#191616;padding:0px 1em">Extra</td> <td style="padding:2px 0 2px 5px;">{{{Extra}}}</td> </tr> | |||
| | |||
}} | }} | ||
</table> | </table> | ||
</includeonly><noinclude>{{documentation}}</noinclude> | </includeonly><noinclude>{{documentation}}</noinclude> | ||
Revision as of 14:17, 27 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?)