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

From EVE University Wiki
Jump to: navigation, search
 
(57 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly><onlyinclude>{{#css:
+
<includeonly>{{#css:
  
.PVEToolTip {
+
  .PVEToolTip {
  width: 100%;
+
    width: 100%;
}
+
  }
  
.PVEToolTip td.PVEToolTip-expectedEnemies {
+
  .PVEToolTip td.PVEToolTip-expectedEnemies {
  position: relative;
+
    position: relative;
  padding-right: 5px;
+
    padding-right: 5px;
  vertical-align: top;
+
    vertical-align: top;
}
+
  }
 
+
 
.PVEToolTip PVEToolTip-expectedEnemies div {
+
  .PVEToolTip td.PVEToolTip-expectedEnemies b {
 
     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-detail-name {
+
  .PVEToolTip .PVEToolTip-header {
  height: 20px;
+
    margin-bottom: 5px;
  white-space: nowrap;
+
    border-bottom: 1px solid #272727;
  color: white;
+
    padding-bottom: 5px;
  font: small-caps 16px/15px trebuchet MS;
+
    text-align: center;
}
+
  }
 
+
 
.PVEToolTip .PVEToolTip-category {
+
  .PVEToolTip .PVEToolTip-header div{
  font-size: 11px;
+
      white-space: nowrap;
  line-height: 11px;
+
    }
}
+
 
 
+
  .PVEToolTip .PVEToolTip-detail-name {
.PVEToolTip .PVEToolTip-rating {
+
    height: 20px;
   white-space: nowrap;
+
    white-space: nowrap;
   color: orange;
+
    color: white;
}
+
    font: small-caps 16px/15px trebuchet MS;
 
+
  }
.PVEToolTip .PVEToolTip-location {
+
 
  white-space: nowrap;
+
  .PVEToolTip .PVEToolTip-category {
}
+
    font-size: 11px;
 
+
    line-height: 11px;
/* Highlights */
+
  }
.PVEToolTip .PVEToolTip-dps {
+
 
  padding-bottom: 5px;
+
    
}
+
   .PVEToolTip .PVEToolTip-rating {
 
+
    white-space: nowrap;
.PVEToolTip .PVEToolTip-dps div {
+
    color: orange;
  height: 10px;
 
  color: khaki;
 
  font-size: 10px;
 
  line-height: 12px;
 
}
 
 
 
.PVEToolTip .PVEToolTip-damage {
 
    width: 190px;
 
 
   }
 
   }
 
+
 
.PVEToolTip .PVEToolTip-damage td + td {
+
  .PVEToolTip .PVEToolTip-location {
     border-left: 1px solid #75849e
+
     white-space: nowrap;
    padding-left: 3px;
 
}
 
 
 
.PVEToolTip .PVEToolTip-damage th {
 
    color: khaki;
 
    font-size: 10px;
 
    line-height: 12px;
 
}
 
 
 
.PVEToolTip .PVEToolTip-dps span {
 
    height: 10px;
 
    color: #FF5733;
 
    font-size: 10px;
 
    line-height: 12px;
 
    margin-right: 2px;
 
 
   }
 
   }
 
+
 
.PVEToolTip .PVEToolTip-hp {
+
  /* Highlights */
    margin-top: 1px;
+
 
    padding-top: 0px;
+
 
 +
  .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: 12px;
+
      line-height: 12px;
    margin-right: 2px;
 
 
   }
 
   }
 
+
  .PVEToolTip td.PVEToolTip-damage-faction  {
.PVEToolTip .PVEToolTip-warnings span {
+
      font-size: 10px;
    height: 12px;
+
      line-height: 11px;
    font-size: 12px;
+
      padding-left: 10px;
    line-height: 14px;
 
    margin-right: 3px;
 
 
   }
 
   }
 +
 
 +
  .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|}}} |[[{{{Faction}}} {{{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">{{{Faction}}} {{{Name}}}</div>
+
  }}<!--
            <div class="PVEToolTip-category"><span class="PVEToolTip-rating">{{{Rating|}}}</span> <span class="PVEToolTip-location">{{{Location|}}}</span></div>
+
  -->{{Tooltip
        </div>
+
  | 1={{#if: {{{Name|}}} |[[{{{Name}}}]] |{{Co|red|! parameter Name missing !}} }}
 +
  | 2=<table class="PVEToolTip">
 +
  <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><div>{{User:Luxxianna Seraph/Sandbox/MissionHoverBox/RatResistance|{{{Faction}}}}}</div></td>
+
          <td><div>{{User:Luxxianna Seraph/Sandbox/MissionHoverBox/RatResistance|{{{Faction2}}}}}</div></td>
        <td><div>{{User:Luxxianna Seraph/Sandbox/MissionHoverBox/RatDamage|{{{Faction}}}}}</div></td>
+
          <td><div>{{User:Luxxianna Seraph/Sandbox/MissionHoverBox/RatDamage|{{{Faction2}}}}}</div></td>
    </tr>
+
      </tr> }}
  </table>
+
    </table>
  </div>
+
    <div>
  <div>
+
<!-- DPS and EHP values -->
  <div class="PVEToolTip-category">Max Values</div>
+
    {{#if: {{{HighestAverageDPS|}}} {{{HighestAlphaStrike|}}} {{{HighestIndividualEHP|}}} {{{HighestWaveEHP|}}}|
  <div class="PVEToolTip-dps"><!--
+
    <div class="PVEToolTip-category">Highest Values:</div><!--
-->  {{#if: {{{HighestAverageDPS|}}}|<span>[[Image:Icon_fit_dps.png|16x16px]]Ship DPS: {{{HighestAverageDPS|}}} </span>}}<!--
+
  --> <div class="PVEToolTip-dps"><!--
-->  {{#if: {{{HighestAlphaStrike|}}}|<span>[[Image:Icon_fit_dps.png|16x16px]]Wave Alpha: {{{HighestAlphaStrike|}}} </span>}}
+
  -->  {{#if: {{{HighestAverageDPS|}}}|<span>[[Image:Icon_fit_dps.png|16x16px]]Ship DPS: {{{HighestAverageDPS|}}} </span>}}<!--
    </div>
+
  -->  {{#if: {{{HighestAlphaStrike|}}}|<span>[[Image:Icon_turret_volley.png|16x16px]]Wave Alpha: {{{HighestAlphaStrike|}}} </span>}}
    <div class="PVEToolTip-hp"><!--
+
      </div>
-->  {{#if: {{{HighestIndividualEHP|}}}|<span>[[Image:Icon_armor.png |16x16px]]Ship EHP: {{{HighestIndividualEHP|}}} </span>}}<!--
+
      <div class="PVEToolTip-hp"><!--
-->  {{#if: {{{HighestWaveEHP|}}}|<span>[[Image:Icon_armor.png |16x16px]]Wave EHP: {{{HighestWaveEHP|}}} </span>}}
+
  -->  {{#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>}}<!--
    <div class="PVEToolTip-warnings"><!--
+
  --> </div>|<!-- end if--> }}
-->  {{#if: {{{RatsWeb|}}}|<span>{{Co|orange|! Webs Present !}}|}}</span><!--
+
<!-- EWAR -->
-->  {{#if: {{{RatsScram|}}}|<span>{{Co|red|!! Scrams Present !!}}</span>|}}
+
      {{#if: {{{EWAR|}}}{{{EWAR2|}}}{{{EWAR3|}}}{{{WarpDisrupt|}}}|
    </div>
+
      <div class="PVEToolTip-category">EWAR:</div><!--
  </div>
+
  --> <div class="PVEToolTip-extra-info"><!--
  </td>
+
  -->  {{#if: {{{WarpDisrupt|}}}|<div style="margin:auto">{{Co|red|!! Scrams Present !!}}</div>|}}<!--
</tr>
+
  -->  {{#if: {{{EWAR|}}}|{{User:Luxxianna Seraph/Sandbox/MissionHoverBox/EWARIcon|{{{EWAR}}}|30px}}|}}<!--
</table>
+
  -->  {{#if: {{{EWAR1|}}}|{{User:Luxxianna Seraph/Sandbox/MissionHoverBox/EWARIcon|{{{EWAR1}}}|30px}}|}}<!--
}}</onlyinclude></includeonly><noinclude>{{documentation}}</noinclude>
+
  -->  {{#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>
 +
    </td>
 +
  </tr>
 +
<!--  LONGFORM DETAILS
 +
--> {{#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}}