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 3: Move in-line CSS to in-page.
m Fase 3: Move in-line CSS to in-page.
Line 1: Line 1:
{{#css:
{{#css:
  .MssgDtls-label {
  .MssgDtls-label {
     background: yellow;
     background: grey;
     padding: 0 1em;
     padding: 0 1em;
     width: 125px
     width: 125px
   }
   }<!-- #191616 -->
}}
}}
<includeonly>{{#if:{{{Name|}}}
<includeonly>{{#if:{{{Name|}}}
Line 21: Line 21:
  |{{#if: {{{Faction1|}}}|
  |{{#if: {{{Faction1|}}}|
   <tr>
   <tr>
     <td style="background:#191616;padding:0px 1em"> {{#if:{{{Faction2|}}}| Factions | Faction }}</td>
     <td class="MssgDtls-label"> {{#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|}}}
Line 29: Line 29:
   }}
   }}
}} {{#if:{{{DamageToDeal|}}}
}} {{#if:{{{DamageToDeal|}}}
|<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 class="MssgDtls-label">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 class="MssgDtls-label">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}}}
Line 181: Line 181:
  }}
  }}
}} {{#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> class="MssgDtls-label">Damage to resist</td> <td style="padding:2px 0 2px 5px;">{{{DamageToResist}}}</td> </tr>
|{{#if: {{{Faction1|}}} |  
|{{#if: {{{Faction1|}}} |  
   <tr>
   <tr>
   <td style="background:#191616;padding:0px 1em">Damage to resist</td>
   <td class="MssgDtls-label">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;"><span style="width:155px;display:inline-block">{{#if:{{{DamageToResist1|}}}
     |{{{DamageToResist1}}}
     |{{{DamageToResist1}}}
Line 333: Line 333:
  }}
  }}
}} {{#if:{{{WebPoint|}}}
}} {{#if:{{{WebPoint|}}}
  |<tr> <td style="background:#191616;padding:0px 1em">Warp disruption</td> <td style="padding:2px 0 2px 5px;">{{{WebPoint}}}</td> </tr>
  |<tr> class="MssgDtls-label">Warp disruption</td> <td style="padding:2px 0 2px 5px;">{{{WebPoint}}}</td> </tr>
}} {{#if:{{{EWAR|}}}
}} {{#if:{{{EWAR|}}}
  |<tr> <td style="background:#191616;padding:0px 1em">EWAR</td> <td style="padding:2px 0 2px 5px;">{{{EWAR}}}</td> </tr>
  |<tr> class="MssgDtls-label">EWAR</td> <td style="padding:2px 0 2px 5px;">{{{EWAR}}}</td> </tr>
}} {{#if:{{{ShipSizeLimit|}}}
}} {{#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> class="MssgDtls-label">Ship size limit</td> <td style="padding:2px 0 2px 5px;">{{{ShipSizeLimit}}}</td> </tr>
}} {{#if:{{{ShipSuggestion|}}}
}} {{#if:{{{ShipSuggestion|}}}
  |<tr> <td style="background:#191616;padding:0px 1em">Ship suggestion</td> <td style="padding:2px 0 2px 5px;">{{{ShipSuggestion}}}</td> </tr>
  |<tr> class="MssgDtls-label">Ship suggestion</td> <td style="padding:2px 0 2px 5px;">{{{ShipSuggestion}}}</td> </tr>
}} {{#if:{{{Rewards|}}}
}} {{#if:{{{Rewards|}}}
  |<tr> <td style="background:#191616;padding:0px 1em">Rewards</td> <td style="padding:2px 0 2px 5px;">{{{Rewards}}}</td> </tr>
  |<tr> class="MssgDtls-label">Rewards</td> <td style="padding:2px 0 2px 5px;">{{{Rewards}}}</td> </tr>
}} {{#if:{{{StandingLoss|}}}
}} {{#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 class="MssgDtls-label">Standing loss</td> <td style="padding:2px 0 2px 5px;">{{{StandingLoss}}}</td> </tr>
}} {{#if:{{{Extra|}}}
}} {{#if:{{{Extra|}}}
  |<tr> <td style="width:125px;background:#191616;padding:0px 1em">Extra</td> <td style="padding:2px 0 2px 5px;">{{{Extra}}}</td> </tr>
  |<tr> <td class="MssgDtls-label">Extra</td> <td style="padding:2px 0 2px 5px;">{{{Extra}}}</td> </tr>
}}
}}
</table> </includeonly><noinclude>{{documentation}}</noinclude>
</table> </includeonly><noinclude>{{documentation}}</noinclude>

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