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 31: Line 31:
|<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>
|{{#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>{{#if: {{{Faction2|}}}
          |<span style="width:155px;display:inline-block">{{#if:{{{DamageToDeal2|}}}
            |<span style="width:155px;display:inline-block">{{#if:{{{DamageToDeal2|}}}
            |{{{DamageToDeal2}}}
            |{{{DamageToDeal2}}}
            |{{#switch: {{{Faction2}}}
            |{{#switch: {{{Faction2}}}
            | 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 2
              | Damage to deal not defined for faction 2
             }}
             }}
}}</span>|}}{{#if: {{{Faction3|}}}
  }}</span>|}}{{#if: {{{Faction3|}}}
              |<span style="width:155px;display:inline-block">{{#if:{{{DamageToDeal3|}}}
              |<span style="width:155px;display:inline-block">{{#if:{{{DamageToDeal3|}}}
              |{{{DamageToDeal3}}}
                |{{{DamageToDeal3}}}
              |{{#switch: {{{Faction3}}}
                |{{#switch: {{{Faction3}}}
                | 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 3
                | Damage to deal not defined for faction 3
              }}
                }}
}}</span>|}}{{#if: {{{Faction4|}}}
  }}</span>|}}{{#if: {{{Faction4|}}}
              |<span style="width:155px;display:inline-block">{{#if:{{{DamageToDeal4|}}}
              |<span style="width:155px;display:inline-block">{{#if:{{{DamageToDeal4|}}}
              |{{{DamageToDeal4}}}
                |{{{DamageToDeal4}}}
              |{{#switch: {{{Faction4}}}
                |{{#switch: {{{Faction4}}}
                | 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 4
                | Damage to deal not defined for faction 4
              }}
                }}
}}</span>|}}{{#if:{{{Faction1|}}} |</td> </tr>
  }}</span>|}}{{#if:{{{Faction1|}}} |</td> </tr>
              |  
              |  
            }}
              }}
| }} }}
  |  
}}
}}
{{#if:{{{DamageToResist|}}}
{{#if:{{{DamageToResist|}}}
| <tr> <td style="background:#191616;padding:0px 1em">Damage to resist</td> <td style="padding:2px 0 2px 5px;">{{{DamageToResist}}}</td> </tr>
| <tr> <td style="background:#191616;padding:0px 1em">Damage to resist</td> <td style="padding:2px 0 2px 5px;">{{{DamageToResist}}}</td> </tr>
Line 220: Line 222:
     | Damage to resist not defined for faction 1
     | Damage to resist not defined for faction 1
     }}
     }}
}}</span>{{#if: {{{Faction2|}}}
  }}</span>{{#if: {{{Faction2|}}}
          |<span style="width:155px;display:inline-block">{{#if:{{{DamageToResist2|}}}
            |<span style="width:155px;display:inline-block">{{#if:{{{DamageToResist2|}}}
            |{{{DamageToResist2}}}
            |{{{DamageToResist2}}}
            |{{#switch: {{{Faction2}}}
            |{{#switch: {{{Faction2}}}
            | Serpentis = {{Damagetype|Th|Kin}}
              | Serpentis = {{Damagetype|Th|Kin}}
            | 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|th}}{{icon|small info|16|Battleships deal almost purely kinetic damage. Smaller things deal both kinetic and thermal}}
              | Mordu's Legion = {{Damagetype|Kin|th}}{{icon|small info|16|Battleships deal almost purely kinetic damage. Smaller things deal both kinetic and thermal}}
            | EOM
              | EOM
            | Equilibrium of Mankind = {{Damagetype|Kin|Th}}
              | Equilibrium of Mankind = {{Damagetype|Kin|Th}}
            | CONCORD = {{Damagetype|Omni}}
              | CONCORD = {{Damagetype|Omni}}
            | 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|Th|Em}}
              | Khanid = {{Damagetype|Th|Em}}
            | Mercenaries = {{Damagetype|Kin|Th}}
              | Mercenaries = {{Damagetype|Kin|Th}}
            | Rogue Drones = {{Damagetype|Ex|Kin|Th}}
              | Rogue Drones = {{Damagetype|Ex|Kin|Th}}
            | Damage to resist not defined for faction 2
              | Damage to resist not defined for faction 2
            }}
            }}
}}</span>|}}{{#if: {{{Faction3|}}}
  }}</span>|}}{{#if: {{{Faction3|}}}
            |<span style="width:155px;display:inline-block">{{#if:{{{DamageToResist3|}}}
              |<span style="width:155px;display:inline-block">{{#if:{{{DamageToResist3|}}}
              |{{{DamageToResist3}}}
              |{{{DamageToResist3}}}
              |{{#switch: {{{Faction3}}}
              |{{#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}}
                 | Serpentis = {{Damagetype|Th|Kin}}
                 | Angel
                 | Angel
Line 326: Line 292:
                 | Mercenaries = {{Damagetype|Kin|Th}}
                 | Mercenaries = {{Damagetype|Kin|Th}}
                 | 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 3
               }}
               }}
}}</span>|}}{{#if:{{{Faction1|}}} |</td> </tr>
  }}</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>
              |
              }}
  |
  }}
}}
{{#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>
|
|

Revision as of 12:49, 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?)