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

From EVE University Wiki
Jump to: navigation, search
 
(35 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 {
+
  .PVEToolTip td.PVEToolTip-expectedEnemies {
 
     position: relative;
 
     position: relative;
     padding-right: 2px;
+
     padding-right: 5px;
 
     vertical-align: top;
 
     vertical-align: top;
    white-space: nowrap;
 
 
   }
 
   }
 
    
 
    
 
+
  .PVEToolTip td.PVEToolTip-expectedEnemies b {
.PVEToolTip td.PVEToolTip-expectedEnemies {
 
  position: relative;
 
  padding-right: 5px;
 
  vertical-align: top;
 
}
 
 
 
.PVEToolTip PVEToolTip-expectedEnemies div {
 
 
     height: 9px;
 
     height: 9px;
 
     font-size: 9px;
 
     font-size: 9px;
 
     line-height: 11px;
 
     line-height: 11px;
}
+
    font-weight: bold;
 
+
  }
/* header */
+
 
.PVEToolTip .PVEToolTip-header {
+
  .PVEToolTip PVEToolTip-expectedEnemies div {
  margin-bottom: 5px;
+
      height: 9px;
  border-bottom: 1px solid #272727;
+
      font-size: 9px;
  padding-bottom: 5px;
+
      line-height: 11px;
  text-align: center;
+
  }
}
+
 
 
+
  /* header */
.PVEToolTip .PVEToolTip-header div{
+
  .PVEToolTip .PVEToolTip-header {
 +
    margin-bottom: 5px;
 +
    border-bottom: 1px solid #272727;
 +
    padding-bottom: 5px;
 +
    text-align: center;
 +
  }
 +
 
 +
  .PVEToolTip .PVEToolTip-header div{
 +
      white-space: nowrap;
 +
    }
 +
 
 +
  .PVEToolTip .PVEToolTip-detail-name {
 +
    height: 20px;
 
     white-space: nowrap;
 
     white-space: nowrap;
 +
    color: white;
 +
    font: small-caps 16px/15px trebuchet MS;
 
   }
 
   }
 
+
    
.PVEToolTip .PVEToolTip-detail-name {
+
   .PVEToolTip .PVEToolTip-category {
  height: 20px;
+
    font-size: 11px;
   white-space: nowrap;
+
    line-height: 11px;
   color: white;
 
  font: small-caps 16px/15px trebuchet MS;
 
}
 
 
 
.PVEToolTip .PVEToolTip-category {
 
  font-size: 11px;
 
  line-height: 11px;
 
}
 
 
 
 
 
.PVEToolTip .PVEToolTip-rating {
 
  white-space: nowrap;
 
  color: orange;
 
}
 
 
 
.PVEToolTip .PVEToolTip-location {
 
  white-space: nowrap;
 
}
 
 
 
/* Highlights */
 
 
 
 
 
.PVEToolTip .PVEToolTip-damage {
 
    width: 190px;
 
    text-align: left;
 
 
   }
 
   }
 
+
 
.PVEToolTip .PVEToolTip-damage td + td {
+
 
     border-left: 1px solid #75849e
+
  .PVEToolTip .PVEToolTip-rating {
    padding-left: 3px;
+
     white-space: nowrap;
}
+
     color: orange;
 
 
.PVEToolTip .PVEToolTip-damage th {
 
     color: khaki;
 
    font-size: 10px;
 
    line-height: 12px;
 
}
 
 
 
.PVEToolTip .PVEToolTip-dps {
 
    padding-bottom: 1px;
 
 
   }
 
   }
 
+
 
.PVEToolTip .PVEToolTip-dps span {
+
  .PVEToolTip .PVEToolTip-location {
     height: 10px;
+
     white-space: nowrap;
    color: #FF5733;
 
    font-size: 10px;
 
    line-height: 11px;
 
    margin-right: 2px;
 
 
   }
 
   }
 
+
 
.PVEToolTip .PVEToolTip-hp {
+
  /* Highlights */
    padding-bottom: 1px;
+
 
 +
 
 +
  .PVEToolTip .PVEToolTip-damage {
 +
      white-space: nowrap;
 +
      width: 190px;
 +
      text-align: left;
 +
    }
 +
 
 +
  .PVEToolTip .PVEToolTip-damage td + td {
 +
      white-space: nowrap;
 +
      border-left: 1px solid #75849e
 +
      padding-left: 3px;
 
   }
 
   }
 
+
 
.PVEToolTip .PVEToolTip-hp span {
+
  .PVEToolTip .PVEToolTip-damage th {
    height: 10px;
+
      white-space: nowrap;
    color: #A033FF;
+
      color: khaki;
    font-size: 10px;
+
      font-size: 10px;
    line-height: 11px;
+
      line-height: 12px;
    margin-right: 2px;
 
 
   }
 
   }
 
+
  .PVEToolTip td.PVEToolTip-damage-faction  {
.PVEToolTip .PVEToolTip-extra-info span {
+
      font-size: 10px;
    height: 12px;
+
      line-height: 11px;
    font-size: 12px;
+
      padding-left: 10px;
    line-height: 14px;
 
    margin-right: 3px;
 
    text-align: center;
 
 
   }
 
   }
 +
 
 +
  .PVEToolTip .PVEToolTip-dps {
 +
      padding-bottom: 1px;
 +
    }
 +
 
 +
  .PVEToolTip .PVEToolTip-dps span {
 +
      height: 10px;
 +
      color: #FF5733;
 +
      font-size: 10px;
 +
      line-height: 11px;
 +
      margin-left: 2px;
 +
    }
 +
 
 +
  .PVEToolTip .PVEToolTip-hp {
 +
      padding-bottom: 1px;
 +
    }
 +
 
 +
  .PVEToolTip .PVEToolTip-hp span {
 +
      height: 10px;
 +
      color: #A033FF;
 +
      font-size: 10px;
 +
      line-height: 11px;
 +
      margin-left: 2px;
 +
    }
 +
 
 +
  .PVEToolTip .PVEToolTip-extra-info span {
 +
      height: 11px;
 +
      font-size: 11px;
 +
      line-height: 13px;
 +
      text-align: center;
 +
    }
  
}}
+
  .PVEToolTip span.PVEToolTip-extra-info-title {
{{NPCTableCSS}}
+
      height: 11px;
{{Tooltip
+
      font-size: 10px;
| 1={{#if: {{{Name|}}} |[[{{{Name}}}]] |{{Co|red|! parameter Name missing !}} }}
+
      line-height: 11px;
| 2=<table class="PVEToolTip">
+
      text-align: center;
<tr>
+
      font-weight: bold;
    <td colspan="2">
+
      color: #A9A9A9;
  <div class="PVEToolTip-header">
+
    }
  <div class="PVEToolTip-detail-name">{{{Name}}}</div>
+
  }}<!--
  <div class="PVEToolTip-category"><span class="PVEToolTip-rating">{{#if:{{{TypeDetail|}}}|Level|}} {{{Rating|}}}</span> <span class="PVEToolTip-location">{{{Location|}}}</span></div><!--
+
  -->{{Tooltip
-->  {{#if: {{{AccelerationGate|}}}|<div class="PVEToolTip-category"><span class="PVEToolTip-location">Has Acceleration Gate</span></div>}}
+
  | 1={{#if: {{{Name|}}} |[[{{{Name}}}]] |{{Co|red|! parameter Name missing !}} }}
 
+
  | 2=<table class="PVEToolTip">
   </div>
+
  <tr>
 +
      <td colspan="2">
 +
    <div class="PVEToolTip-header">
 +
    <div class="PVEToolTip-detail-name">{{{Name}}}</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>}}
 +
    </div>
 +
      </td>
 +
  </tr>
 +
  <tr>
 +
    <td class="PVEToolTip-expectedEnemies"><!--
 +
  -->  {{#if: {{{TotalExpFrigates|}}}|<div class="PVEToolTip-expectedEnemies">[[Image:icon_red_frigate.png|16x16px]]{{{TotalExpFrigates|}}}<br></div>}}<!--
 +
  -->  {{#if: {{{TotalExpDestroyers|}}}|<div class="PVEToolTip-expectedEnemies">[[Image:icon_red_destroyer.png|16x16px]]{{{TotalExpDestroyers|}}}<br></div>}} <!--
 +
  -->  {{#if: {{{TotalExpCruisers|}}}|<div class="PVEToolTip-expectedEnemies">[[Image:icon_red_cruiser.png|16x16px]]{{{TotalExpCruisers|}}}<br></div>}}<!--
 +
   -->  {{#if: {{{TotalExpBattlecruisers|}}}|<div class="PVEToolTip-expectedEnemies">[[Image:icon_red_battlecruiser.png|16x16px]]{{{TotalExpBattlecruisers|}}}<br></div>}}<!--
 +
  -->  {{#if: {{{TotalExpBattleships|}}}|<div class="PVEToolTip-expectedEnemies">[[Image:icon_red_battleship.png|16x16px]]{{{TotalExpBattleships|}}}<br></div>}}<!--
 +
  -->  {{#if: {{{TotalExpCapitals|}}}|<div class="PVEToolTip-expectedEnemies">[[Image:icon_red_dreadnought.png|16x16px]]{{{TotalExpCapitals|}}}<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: {{{NumberOfRooms|}}}{{{AccelerationGate|}}}|<div class="PVEToolTip-expectedEnemies"><b>Rooms:</b><br>[[Image:Icon_bracket_accelerationgate.png|12x12px]] {{{NumberOfRooms|}}}</div>}}
 +
    </td>
 
     </td>
 
     </td>
</tr>
+
    <td>
<tr>
+
    <table class="PVEToolTip-damage">
  <td class="PVEToolTip-expectedEnemies"><!--
+
      <tr>
-->  {{#if: {{{TotalExpFrigates|}}}|<div class="PVEToolTip-expectedEnemies">[[Image:icon_red_frigate.png|16x16px]]{{{TotalExpFrigates|}}}<br></div>}}<!--
+
        <td class="PVEToolTip-damage-faction" colspan="2">{{{Faction}}}</td>
-->  {{#if: {{{TotalExpDestroyers|}}}|<div class="PVEToolTip-expectedEnemies">[[Image:icon_red_destroyer.png|16x16px]]{{{TotalExpDestroyers|}}}<br></div>}} <!--
+
      </tr>
-->  {{#if: {{{TotalExpCruisers|}}}|<div class="PVEToolTip-expectedEnemies">[[Image:icon_red_cruiser.png|16x16px]]{{{TotalExpCruisers|}}}<br></div>}}<!--
+
      <tr>
-->  {{#if: {{{TotalExpBattlecruisers|}}}|<div class="PVEToolTip-expectedEnemies">[[Image:icon_red_battlecruiser.png|16x16px]]{{{TotalExpBattlecruisers|}}}<br></div>}}<!--
+
        <th>Resistance</th>
-->  {{#if: {{{TotalExpBattleships|}}}|<div class="PVEToolTip-expectedEnemies">[[Image:icon_red_battleship.png|16x16px]]{{{TotalExpBattleships|}}}<br></div>}}<!--
+
        <th>Damage</th></tr>
--> {{#if: {{{TotalExpCapitals|}}}|<div class="PVEToolTip-expectedEnemies">[[Image:icon_red_dreadnought.png|16x16px]]{{{TotalExpCapitals|}}}<br></div>}}<!--
+
      <tr>
-->  {{#if: {{{TotalExpSentries|}}}|<div class="PVEToolTip-expectedEnemies">[[Image:icon_red_tower.png|16x16px]]{{{TotalExpSentries|}}}<br></div>}}<!--
+
          <td><div>{{User:Luxxianna Seraph/Sandbox/MissionHoverBox/RatResistance|{{{Faction}}}}}</div></td>
-->  {{#if: {{{NumberOfWaves|}}}|<div class="PVEToolTip-expectedEnemies"><b>Waves:</b><br>[[Image:Ships.png|16x16px]]{{{NumberOfWaves|}}}</div>}}
+
          <td><div>{{User:Luxxianna Seraph/Sandbox/MissionHoverBox/RatDamage|{{{Faction}}}}}</div></td>
  </td>
+
      </tr>
  <td>
+
      {{#if: {{{Faction2|}}}|
  <div>
+
      <tr>
  <table class="PVEToolTip-damage">
+
        <td class="PVEToolTip-damage-faction" colspan="2">{{{Faction2}}}</td>
    <tr>
+
      </tr>
 +
      <tr>
 
         <th>Resistance</th>
 
         <th>Resistance</th>
         <th>Damage</th>
+
         <th>Damage</th></tr>
    </tr>
+
      <tr>
    <tr>
+
      <tr>
        <td colspan="2">{{{Faction}}}</td>
+
          <td><div>{{User:Luxxianna Seraph/Sandbox/MissionHoverBox/RatResistance|{{{Faction2}}}}}</div></td>
    </tr>
+
          <td><div>{{User:Luxxianna Seraph/Sandbox/MissionHoverBox/RatDamage|{{{Faction2}}}}}</div></td>
    <tr>
+
      </tr> }}
        <td><div>{{User:Luxxianna Seraph/Sandbox/MissionHoverBox/RatResistance|{{{Faction}}}}}</div></td>
+
    </table>
        <td><div>{{User:Luxxianna Seraph/Sandbox/MissionHoverBox/RatDamage|{{{Faction}}}}}</div></td>
+
    <div>
    </tr>
+
<!-- DPS and EHP values -->
    {{#if: {{{Faction2|}}}|
+
    {{#if: {{{HighestAverageDPS|}}} {{{HighestAlphaStrike|}}} {{{HighestIndividualEHP|}}} {{{HighestWaveEHP|}}}|
    <tr>
+
    <div class="PVEToolTip-category">Highest Values:</div><!--
        <td colspan="2">{{{Faction2}}}</td>
+
  --> <div class="PVEToolTip-dps"><!--
    </tr>
+
  -->  {{#if: {{{HighestAverageDPS|}}}|<span>[[Image:Icon_fit_dps.png|16x16px]]Ship DPS: {{{HighestAverageDPS|}}} </span>}}<!--
    <tr>
+
  -->  {{#if: {{{HighestAlphaStrike|}}}|<span>[[Image:Icon_turret_volley.png|16x16px]]Wave Alpha: {{{HighestAlphaStrike|}}} </span>}}
        <td><div>{{User:Luxxianna Seraph/Sandbox/MissionHoverBox/RatResistance|{{{Faction2}}}}}</div></td>
+
      </div>
        <td><div>{{User:Luxxianna Seraph/Sandbox/MissionHoverBox/RatDamage|{{{Faction2}}}}}</div></td>
+
      <div class="PVEToolTip-hp"><!--
    </tr> }}
+
  -->  {{#if: {{{HighestIndividualEHP|}}}|<span>[[Image:Icon_armor.png |16x16px]]Ship EHP: {{{HighestIndividualEHP|}}} </span>}}<!--
  </table>
+
  -->  {{#if: {{{HighestWaveEHP|}}}|<span>[[Image:Icon_armor.png |16x16px]]Wave EHP: {{{HighestWaveEHP|}}} </span>}}<!--
  </div>
+
  --> </div>|<!-- end if--> }}
  <div>
+
<!-- EWAR -->
  {{#if: {{{HighestAverageDPS|}}} {{{HighestAlphaStrike|}}} {{{HighestIndividualEHP|}}} {{{HighestWaveEHP|}}}|
+
      {{#if: {{{EWAR|}}}{{{EWAR2|}}}{{{EWAR3|}}}{{{WarpDisrupt|}}}|
  <div class="PVEToolTip-category">Highest Values:</div>
+
      <div class="PVEToolTip-category">EWAR:</div><!--
  <div class="PVEToolTip-dps"><!--
+
  --> <div class="PVEToolTip-extra-info"><!--
-->  {{#if: {{{HighestAverageDPS|}}}|<span>[[Image:Icon_fit_dps.png|16x16px]]Ship DPS: {{{HighestAverageDPS|}}} </span>}}<!--
+
  -->  {{#if: {{{WarpDisrupt|}}}|<div style="margin:auto">{{Co|red|!! Scrams Present !!}}</div>|}}<!--
-->  {{#if: {{{HighestAlphaStrike|}}}|<span>[[Image:Icon_turret_volley.png|16x16px]]Wave Alpha: {{{HighestAlphaStrike|}}} </span>}}
+
  -->  {{#if: {{{EWAR|}}}|{{User:Luxxianna Seraph/Sandbox/MissionHoverBox/EWARIcon|{{{EWAR}}}|30px}}|}}<!--
    </div>
+
  -->  {{#if: {{{EWAR1|}}}|{{User:Luxxianna Seraph/Sandbox/MissionHoverBox/EWARIcon|{{{EWAR1}}}|30px}}|}}<!--
    <div class="PVEToolTip-hp"><!--
+
  -->  {{#if: {{{EWAR2|}}}|{{User:Luxxianna Seraph/Sandbox/MissionHoverBox/EWARIcon|{{{EWAR2}}}|30px}}|}}
-->  {{#if: {{{HighestIndividualEHP|}}}|<span>[[Image:Icon_armor.png |16x16px]]Ship EHP: {{{HighestIndividualEHP|}}} </span>}}<!--
+
      </div>}}
-->  {{#if: {{{HighestWaveEHP|}}}|<span>[[Image:Icon_armor.png |16x16px]]Wave EHP: {{{HighestWaveEHP|}}} </span>}} |<!-- end if--> }}
+
<!-- RAT WARNING
    </div>
+
      -->  {{#if: {{{RatsOnLandingBeacon|}}}|<div class="PVEToolTip-extra-info"><span>{{Co|khaki|Rats Present on Beacon}}</span></div>|}}
    <div class="PVEToolTip-extra-info"><!--
+
    </div>
-->  {{#ifeq: {{lc: {{{EWAR|}}}}}|webs|<span>{{Co|orange|! Webs Present !}}</span>|}}<!--
 
-->  {{#if: {{{WebPoint|}}}|<span>{{Co|red|!! Scrams Present !!}}</span>|}}
 
    </div>
 
    <div class="PVEToolTip-extra-info"><!--
 
    -->  {{#if: {{{RatsOnLandingBeacon|}}}|<span>{{Co|khaki|Rats Present on Beacon}}|}}</span>
 
    </div>
 
  </div>
 
  </td>
 
</tr>
 
<tr>
 
    <td colspan="2">
 
        <div class="PVEToolTip-extra-info"><!--
 
        -->  {{#if: {{{MissionObjective|}}}|<span>Objective: {{{MissionObjective|}}}</span>}}
 
        </div>
 
        <div class="PVEToolTip-extra-info"><!--
 
        -->  {{#if: {{{MissionBlitz|}}}|<span>Blitz: {{{MissionBlitz|}}}</span>}}
 
        </div>
 
 
     </td>
 
     </td>
  </tr>
+
  </tr>
</table>
+
<!--  LONGFORM DETAILS
}}</onlyinclude></includeonly><noinclude>{{documentation}}</noinclude>
+
--> {{#if: {{{MissionObjective|}}}{{{MissionBlitz|}}}{{{Timer|}}}|
 +
  <tr>
 +
      <td colspan="2">
 +
          <div class="PVEToolTip-extra-info"><!--
 +
          --> {{#if: {{{MissionObjective|}}}|<span class="PVEToolTip-extra-info-title">Objective:<br></span><span>{{{MissionObjective|}}}</span>}}
 +
          </div>
 +
          <div class="PVEToolTip-extra-info"><!--
 +
          -->  {{#if: {{{MissionBlitz|}}}|<span class="PVEToolTip-extra-info-title">Blitz:<br></span><span>{{{MissionBlitz|}}}</span>}}
 +
          </div>
 +
          <div class="PVEToolTip-extra-info"><!--
 +
          -->  {{#if: {{{Timer|}}}|<span class="PVEToolTip-extra-info-title">Timer:<br></span><span>{{{Timer|}}}</span>}}
 +
          </div>
 +
      </td>
 +
  </tr>|}}
 +
  </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}}