Difference between revisions of "User:Luxxianna Seraph/Sandbox/MissionHoverBox/PVEBoxTooltip"
From EVE University Wiki
Line 1: | Line 1: | ||
<includeonly><onlyinclude>{{#css: | <includeonly><onlyinclude>{{#css: | ||
− | .PVEToolTip { | + | .PVEToolTip { |
− | + | width: 100%; | |
− | + | } | |
− | + | ||
− | + | .PVEToolTip PVEToolTip-image { | |
+ | position: relative; | ||
+ | padding-right: 2px; | ||
+ | vertical-align: top; | ||
+ | white-space: nowrap; | ||
+ | } | ||
+ | |||
+ | |||
+ | .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 { | |
− | + | width: 190px; | |
− | + | text-align: left; | |
+ | } | ||
+ | |||
+ | .PVEToolTip .PVEToolTip-damage td + td { | ||
+ | border-left: 1px solid #75849e | ||
+ | padding-left: 3px; | ||
} | } | ||
− | + | ||
− | .PVEToolTip .PVEToolTip- | + | .PVEToolTip .PVEToolTip-damage th { |
− | + | color: khaki; | |
− | + | font-size: 10px; | |
− | + | line-height: 12px; | |
− | |||
− | |||
} | } | ||
− | .PVEToolTip | + | .PVEToolTip td.PVEToolTip-damage-faction { |
− | + | font-size: 10px; | |
− | + | line-height: 11px; | |
− | |||
− | |||
− | |||
− | |||
} | } | ||
− | + | ||
− | + | .PVEToolTip .PVEToolTip-dps { | |
− | }}<!-- | + | padding-bottom: 1px; |
− | -->{{Tooltip | + | } |
− | | 1={{#if: {{{Name|}}} |[[{{{Name}}}]] |{{Co|red|! parameter Name missing !}} }} | + | |
− | | 2=<table class="PVEToolTip"> | + | .PVEToolTip .PVEToolTip-dps span { |
− | + | height: 10px; | |
− | + | color: #FF5733; | |
− | + | font-size: 10px; | |
− | + | line-height: 11px; | |
− | + | margin-right: 2px; | |
− | --> {{#if: {{{AccelerationGate|}}}|<div class="PVEToolTip-category"><span class="PVEToolTip-location">Has Acceleration Gate</span></div>}} | + | } |
− | </div> | + | |
+ | .PVEToolTip .PVEToolTip-hp { | ||
+ | padding-bottom: 1px; | ||
+ | } | ||
+ | |||
+ | .PVEToolTip .PVEToolTip-hp span { | ||
+ | height: 10px; | ||
+ | color: #A033FF; | ||
+ | font-size: 10px; | ||
+ | line-height: 11px; | ||
+ | margin-right: 2px; | ||
+ | } | ||
+ | |||
+ | .PVEToolTip .PVEToolTip-extra-info span { | ||
+ | height: 12px; | ||
+ | font-size: 12px; | ||
+ | line-height: 14px; | ||
+ | margin-right: 3px; | ||
+ | text-align: center; | ||
+ | } | ||
+ | .PVEToolTip span.PVEToolTip-extra-info-title { | ||
+ | height: 11px; | ||
+ | font-size: 10px; | ||
+ | line-height: 11px; | ||
+ | text-align: center; | ||
+ | font-weight: bold; | ||
+ | color: #A9A9A9; | ||
+ | } | ||
+ | |||
+ | |||
+ | }}<!-- | ||
+ | -->{{Tooltip | ||
+ | | 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">{{#if:{{{TypeDetail|}}}||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|}}}|<div class="PVEToolTip-expectedEnemies"><b>Rooms:</b><br>[[Image:Icon_bracket_accelerationgate.png|12x12px]] {{{NumberOfRooms|}}}</div>}} | ||
+ | </td> | ||
</td> | </td> | ||
− | + | <td> | |
− | + | <div> | |
− | + | <table class="PVEToolTip-damage"> | |
− | + | <tr> | |
− | + | <th>Resistance</th> | |
− | + | <th>Damage</th> | |
− | + | </tr> | |
− | + | <tr> | |
− | + | <td class="PVEToolTip-damage-faction" colspan="2">{{{Faction}}}</td> | |
− | + | </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> | |
− | + | </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> | |
− | + | <div> | |
− | + | {{#if: {{{HighestAverageDPS|}}} {{{HighestAlphaStrike|}}} {{{HighestIndividualEHP|}}} {{{HighestWaveEHP|}}}| | |
− | + | <div class="PVEToolTip-category">Highest Values:</div> | |
− | + | <div class="PVEToolTip-dps"><!-- | |
− | + | --> {{#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>}} | |
− | + | </div> | |
− | + | <div class="PVEToolTip-hp"><!-- | |
− | + | --> {{#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--> }} | |
− | + | </div> | |
− | + | <div class="PVEToolTip-extra-info"><!-- | |
− | + | --> {{#ifeq: {{lc: {{{EWAR|}}}}}|webs|<span>{{Co|orange|! Webs Present !}}</span>|}}<!-- | |
− | + | --> {{#if: {{{WarpDisrupt|}}}|<span>{{Co|red|!! Scrams Present !!}}</span>|}} | |
− | + | </div> | |
− | + | <div class="PVEToolTip-extra-info"><!-- | |
− | + | --> {{#if: {{{RatsOnLandingBeacon|}}}|<span>{{Co|khaki|Rats Present on Beacon}}|}}</span> | |
− | + | </div> | |
− | --> {{#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>}} | ||
− | |||
− | |||
− | --> {{#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--> }} | ||
− | |||
− | |||
− | --> {{#ifeq: {{lc: {{{EWAR|}}}}}|webs|<span>{{Co|orange|! Webs Present !}}</span>|}}<!-- | ||
− | --> {{#if: {{{WarpDisrupt|}}}|<span>{{Co|red|!! Scrams Present !!}}</span>|}} | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
</td> | </td> | ||
− | </tr> | + | </tr> |
− | </table>}}</onlyinclude></includeonly><noinclude>{{documentation}}</noinclude> | + | <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>}}</onlyinclude></includeonly><noinclude>{{documentation}}</noinclude> |
Revision as of 15:32, 3 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?)