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

Revision as of 10:39, 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?)