Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

User:Evon R'al/Sandbox template: Difference between revisions

From EVE University Wiki
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|}}} |
{{#if:{{{Level|}}} |
<tr>
<tr>
<td style="width:125px;background:#191616;padding:0px 1em">Level</td>
  <td style="width:125px;background:#191616;padding:0px 1em">Level</td>
<td style="padding:2px 0 2px 5px;">{{{Level}}}</td>
  <td style="padding:2px 0 2px 5px;">{{{Level}}}</td>
</tr>
</tr>
| }}
|
}}


{{#if:{{{Type|}}} |
{{#if:{{{Type|}}} |
<tr>
<tr>
<td style="width:125px;background:#191616;padding:0px 1em">Type</td>
  <td style="width:125px;background:#191616;padding:0px 1em">Type</td>
<td style="padding:2px 0 2px 5px;">{{{Type}}}</td>
  <td style="padding:2px 0 2px 5px;">{{{Type}}}</td>
</tr>
</tr>
| }}
|
}}


{{#if:{{{Objective|}}} |
{{#if:{{{Objective|}}} |
<tr>
<tr>
<td style="width:125px;background:#191616;padding:0px 1em">Objective</td>
  <td style="width:125px;background:#191616;padding:0px 1em">Objective</td>
<td style="padding:2px 0 2px 5px;">{{{Objective}}}</td>
  <td style="padding:2px 0 2px 5px;">{{{Objective}}}</td>
</tr>
</tr>
| }}
|
}}


{{#if:{{{Faction|}}}|
{{#if:{{{Faction|}}}|
<tr>
<tr>
<td style="width:125px;background:#191616;padding:0px 1em">Faction</td>
  <td style="width:125px;background:#191616;padding:0px 1em">Faction</td>
<td style="padding:2px 0 2px 5px;">{{{Faction}}}</td>
  <td style="padding:2px 0 2px 5px;">{{{Faction}}}</td>
</tr>
</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>|}}{{#if: {{{Faction3|}}}
    |<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">{{{Faction3}}}</span>|}}{{#if: {{{Faction4|}}}
  |<span style="width:155px;display:inline-block">{{{Faction4}}}</span>|}}</td>
    |<span style="width:155px;display:inline-block">{{{Faction4}}}</span>|}}</td>
   </tr>
   </tr>
| }} }}
|
}}
}}


{{#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>
</tr>
|{{#if: {{{Faction1|}}} |  
|{{#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>
  <td style="padding:2px 0 2px 5px;"><span style="width:155px;display:inline-block">{{#if:{{{DamageToDeal1|}}}
  <td style="padding:2px 0 2px 5px;"><span style="width:155px;display:inline-block">{{#if:{{{DamageToDeal1|}}}
  |{{{DamageToDeal1}}}
  |{{{DamageToDeal1}}}
  |{{#switch: {{{Faction1}}}
  |{{#switch: {{{Faction1}}}
    | Serpentis = {{Damagetype|Kin|Th}}
  | Serpentis = {{Damagetype|Kin|Th}}
    | Angel
  | Angel
    | Angel Cartel = {{Damagetype|Ex|Kin}}
  | Angel Cartel = {{Damagetype|Ex|Kin}}
    | Syndicate
  | Syndicate
    | The Syndicate = {{Damagetype|Kin|Th}}
  | The Syndicate = {{Damagetype|Kin|Th}}
    | Guristas pirates
  | Guristas pirates
    | Guristas = {{Damagetype|Kin|Th}}
  | Guristas = {{Damagetype|Kin|Th}}
    | Sansha
  | Sansha
    | Sansha's Nation = {{Damagetype|Em|Th}}
  | Sansha's Nation = {{Damagetype|Em|Th}}
    | Blood Raider Covenant
  | Blood Raider Covenant
    | Blood Raiders = {{Damagetype|Em|Th}}
  | Blood Raiders = {{Damagetype|Em|Th}}
    | Mordu's
  | Mordu's
    | Mordu's Legion = {{Damagetype|Kin|Em}}
  | Mordu's Legion = {{Damagetype|Kin|Em}}
    | EOM
  | EOM
    | Equilibrium of Mankind = {{Damagetype|Kin}}
  | Equilibrium of Mankind = {{Damagetype|Kin}}
    | CONCORD = {{Damagetype|Kin|Th}}
  | CONCORD = {{Damagetype|Kin|Th}}
    | Amarr Empire
  | Amarr Empire
    | Amarr = {{Damagetype|Em|Th}}
  | Amarr = {{Damagetype|Em|Th}}
    | Ammatar = {{Damagetype|Em|Th}}
  | Ammatar = {{Damagetype|Em|Th}}
    | Minmatar Republic
  | Minmatar Republic
    | Thukker Tribe
  | Thukker Tribe
    | Minmatar = {{Damagetype|Ex|Kin}}
  | Minmatar = {{Damagetype|Ex|Kin}}
    | Gallente Federation
  | Gallente Federation
    | Gallente = {{Damagetype|Kin|Th}}
  | Gallente = {{Damagetype|Kin|Th}}
    | Caldari State
  | Caldari State
    | Caldari = {{Damagetype|Kin|Th}}
  | Caldari = {{Damagetype|Kin|Th}}
    | Khanid Kingdom
  | Khanid Kingdom
    | Khanid = {{Damagetype|Em|Th}}
  | Khanid = {{Damagetype|Em|Th}}
    | Mercenaries = {{Damagetype|Kin|Th}}
  | Mercenaries = {{Damagetype|Kin|Th}}
    | 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|}}}
   }}
}}</span>{{#if: {{{Faction2|}}} | <span style="width:155px;display:inline-block">{{#if:{{{DamageToDeal2|}}}
   |{{{DamageToDeal2}}}
   |{{{DamageToDeal2}}}
   |{{#switch: {{{Faction2}}}
   |{{#switch: {{{Faction2}}}
Line 120: Line 125:
     | Rogue Drones = {{Damagetype|Em|Th}}
     | Rogue Drones = {{Damagetype|Em|Th}}
     | Damage to deal not defined for faction 2
     | Damage to deal not defined for faction 2
   }} }}</span>|}}{{#if: {{{Faction3|}}} |<span style="width:155px;display:inline-block">{{#if:{{{DamageToDeal3|}}}
   }}
}}</span>|}}{{#if: {{{Faction3|}}} |<span style="width:155px;display:inline-block">{{#if:{{{DamageToDeal3|}}}
   |{{{DamageToDeal3}}}
   |{{{DamageToDeal3}}}
   |{{#switch: {{{Faction3}}}
   |{{#switch: {{{Faction3}}}
Line 154: Line 160:
     | Rogue Drones = {{Damagetype|Em|Th}}
     | Rogue Drones = {{Damagetype|Em|Th}}
     | Damage to deal not defined for faction 3
     | Damage to deal not defined for faction 3
   }} }}</span>|}}{{#if: {{{Faction4|}}} |<span style="width:155px;display:inline-block">{{#if:{{{DamageToDeal4|}}}
   }}
}}</span>|}}{{#if: {{{Faction4|}}} |<span style="width:155px;display:inline-block">{{#if:{{{DamageToDeal4|}}}
   |{{{DamageToDeal4}}}
   |{{{DamageToDeal4}}}
   |{{#switch: {{{Faction4}}}
   |{{#switch: {{{Faction4}}}
Line 188: Line 195:
     | 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> |}} |}} }}
}}</span>|}}{{#if:{{{Faction1|}}}|
  </td>
</tr>
|  
}}
|}} }}


{{#if:{{{DamageToResist|}}} |
{{#if:{{{DamageToResist|}}} |
Line 339: Line 351:


{{#if:{{{WebPoint|}}}|  
{{#if:{{{WebPoint|}}}|  
<tr>
<tr>
<td style="background:#191616;padding:0px 1em">Warp disruption</td>
  <td style="background:#191616;padding:0px 1em">Warp disruption</td>
<td style="padding:2px 0 2px 5px;">{{{WebPoint}}}</td>
  <td style="padding:2px 0 2px 5px;">{{{WebPoint}}}</td>
</tr> |}}
</tr>
|
}}


{{#if:{{{EWAR|}}}|  
{{#if:{{{EWAR|}}}|  
<tr>
<tr>
<td style="background:#191616;padding:0px 1em">EWAR</td>
  <td style="background:#191616;padding:0px 1em">EWAR</td>
<td style="padding:2px 0 2px 5px;">{{{EWAR}}}</td>
  <td style="padding:2px 0 2px 5px;">{{{EWAR}}}</td>
</tr> |}}
</tr>
|
}}


{{#if:{{{ShipSizeLimit|}}} |  
{{#if:{{{ShipSizeLimit|}}} |  
<tr>
<tr>
<td style="background:#191616;padding:0px 1em">Ship size limit</td>
  <td style="background:#191616;padding:0px 1em">Ship size limit</td>
<td style="padding:2px 0 2px 5px;">{{{ShipSizeLimit}}}</td>
  <td style="padding:2px 0 2px 5px;">{{{ShipSizeLimit}}}</td>
</tr> |}}
</tr>
|
}}


{{#if:{{{ShipSuggestion|}}} |  
{{#if:{{{ShipSuggestion|}}} |  
<tr>
<tr>
<td style="background:#191616;padding:0px 1em">Ship suggestion</td>
  <td style="background:#191616;padding:0px 1em">Ship suggestion</td>
<td style="padding:2px 0 2px 5px;">{{{ShipSuggestion}}}</td>
  <td style="padding:2px 0 2px 5px;">{{{ShipSuggestion}}}</td>
</tr> |}}
</tr>
|
}}


{{#if:{{{Rewards|}}} |  
{{#if:{{{Rewards|}}} |  
<tr>
<tr>
<td style="background:#191616;padding:0px 1em">Rewards</td>
  <td style="background:#191616;padding:0px 1em">Rewards</td>
<td style="padding:2px 0 2px 5px;">{{{Rewards}}}</td>
  <td style="padding:2px 0 2px 5px;">{{{Rewards}}}</td>
</tr> |}}
</tr>
|
}}


{{#if:{{{StandingLoss|}}} |  
{{#if:{{{StandingLoss|}}} |  
<tr>
<tr>
<td style="width:125px;background:#191616;padding:0px 1em">Standing loss</td>
  <td style="width:125px;background:#191616;padding:0px 1em">Standing loss</td>
<td style="padding:2px 0 2px 5px;">{{{StandingLoss}}}</td>
  <td style="padding:2px 0 2px 5px;">{{{StandingLoss}}}</td>
</tr> |}}
</tr>
|
}}


{{#if:{{{Extra|}}} |  
{{#if:{{{Extra|}}} |  
<tr>
<tr>
<td style="width:125px;background:#191616;padding:0px 1em">Extra</td>
  <td style="width:125px;background:#191616;padding:0px 1em">Extra</td>
<td style="padding:2px 0 2px 5px;">{{{Extra}}}</td>
  <td style="padding:2px 0 2px 5px;">{{{Extra}}}</td>
</tr> |}}
</tr>
|
}}


</table>
</table>


</includeonly><noinclude>{{documentation}}</noinclude>
</includeonly><noinclude>{{documentation}}</noinclude>

Revision as of 17:42, 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?)