No edit summary |
No edit summary |
||
| Line 1: | Line 1: | ||
<includeonly><onlyinclude>{{#css: | <includeonly><onlyinclude>{{#css: | ||
. | .PVEToolTip { | ||
width: 100%; | width: 100%; | ||
} | } | ||
. | .PVEToolTip td.PVEToolTip-expectedEnemies { | ||
position: relative; | position: relative; | ||
padding-right: 5px; | padding-right: 5px; | ||
vertical-align: top; | vertical-align: top; | ||
} | } | ||
/* header */ | /* header */ | ||
. | .PVEToolTip .PVEToolTip-header { | ||
margin-bottom: 5px; | margin-bottom: 5px; | ||
border-bottom: 1px solid #272727; | border-bottom: 1px solid #272727; | ||
| Line 26: | Line 19: | ||
} | } | ||
. | .PVEToolTip .PVEToolTip-detail-name { | ||
height: 20px; | height: 20px; | ||
white-space: nowrap; | white-space: nowrap; | ||
| Line 33: | Line 26: | ||
} | } | ||
. | .PVEToolTip .PVEToolTip-category { | ||
font-size: 11px; | font-size: 11px; | ||
line-height: 11px; | line-height: 11px; | ||
} | } | ||
. | .PVEToolTip .PVEToolTip-rating { | ||
white-space: nowrap; | white-space: nowrap; | ||
color: orange; | color: orange; | ||
} | } | ||
. | .PVEToolTip .PVEToolTip-ship-hull { | ||
white-space: nowrap; | white-space: nowrap; | ||
} | } | ||
/* Highlights */ | /* Highlights */ | ||
. | .PVEToolTip .PVEToolTip-highlights { | ||
padding-bottom: 5px; | padding-bottom: 5px; | ||
} | } | ||
. | .PVEToolTip .PVEToolTip-highlights div { | ||
height: 10px; | height: 10px; | ||
color: khaki; | color: khaki; | ||
| Line 58: | Line 51: | ||
line-height: 12px; | line-height: 12px; | ||
} | } | ||
/* *** Ship attributes *** */ | /* *** Ship attributes *** */ | ||
. | .PVEToolTip .PVEToolTip-attributes { | ||
width: 180px; | width: 180px; | ||
} | } | ||
. | .PVEToolTip .PVEToolTip-attributes div { | ||
float: left; | float: left; | ||
margin-right: 3px; | margin-right: 3px; | ||
| Line 76: | Line 70: | ||
}} | }} | ||
{{NPCTableCSS}} | |||
{{Tooltip | {{Tooltip | ||
| 1={{#if: {{{Name|}}} |[[{{{Faction}}} {{{Name}}}]] |{{Co|red|! parameter Name missing !}} }} | | 1={{#if: {{{Name|}}} |[[{{{Faction}}} {{{Name}}}]] |{{Co|red|! parameter Name missing !}} }} | ||
| 2=<table class=" | | 2=<table class="PVEToolTip"> | ||
<tr> | <tr> | ||
<td class=" | <td class="PVEToolTip-expectedEnemies"> | ||
{{ | {{#if: {{{TotalExpFrigates|}}}|<div>[[Image:icon_red_frigate.png|12x12px]]{{{TotalExpFrigates|}}}</div>}} | ||
{{#if: {{{TotalExpDestroyers|}}}|<div>[[Image:icon_red_destroyerpng|12x12px]]{{{TotalExpDestroyers|}}}</div>}} | |||
{{#if: {{{TotalExpCruisers|}}}|<div>[[Image:icon_red_cruiser.png|12x12px]]{{{TotalExpCruisers|}}}</div>}} | |||
{{#if: {{{TotalExpBattlecruisers|}}}|<div>[[Image:icon_red_battlecruiser.png|12x12px]]{{{TotalExpBattlecruisers|}}}</div>}} | |||
{{#if: {{{TotalExpBattleships|}}}|<div>[[Image:icon_red_battleship.png|12x12px]]{{{TotalExpBattleships|}}}</div>}} | |||
{{#if: {{{TotalExpCapitals|}}}|<div>[[Image:icon_red_dreadnought.png|12x12px]]{{{TotalExpCapitals|}}}</div>}} | |||
{{#if: {{{TotalExpSentries|}}}|<div>[[Image:icon_red_tower.png|12x12px]]{{{TotalExpSentries|}}}</div>}} | |||
</td> | </td> | ||
<td> | <td> | ||
<div class=" | <div class="PVEToolTip-header"> | ||
<div class=" | <div class="PVEToolTip-detail-name">{{{Faction}}} {{{Name}}}</div> | ||
<div class=" | <div class="PVEToolTip-category"><span class="PVEToolTip-rating">{{{Rating|}}}</span> <span class="PVEToolTip-ship-hull">{{{Location|}}}</span></div> | ||
</div> | </div> | ||
{{#if: {{{highlights1|}}} {{{highlights2|}}} {{{highlights3|}}} {{{highlights4|}}} | {{#if: {{{highlights1|}}} {{{highlights2|}}} {{{highlights3|}}} {{{highlights4|}}} | ||
|<div class=" | |<div class="PVEToolTip-highlights"><!-- | ||
--> {{#if: {{{highlights1|}}}|<div>[[Image:Icon_highlights.png|10x10px]]{{{highlights1|}}}</div>}}<!-- | --> {{#if: {{{highlights1|}}}|<div>[[Image:Icon_highlights.png|10x10px]]{{{highlights1|}}}</div>}}<!-- | ||
--> {{#if: {{{highlights2|}}}|<div>[[Image:Icon_highlights.png|10x10px]]{{{highlights2|}}}</div>}}<!-- | --> {{#if: {{{highlights2|}}}|<div>[[Image:Icon_highlights.png|10x10px]]{{{highlights2|}}}</div>}}<!-- | ||
| Line 105: | Line 97: | ||
</div> | </div> | ||
}} | }} | ||
<div class=" | <div class="PVEToolTip-attributes"> | ||
<div>[[Image:icon_hi_slot.png|15x15px|link=]]{{#if: {{{highs|}}} | <div>[[Image:icon_hi_slot.png|15x15px|link=]]{{#if: {{{highs|}}} | ||
| {{{highs}}} ({{#if: {{{launchers|}}} |{{{launchers}}} |0 }}/{{#if: {{{turrets|}}} |{{{turrets}}} |0 }}) | | {{{highs}}} ({{#if: {{{launchers|}}} |{{{launchers}}} |0 }}/{{#if: {{{turrets|}}} |{{{turrets}}} |0 }}) | ||