Difference between revisions of "User:Luxxianna Seraph/Sandbox/MissionHoverBox/PVEBoxTooltip"
From EVE University Wiki
(28 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
− | <includeonly | + | <includeonly>{{#css: |
− | .PVEToolTip { | + | .PVEToolTip { |
− | + | width: 100%; | |
− | + | } | |
− | + | .PVEToolTip td.PVEToolTip-expectedEnemies { | |
position: relative; | position: relative; | ||
− | padding-right: | + | padding-right: 5px; |
vertical-align: top; | vertical-align: top; | ||
− | |||
} | } | ||
− | + | .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 { |
− | + | height: 9px; | |
− | + | font-size: 9px; | |
− | + | line-height: 11px; | |
− | + | } | |
− | + | ||
− | + | /* 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-category { | |
− | + | font-size: 11px; | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | .PVEToolTip .PVEToolTip-category { | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
line-height: 11px; | line-height: 11px; | ||
− | |||
− | |||
− | |||
− | |||
} | } | ||
− | + | ||
− | + | ||
− | + | .PVEToolTip .PVEToolTip-rating { | |
− | color: | + | white-space: nowrap; |
− | + | color: orange; | |
− | |||
− | |||
} | } | ||
− | + | ||
− | .PVEToolTip .PVEToolTip- | + | .PVEToolTip .PVEToolTip-location { |
− | + | white-space: nowrap; | |
} | } | ||
− | + | ||
− | .PVEToolTip .PVEToolTip- | + | /* Highlights */ |
− | + | ||
− | + | ||
− | + | .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- | + | .PVEToolTip .PVEToolTip-damage th { |
− | + | white-space: nowrap; | |
− | + | color: khaki; | |
− | + | font-size: 10px; | |
− | + | line-height: 12px; | |
− | |||
} | } | ||
− | .PVEToolTip | + | .PVEToolTip td.PVEToolTip-damage-faction { |
− | + | font-size: 10px; | |
− | + | line-height: 11px; | |
− | + | padding-left: 10px; | |
− | |||
− | |||
− | |||
} | } | ||
+ | |||
+ | .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 { | |
− | }}<!-- | + | 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; |
− | + | font-weight: bold; | |
− | + | color: #A9A9A9; | |
− | + | } | |
− | + | }}<!-- | |
− | + | -->{{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 !}} }} |
− | </div> | + | | 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> | ||
− | + | <td> | |
− | + | <table class="PVEToolTip-damage"> | |
− | + | <tr> | |
− | + | <td class="PVEToolTip-damage-faction" colspan="2">{{{Faction}}}</td> | |
− | + | </tr> | |
− | + | <tr> | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
<th>Resistance</th> | <th>Resistance</th> | ||
− | <th>Damage</th> | + | <th>Damage</th></tr> |
− | + | <tr> | |
− | + | <td><div>{{User:Luxxianna Seraph/Sandbox/MissionHoverBox/RatResistance|{{{Faction}}}}}</div></td> | |
− | + | <td><div>{{User:Luxxianna Seraph/Sandbox/MissionHoverBox/RatDamage|{{{Faction}}}}}</div></td> | |
− | + | </tr> | |
− | + | {{#if: {{{Faction2|}}}| | |
− | + | <tr> | |
− | |||
− | |||
− | |||
− | |||
<td class="PVEToolTip-damage-faction" colspan="2">{{{Faction2}}}</td> | <td class="PVEToolTip-damage-faction" colspan="2">{{{Faction2}}}</td> | ||
− | + | </tr> | |
− | + | <tr> | |
− | <td><div>{{User:Luxxianna Seraph/Sandbox/MissionHoverBox/RatResistance|{{{Faction2}}}}}</div></td> | + | <th>Resistance</th> |
− | + | <th>Damage</th></tr> | |
− | + | <tr> | |
− | + | <tr> | |
− | + | <td><div>{{User:Luxxianna Seraph/Sandbox/MissionHoverBox/RatResistance|{{{Faction2}}}}}</div></td> | |
− | + | <td><div>{{User:Luxxianna Seraph/Sandbox/MissionHoverBox/RatDamage|{{{Faction2}}}}}</div></td> | |
− | + | </tr> }} | |
− | + | </table> | |
− | + | <div> | |
− | --> {{#if: {{{HighestAverageDPS|}}}|<span>[[Image:Icon_fit_dps.png|16x16px]]Ship DPS: {{{HighestAverageDPS|}}} </span>}}<!-- | + | <!-- DPS and EHP values --> |
− | --> {{#if: {{{HighestAlphaStrike|}}}|<span>[[Image:Icon_turret_volley.png|16x16px]]Wave Alpha: {{{HighestAlphaStrike|}}} </span>}} | + | {{#if: {{{HighestAverageDPS|}}} {{{HighestAlphaStrike|}}} {{{HighestIndividualEHP|}}} {{{HighestWaveEHP|}}}| |
− | + | <div class="PVEToolTip-category">Highest Values:</div><!-- | |
− | + | --> <div class="PVEToolTip-dps"><!-- | |
− | --> {{#if: {{{HighestIndividualEHP|}}}|<span>[[Image:Icon_armor.png |16x16px]]Ship EHP: {{{HighestIndividualEHP|}}} </span>}}<!-- | + | --> {{#if: {{{HighestAverageDPS|}}}|<span>[[Image:Icon_fit_dps.png|16x16px]]Ship DPS: {{{HighestAverageDPS|}}} </span>}}<!-- |
− | --> {{#if: {{{HighestWaveEHP|}}}|<span>[[Image:Icon_armor.png |16x16px]]Wave EHP: {{{HighestWaveEHP|}}} </span>}} | + | --> {{#if: {{{HighestAlphaStrike|}}}|<span>[[Image:Icon_turret_volley.png|16x16px]]Wave Alpha: {{{HighestAlphaStrike|}}} </span>}} |
− | + | </div> | |
− | + | <div class="PVEToolTip-hp"><!-- | |
− | --> | + | --> {{#if: {{{HighestIndividualEHP|}}}|<span>[[Image:Icon_armor.png |16x16px]]Ship EHP: {{{HighestIndividualEHP|}}} </span>}}<!-- |
− | --> {{#if: {{{WarpDisrupt|}}}|< | + | --> {{#if: {{{HighestWaveEHP|}}}|<span>[[Image:Icon_armor.png |16x16px]]Wave EHP: {{{HighestWaveEHP|}}} </span>}}<!-- |
− | + | --> </div>|<!-- end if--> }} | |
− | + | <!-- EWAR --> | |
− | + | {{#if: {{{EWAR|}}}{{{EWAR2|}}}{{{EWAR3|}}}{{{WarpDisrupt|}}}| | |
− | + | <div class="PVEToolTip-category">EWAR:</div><!-- | |
− | + | --> <div class="PVEToolTip-extra-info"><!-- | |
− | + | --> {{#if: {{{WarpDisrupt|}}}|<div style="margin:auto">{{Co|red|!! Scrams Present !!}}</div>|}}<!-- | |
− | + | --> {{#if: {{{EWAR|}}}|{{User:Luxxianna Seraph/Sandbox/MissionHoverBox/EWARIcon|{{{EWAR}}}|30px}}|}}<!-- | |
− | + | --> {{#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> | |
− | |||
− | |||
− | |||
− | |||
− | |||
</td> | </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}}
Visit User:Luxxianna Seraph/Sandbox/MissionHoverBox/PVEBoxTooltip/doc to edit this text! (How does this work?) (Refresh this text - why?)