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

From EVE University Wiki
Jump to: navigation, search
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 27: Line 27:
 
|
 
|
 
}}
 
}}
 
+
{{#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>
Line 44: Line 43:
 
  }}
 
  }}
 
}}
 
}}
 
 
{{#if:{{{DamageToDeal|}}} |
 
{{#if:{{{DamageToDeal|}}} |
 
  <tr>
 
  <tr>
Line 89: Line 87:
 
   }}
 
   }}
 
  }}</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}}}
Line 204: Line 202:
  
 
{{#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> |{{#if: {{{Faction1|}}} |
 
 
  <tr>
 
  <tr>
 
   <td style="background:#191616;padding:0px 1em">Damage to resist</td>
 
   <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|}}}
+
   <td style="padding:2px 0 2px 5px;">{{{DamageToResist}}}</td>
   |{{{DamageToResist1}}}
+
</tr>
  |{{#switch: {{{Faction1}}}
+
|{{#if: {{{Faction1|}}} |
   | Serpentis = {{Damagetype|Th|Kin}}
+
   <tr>
  | Angel
+
  <td style="background:#191616;padding:0px 1em">Damage to resist</td>
  | Angel Cartel = {{Damagetype|Ex|Kin}}
+
   <td style="padding:2px 0 2px 5px;"><span style="width:155px;display:inline-block">{{#if:{{{DamageToResist1|}}}
  | Syndicate
+
    |{{{DamageToResist1}}}
  | The Syndicate = {{Damagetype|Kin|Th}}
+
    |{{#switch: {{{Faction1}}}
  | Guristas pirates
+
    | Serpentis = {{Damagetype|Th|Kin}}
  | Guristas = {{Damagetype|Kin|Th}}
+
    | Angel
  | Sansha
+
    | Angel Cartel = {{Damagetype|Ex|Kin}}
  | Sansha's Nation = {{Damagetype|Em|Th}}
+
    | Syndicate
  | Blood Raider Covenant
+
    | The Syndicate = {{Damagetype|Kin|Th}}
  | Blood Raiders = {{Damagetype|Em|Th}}
+
    | Guristas pirates
  | Mordu's
+
    | Guristas = {{Damagetype|Kin|Th}}
  | Mordu's Legion = {{Damagetype|Kin|th}}{{icon|small info|16|Battleships deal almost purely kinetic damage. Smaller things deal both kinetic and thermal}}
+
    | Sansha
  | EOM
+
    | Sansha's Nation = {{Damagetype|Em|Th}}
  | Equilibrium of Mankind = {{Damagetype|Kin|Th}}
+
    | Blood Raider Covenant
  | CONCORD = {{Damagetype|Omni}}
+
    | Blood Raiders = {{Damagetype|Em|Th}}
  | Amarr Empire
+
    | Mordu's
  | Amarr = {{Damagetype|Em|Th}}
+
    | Mordu's Legion = {{Damagetype|Kin|th}}{{icon|small info|16|Battleships deal almost purely kinetic damage. Smaller things deal both kinetic and thermal}}
  | Ammatar = {{Damagetype|Em|Th}}
+
    | EOM
  | Minmatar Republic
+
    | Equilibrium of Mankind = {{Damagetype|Kin|Th}}
  | Thukker Tribe
+
    | CONCORD = {{Damagetype|Omni}}
  | Minmatar = {{Damagetype|Ex|Kin}}
+
    | Amarr Empire
  | Gallente Federation
+
    | Amarr = {{Damagetype|Em|Th}}
  | Gallente = {{Damagetype|Kin|Th}}
+
    | Ammatar = {{Damagetype|Em|Th}}
  | Caldari State
+
    | Minmatar Republic
  | Caldari = {{Damagetype|Kin|Th}}
+
    | Thukker Tribe
  | Khanid Kingdom
+
    | Minmatar = {{Damagetype|Ex|Kin}}
  | Khanid = {{Damagetype|Th|Em}}
+
    | Gallente Federation
  | Mercenaries = {{Damagetype|Kin|Th}}
+
    | Gallente = {{Damagetype|Kin|Th}}
  | Rogue Drones = {{Damagetype|Ex|Kin|Th}}
+
    | Caldari State
  | Damage to resist not defined for faction 1
+
    | Caldari = {{Damagetype|Kin|Th}}
}} }}</span>{{#if: {{{Faction2|}}} |<span style="width:155px;display:inline-block">{{#if:{{{DamageToResist2|}}}
+
    | Khanid Kingdom
  |{{{DamageToResist2}}}
+
    | Khanid = {{Damagetype|Th|Em}}
  |{{#switch: {{{Faction2}}}
+
    | Mercenaries = {{Damagetype|Kin|Th}}
    | Serpentis = {{Damagetype|Th|Kin}}
+
    | Rogue Drones = {{Damagetype|Ex|Kin|Th}}
    | Angel
+
    | Damage to resist not defined for faction 1
    | Angel Cartel = {{Damagetype|Ex|Kin}}
+
    }}
    | Syndicate
+
}}</span>{{#if: {{{Faction2|}}}
    | The Syndicate = {{Damagetype|Kin|Th}}
+
          |<span style="width:155px;display:inline-block">{{#if:{{{DamageToResist2|}}}
    | Guristas pirates
+
            |{{{DamageToResist2}}}
    | Guristas = {{Damagetype|Kin|Th}}
+
            |{{#switch: {{{Faction2}}}
    | Sansha
+
            | Serpentis = {{Damagetype|Th|Kin}}
    | Sansha's Nation = {{Damagetype|Em|Th}}
+
            | Angel
    | Blood Raider Covenant
+
            | Angel Cartel = {{Damagetype|Ex|Kin}}
    | Blood Raiders = {{Damagetype|Em|Th}}
+
            | Syndicate
    | Mordu's
+
            | The Syndicate = {{Damagetype|Kin|Th}}
    | Mordu's Legion = {{Damagetype|Kin|th}}{{icon|small info|16|Battleships deal almost purely kinetic damage. Smaller things deal both kinetic and thermal}}
+
            | Guristas pirates
    | EOM
+
            | Guristas = {{Damagetype|Kin|Th}}
    | Equilibrium of Mankind = {{Damagetype|Kin|Th}}
+
            | Sansha
    | CONCORD = {{Damagetype|Omni}}
+
            | Sansha's Nation = {{Damagetype|Em|Th}}
    | Amarr Empire
+
            | Blood Raider Covenant
    | Amarr = {{Damagetype|Em|Th}}
+
            | Blood Raiders = {{Damagetype|Em|Th}}
    | Ammatar = {{Damagetype|Em|Th}}
+
            | Mordu's
    | Minmatar Republic
+
            | Mordu's Legion = {{Damagetype|Kin|th}}{{icon|small info|16|Battleships deal almost purely kinetic damage. Smaller things deal both kinetic and thermal}}
    | Thukker Tribe
+
            | EOM
    | Minmatar = {{Damagetype|Ex|Kin}}
+
            | Equilibrium of Mankind = {{Damagetype|Kin|Th}}
    | Gallente Federation
+
            | CONCORD = {{Damagetype|Omni}}
    | Gallente = {{Damagetype|Kin|Th}}
+
            | Amarr Empire
    | Caldari State
+
            | Amarr = {{Damagetype|Em|Th}}
    | Caldari = {{Damagetype|Kin|Th}}
+
            | Ammatar = {{Damagetype|Em|Th}}
    | Khanid Kingdom
+
            | Minmatar Republic
    | Khanid = {{Damagetype|Th|Em}}
+
            | Thukker Tribe
    | Mercenaries = {{Damagetype|Kin|Th}}
+
            | Minmatar = {{Damagetype|Ex|Kin}}
    | Rogue Drones = {{Damagetype|Ex|Kin|Th}}
+
            | Gallente Federation
    | Damage to resist not defined for faction 2
+
            | Gallente = {{Damagetype|Kin|Th}}
  }} }}</span>|}}{{#if: {{{Faction3|}}} |<span style="width:155px;display:inline-block">{{#if:{{{DamageToResist3|}}}
+
            | Caldari State
  |{{{DamageToResist3}}}
+
            | Caldari = {{Damagetype|Kin|Th}}
  |{{#switch: {{{Faction3}}}
+
            | Khanid Kingdom
    | Serpentis = {{Damagetype|Th|Kin}}
+
            | Khanid = {{Damagetype|Th|Em}}
    | Angel
+
            | Mercenaries = {{Damagetype|Kin|Th}}
    | Angel Cartel = {{Damagetype|Ex|Kin}}
+
            | Rogue Drones = {{Damagetype|Ex|Kin|Th}}
    | Syndicate
+
            | Damage to resist not defined for faction 2
    | The Syndicate = {{Damagetype|Kin|Th}}
+
            }}
    | Guristas pirates
+
}}</span>|}}{{#if: {{{Faction3|}}}
    | Guristas = {{Damagetype|Kin|Th}}
+
            |<span style="width:155px;display:inline-block">{{#if:{{{DamageToResist3|}}}
    | Sansha
+
              |{{{DamageToResist3}}}
    | Sansha's Nation = {{Damagetype|Em|Th}}
+
              |{{#switch: {{{Faction3}}}
    | Blood Raider Covenant
+
              | Serpentis = {{Damagetype|Th|Kin}}
    | Blood Raiders = {{Damagetype|Em|Th}}
+
              | Angel
    | Mordu's
+
              | Angel Cartel = {{Damagetype|Ex|Kin}}
    | Mordu's Legion = {{Damagetype|Kin|th}}{{icon|small info|16|Battleships deal almost purely kinetic damage. Smaller things deal both kinetic and thermal}}
+
              | Syndicate
    | EOM
+
              | The Syndicate = {{Damagetype|Kin|Th}}
    | Equilibrium of Mankind = {{Damagetype|Kin|Th}}
+
              | Guristas pirates
    | CONCORD = {{Damagetype|Omni}}
+
              | Guristas = {{Damagetype|Kin|Th}}
    | Amarr Empire
+
              | Sansha
    | Amarr = {{Damagetype|Em|Th}}
+
              | Sansha's Nation = {{Damagetype|Em|Th}}
    | Ammatar = {{Damagetype|Em|Th}}
+
              | Blood Raider Covenant
    | Minmatar Republic
+
              | Blood Raiders = {{Damagetype|Em|Th}}
    | Thukker Tribe
+
              | Mordu's
    | Minmatar = {{Damagetype|Ex|Kin}}
+
              | Mordu's Legion = {{Damagetype|Kin|th}}{{icon|small info|16|Battleships deal almost purely kinetic damage. Smaller things deal both kinetic and thermal}}
    | Gallente Federation
+
              | EOM
    | Gallente = {{Damagetype|Kin|Th}}
+
              | Equilibrium of Mankind = {{Damagetype|Kin|Th}}
    | Caldari State
+
              | CONCORD = {{Damagetype|Omni}}
    | Caldari = {{Damagetype|Kin|Th}}
+
              | Amarr Empire
    | Khanid Kingdom
+
              | Amarr = {{Damagetype|Em|Th}}
    | Khanid = {{Damagetype|Th|Em}}
+
              | Ammatar = {{Damagetype|Em|Th}}
    | Mercenaries = {{Damagetype|Kin|Th}}
+
              | Minmatar Republic
    | Rogue Drones = {{Damagetype|Ex|Kin|Th}}
+
              | Thukker Tribe
    | Damage to resist not defined for faction 3
+
              | Minmatar = {{Damagetype|Ex|Kin}}
  }} }}</span>|}}{{#if: {{{Faction4|}}} |<span style="width:155px;display:inline-block">{{#if:{{{DamageToResist4|}}}
+
              | Gallente Federation
  |{{{DamageToResist4}}}
+
              | Gallente = {{Damagetype|Kin|Th}}
  |{{#switch: {{{Faction4}}}
+
              | Caldari State
    | Serpentis = {{Damagetype|Th|Kin}}
+
              | Caldari = {{Damagetype|Kin|Th}}
    | Angel
+
              | Khanid Kingdom
    | Angel Cartel = {{Damagetype|Ex|Kin}}
+
              | Khanid = {{Damagetype|Th|Em}}
    | Syndicate
+
              | Mercenaries = {{Damagetype|Kin|Th}}
    | The Syndicate = {{Damagetype|Kin|Th}}
+
              | Rogue Drones = {{Damagetype|Ex|Kin|Th}}
    | Guristas pirates
+
              | Damage to resist not defined for faction 3
    | Guristas = {{Damagetype|Kin|Th}}
+
              }}
    | Sansha
+
}}</span>|}}{{#if: {{{Faction4|}}}
    | Sansha's Nation = {{Damagetype|Em|Th}}
+
              |<span style="width:155px;display:inline-block">{{#if:{{{DamageToResist4|}}}
    | Blood Raider Covenant
+
              |{{{DamageToResist4}}}
    | Blood Raiders = {{Damagetype|Em|Th}}
+
              |{{#switch: {{{Faction4}}}
    | Mordu's
+
                | Serpentis = {{Damagetype|Th|Kin}}
    | Mordu's Legion = {{Damagetype|Kin|th}}{{icon|small info|16|Battleships deal almost purely kinetic damage. Smaller things deal both kinetic and thermal}}
+
                | Angel
    | EOM
+
                | Angel Cartel = {{Damagetype|Ex|Kin}}
    | Equilibrium of Mankind = {{Damagetype|Kin|Th}}
+
                | Syndicate
    | CONCORD = {{Damagetype|Omni}}
+
                | The Syndicate = {{Damagetype|Kin|Th}}
    | Amarr Empire
+
                | Guristas pirates
    | Amarr = {{Damagetype|Em|Th}}
+
                | Guristas = {{Damagetype|Kin|Th}}
    | Ammatar = {{Damagetype|Em|Th}}
+
                | Sansha
    | Minmatar Republic
+
                | Sansha's Nation = {{Damagetype|Em|Th}}
    | Thukker Tribe
+
                | Blood Raider Covenant
    | Minmatar = {{Damagetype|Ex|Kin}}
+
                | Blood Raiders = {{Damagetype|Em|Th}}
    | Gallente Federation
+
                | Mordu's
    | Gallente = {{Damagetype|Kin|Th}}
+
                | Mordu's Legion = {{Damagetype|Kin|th}}{{icon|small info|16|Battleships deal almost purely kinetic damage. Smaller things deal both kinetic and thermal}}
    | Caldari State
+
                | EOM
    | Caldari = {{Damagetype|Kin|Th}}
+
                | Equilibrium of Mankind = {{Damagetype|Kin|Th}}
    | Khanid Kingdom
+
                | CONCORD = {{Damagetype|Omni}}
    | Khanid = {{Damagetype|Th|Em}}
+
                | Amarr Empire
    | Mercenaries = {{Damagetype|Kin|Th}}
+
                | Amarr = {{Damagetype|Em|Th}}
    | Rogue Drones = {{Damagetype|Ex|Kin|Th}}
+
                | Ammatar = {{Damagetype|Em|Th}}
    | Damage to resist not defined for faction 4
+
                | Minmatar Republic
  }} }}</span>|}}{{#if:{{{Faction1|}}}| </td>
+
                | 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>
 
  </tr>
|}}  |}} }}
+
|
 +
}}  |}} }}
  
 
{{#if:{{{WebPoint|}}}|  
 
{{#if:{{{WebPoint|}}}|  

Revision as of 11:16, 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?)