Difference between revisions of "User:Luxxianna Seraph/Sandbox/MissionHoverBox/PVEBoxTooltip"

From EVE University Wiki
Jump to: navigation, search
 
(26 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly><onlyinclude>{{#css:
+
<includeonly>{{#css:
  
 
   .PVEToolTip {
 
   .PVEToolTip {
 
     width: 100%;
 
     width: 100%;
 
   }
 
   }
 
+
 
  .PVEToolTip PVEToolTip-image {
 
      position: relative;
 
      padding-right: 2px;
 
      vertical-align: top;
 
      white-space: nowrap;
 
    }
 
   
 
 
 
 
   .PVEToolTip td.PVEToolTip-expectedEnemies {
 
   .PVEToolTip td.PVEToolTip-expectedEnemies {
 
     position: relative;
 
     position: relative;
Line 70: Line 62:
 
    
 
    
 
   .PVEToolTip .PVEToolTip-damage {
 
   .PVEToolTip .PVEToolTip-damage {
 +
      white-space: nowrap;
 
       width: 190px;
 
       width: 190px;
 
       text-align: left;
 
       text-align: left;
Line 75: Line 68:
 
    
 
    
 
   .PVEToolTip .PVEToolTip-damage td + td {
 
   .PVEToolTip .PVEToolTip-damage td + td {
 +
      white-space: nowrap;
 
       border-left: 1px solid #75849e
 
       border-left: 1px solid #75849e
 
       padding-left: 3px;
 
       padding-left: 3px;
Line 80: Line 74:
 
    
 
    
 
   .PVEToolTip .PVEToolTip-damage th {
 
   .PVEToolTip .PVEToolTip-damage th {
 +
      white-space: nowrap;
 
       color: khaki;
 
       color: khaki;
 
       font-size: 10px;
 
       font-size: 10px;
Line 87: Line 82:
 
       font-size: 10px;
 
       font-size: 10px;
 
       line-height: 11px;
 
       line-height: 11px;
 +
      padding-left: 10px;
 
   }
 
   }
 
    
 
    
Line 98: Line 94:
 
       font-size: 10px;
 
       font-size: 10px;
 
       line-height: 11px;
 
       line-height: 11px;
       margin-right: 2px;
+
       margin-left: 2px;
 
     }
 
     }
 
    
 
    
Line 110: Line 106:
 
       font-size: 10px;
 
       font-size: 10px;
 
       line-height: 11px;
 
       line-height: 11px;
       margin-right: 2px;
+
       margin-left: 2px;
 
     }
 
     }
 
    
 
    
 
   .PVEToolTip .PVEToolTip-extra-info span {
 
   .PVEToolTip .PVEToolTip-extra-info span {
       height: 12px;
+
       height: 11px;
       font-size: 12px;
+
       font-size: 11px;
       line-height: 14px;
+
       line-height: 13px;
      margin-right: 3px;
 
 
       text-align: center;
 
       text-align: center;
 
     }
 
     }
 +
 
   .PVEToolTip span.PVEToolTip-extra-info-title {
 
   .PVEToolTip span.PVEToolTip-extra-info-title {
 
       height: 11px;
 
       height: 11px;
Line 128: Line 124:
 
       color: #A9A9A9;
 
       color: #A9A9A9;
 
     }
 
     }
 
 
 
 
 
   }}<!--
 
   }}<!--
 
   -->{{Tooltip
 
   -->{{Tooltip
Line 138: Line 132:
 
     <div class="PVEToolTip-header">
 
     <div class="PVEToolTip-header">
 
     <div class="PVEToolTip-detail-name">{{{Name}}}</div>
 
     <div class="PVEToolTip-detail-name">{{{Name}}}</div>
     <div class="PVEToolTip-category"><span class="PVEToolTip-rating">{{#ifeq:{{lc: {{{TypeDetail|}}}}}|mission|Level|}} {{{Rating|}}}</span> <span class="PVEToolTip-location">{{{Location|}}}</span></div><!--
+
     <div class="PVEToolTip-category"><span class="PVEToolTip-rating">{{#ifeq:{{lc: {{{SiteType|}}}}}|mission|Level|}} {{{Rating|}}}</span> <span class="PVEToolTip-location">{{{Location|}}}</span></div><!--
 
   -->  {{#if: {{{AccelerationGate|}}}|<div class="PVEToolTip-category"><span class="PVEToolTip-location">Has Acceleration Gate</span></div>}}
 
   -->  {{#if: {{{AccelerationGate|}}}|<div class="PVEToolTip-category"><span class="PVEToolTip-location">Has Acceleration Gate</span></div>}}
 
     </div>
 
     </div>
Line 153: Line 147:
 
   -->  {{#if: {{{TotalExpSentries|}}}|<div class="PVEToolTip-expectedEnemies">[[Image:icon_red_tower.png|16x16px]]{{{TotalExpSentries|}}}<br></div>}}<!--
 
   -->  {{#if: {{{TotalExpSentries|}}}|<div class="PVEToolTip-expectedEnemies">[[Image:icon_red_tower.png|16x16px]]{{{TotalExpSentries|}}}<br></div>}}<!--
 
   -->  {{#if: {{{NumberOfWaves|}}}|<div class="PVEToolTip-expectedEnemies"><b>Waves:</b><br>[[Image:Ships.png|16x16px]]{{{NumberOfWaves|}}}</div>}}<!--
 
   -->  {{#if: {{{NumberOfWaves|}}}|<div class="PVEToolTip-expectedEnemies"><b>Waves:</b><br>[[Image:Ships.png|16x16px]]{{{NumberOfWaves|}}}</div>}}<!--
   -->  {{#if: {{{NumberOfRooms|}}}|<div class="PVEToolTip-expectedEnemies"><b>Rooms:</b><br>[[Image:Icon_bracket_accelerationgate.png|12x12px]] {{{NumberOfRooms|}}}</div>}}
+
   -->  {{#if: {{{NumberOfRooms|}}}{{{AccelerationGate|}}}|<div class="PVEToolTip-expectedEnemies"><b>Rooms:</b><br>[[Image:Icon_bracket_accelerationgate.png|12x12px]] {{{NumberOfRooms|}}}</div>}}
 
     </td>
 
     </td>
 
     </td>
 
     </td>
 
     <td>
 
     <td>
    <div>
 
 
     <table class="PVEToolTip-damage">
 
     <table class="PVEToolTip-damage">
 
       <tr>
 
       <tr>
          <th>Resistance</th>
+
        <td class="PVEToolTip-damage-faction" colspan="2">{{{Faction}}}</td>
          <th>Damage</th>
 
 
       </tr>
 
       </tr>
 
       <tr>
 
       <tr>
          <td class="PVEToolTip-damage-faction" colspan="2">{{{Faction}}}</td>
+
        <th>Resistance</th>
      </tr>
+
        <th>Damage</th></tr>
 
       <tr>
 
       <tr>
 
           <td><div>{{User:Luxxianna Seraph/Sandbox/MissionHoverBox/RatResistance|{{{Faction}}}}}</div></td>
 
           <td><div>{{User:Luxxianna Seraph/Sandbox/MissionHoverBox/RatResistance|{{{Faction}}}}}</div></td>
Line 172: Line 164:
 
       {{#if: {{{Faction2|}}}|
 
       {{#if: {{{Faction2|}}}|
 
       <tr>
 
       <tr>
          <td class="PVEToolTip-damage-faction" colspan="2">{{{Faction2}}}</td>
+
        <td class="PVEToolTip-damage-faction" colspan="2">{{{Faction2}}}</td>
 
       </tr>
 
       </tr>
 +
      <tr>
 +
        <th>Resistance</th>
 +
        <th>Damage</th></tr>
 +
      <tr>
 
       <tr>
 
       <tr>
 
           <td><div>{{User:Luxxianna Seraph/Sandbox/MissionHoverBox/RatResistance|{{{Faction2}}}}}</div></td>
 
           <td><div>{{User:Luxxianna Seraph/Sandbox/MissionHoverBox/RatResistance|{{{Faction2}}}}}</div></td>
Line 179: Line 175:
 
       </tr> }}
 
       </tr> }}
 
     </table>
 
     </table>
    </div>
 
 
     <div>
 
     <div>
 +
<!-- DPS and EHP values -->
 
     {{#if: {{{HighestAverageDPS|}}} {{{HighestAlphaStrike|}}} {{{HighestIndividualEHP|}}} {{{HighestWaveEHP|}}}|
 
     {{#if: {{{HighestAverageDPS|}}} {{{HighestAlphaStrike|}}} {{{HighestIndividualEHP|}}} {{{HighestWaveEHP|}}}|
     <div class="PVEToolTip-category">Highest Values:</div>
+
     <div class="PVEToolTip-category">Highest Values:</div><!--
    <div class="PVEToolTip-dps"><!--
+
  --> <div class="PVEToolTip-dps"><!--
 
   -->  {{#if: {{{HighestAverageDPS|}}}|<span>[[Image:Icon_fit_dps.png|16x16px]]Ship DPS: {{{HighestAverageDPS|}}} </span>}}<!--
 
   -->  {{#if: {{{HighestAverageDPS|}}}|<span>[[Image:Icon_fit_dps.png|16x16px]]Ship DPS: {{{HighestAverageDPS|}}} </span>}}<!--
 
   -->  {{#if: {{{HighestAlphaStrike|}}}|<span>[[Image:Icon_turret_volley.png|16x16px]]Wave Alpha: {{{HighestAlphaStrike|}}} </span>}}
 
   -->  {{#if: {{{HighestAlphaStrike|}}}|<span>[[Image:Icon_turret_volley.png|16x16px]]Wave Alpha: {{{HighestAlphaStrike|}}} </span>}}
Line 189: Line 185:
 
       <div class="PVEToolTip-hp"><!--
 
       <div class="PVEToolTip-hp"><!--
 
   -->  {{#if: {{{HighestIndividualEHP|}}}|<span>[[Image:Icon_armor.png |16x16px]]Ship EHP: {{{HighestIndividualEHP|}}} </span>}}<!--
 
   -->  {{#if: {{{HighestIndividualEHP|}}}|<span>[[Image:Icon_armor.png |16x16px]]Ship EHP: {{{HighestIndividualEHP|}}} </span>}}<!--
   -->  {{#if: {{{HighestWaveEHP|}}}|<span>[[Image:Icon_armor.png |16x16px]]Wave EHP: {{{HighestWaveEHP|}}} </span>}} |<!-- end if--> }}
+
   -->  {{#if: {{{HighestWaveEHP|}}}|<span>[[Image:Icon_armor.png |16x16px]]Wave EHP: {{{HighestWaveEHP|}}} </span>}}<!--
       </div>
+
  --> </div>|<!-- end if--> }}
      <div class="PVEToolTip-extra-info"><!--
+
<!-- EWAR -->
   -->  {{#ifeq: {{lc: {{{EWAR|}}}}}|webs|<span>{{Co|orange|! Webs Present !}}</span>|}}<!--
+
      {{#if: {{{EWAR|}}}{{{EWAR2|}}}{{{EWAR3|}}}{{{WarpDisrupt|}}}|
   -->  {{#if: {{{WarpDisrupt|}}}|<span>{{Co|red|!! Scrams Present !!}}</span>|}}
+
       <div class="PVEToolTip-category">EWAR:</div><!--
       </div>
+
  --> <div class="PVEToolTip-extra-info"><!--
      <div class="PVEToolTip-extra-info"><!--
+
   -->  {{#if: {{{WarpDisrupt|}}}|<div style="margin:auto">{{Co|red|!! Scrams Present !!}}</div>|}}<!--
       -->  {{#if: {{{RatsOnLandingBeacon|}}}|<span>{{Co|khaki|Rats Present on Beacon}}|}}</span>
+
   -->  {{#if: {{{EWAR|}}}|{{User:Luxxianna Seraph/Sandbox/MissionHoverBox/EWARIcon|{{{EWAR}}}|30px}}|}}<!--
      </div>
+
  --> {{#if: {{{EWAR1|}}}|{{User:Luxxianna Seraph/Sandbox/MissionHoverBox/EWARIcon|{{{EWAR1}}}|30px}}|}}<!--
 +
  -->  {{#if: {{{EWAR2|}}}|{{User:Luxxianna Seraph/Sandbox/MissionHoverBox/EWARIcon|{{{EWAR2}}}|30px}}|}}
 +
       </div>}}
 +
<!-- RAT WARNING
 +
       -->  {{#if: {{{RatsOnLandingBeacon|}}}|<div class="PVEToolTip-extra-info"><span>{{Co|khaki|Rats Present on Beacon}}</span></div>|}}
 
     </div>
 
     </div>
 
     </td>
 
     </td>
 
   </tr>
 
   </tr>
 +
<!--  LONGFORM DETAILS
 +
--> {{#if: {{{MissionObjective|}}}{{{MissionBlitz|}}}{{{Timer|}}}|
 
   <tr>
 
   <tr>
 
       <td colspan="2">
 
       <td colspan="2">
Line 213: Line 215:
 
           </div>
 
           </div>
 
       </td>
 
       </td>
   </tr>
+
   </tr>|}}
   </table>}}</onlyinclude></includeonly><noinclude>{{documentation}}</noinclude>
+
   </table>}}</includeonly><noinclude>{{documentation}}</noinclude>

Latest revision as of 15:27, 7 June 2023

Template documentation (for the above template, sometimes hidden or invisible)
Description
Do not use this Template Directly. Instead use {{PVE}}
Dependencies
Uses
CSS
{{RatResistance}}
{{RatDamage}}
See Also
{{PVEArticle}}, {{PVEBox}}
Used by
{{PVE}}
Syntax
DO NOT USE THIS TEMPLATE DIRECTLY - Instead use {{PVE}} - but for proper documentation, here are the values used within.
Parameters
Optional Parameters will adjust the Tooltip accordingly. Leave blank if not using.
Name (Required)
Name of the Site
TypeDetail (Required)
For Missions, the level of the mission. For Anomaly Sites, the Rating and Level `Rating 4 Level 2`
Location (Required)
The location of the site. Low, Null, Hi Sec, Low Null (Not specific - just uses this value directly)
AccelerationGate (Optional)
Leave blank if there is no AccelGate at this site. Put anything (Y, True, X, any value) here if there is one
TotalExpFrigates (Optional)
Total number of Frigates
TotalExpDestroyers (Optional)
# Destroyers
TotalExpCruisers (Optional)
# Cruisers
TotalExpBattlecruisers (Optional)
# Battlecruisers
TotalExpCapitals (Optional)
# Capitals
TotalExpSentries (Optional)
# Sentries
NumberOfWaves (Optional)
The number of waves that will spawn after triggers are destroyed | reached. Leave blank if everything starts on grid
Number of Rooms (Optional)
The number of rooms beyond the initial acceleration gate. Leave blank if there is no acceleration gate. If AccelerationGate is blank this property is ignored.
Faction (Optional)
The main faction of ships that will be faced in this site. Has several common varieties of names, ie: Angel, Angel Cartel, Angels.
This field uses {{RatDamage}} and {{RatResistance}} to auto populate based on the faction name the damage and resistance values.
Faction2 (Optional)
If a second faction exists. Leave blank if none. Also Auto populates the damage and resistance values.
TODO: Enable custom damage fields
HighestAverageDPS (Optional)
The Highest possible DPS value of an individual ship in all the waves; i.e. the worst threat.
HighestAlphaStrike (Optional)
The Highest Alpha Strike damage in total for the wave, of all waves; i.e. the wave with the most threat.
HighestIndividualEHP (Optional)
The largest EHP value of an individual ship in all the waves; i.e. the tankiest ship.
HighestWaveEHP (Optional)
The wave with the largest total EHP, of all the waves; i.e. the wave that is the tankiest.
EWAR (Optional)
Web | Webs
(case in-sensitive) will add a warning to the tooltip (Other values ignored): ! Webs Present !
WarpDisrupt (Optional)
Any value present here will add a warning to the tooltip: !! Scrams Present !!
RatsOnLandingBeacon (Optional)
Any value present here will add a warning to the tooltip: Rats Present on Beacon
MissionObjective (Optional)
For Missions - The Objective to accomplish
MissionBlitz (Optional)
For Missions - How to blitz the mission (complete quickly)
Timer (Optional)
Any specific timer information. i.e. 30 Mins before site is destroyed. or 2 mins before Rats arrive after warpin.


See also
* {{PVEArticle}}
* {{PVE}}