Difference between revisions of "Template:ShipBoxTooltip"
From EVE University Wiki
m |
(rebuild tooltip to accomodate the new tooltip tool) |
||
Line 1: | Line 1: | ||
For usage guide please see [[Template:Ship|Ship Template]] | For usage guide please see [[Template:Ship|Ship Template]] | ||
<includeonly><onlyinclude>{{#css: | <includeonly><onlyinclude>{{#css: | ||
− | .ship-tooltip | + | .uniwiki-ship-tooltip |
{ | { | ||
− | + | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
} | } | ||
− | .ship-tooltip . | + | .uniwiki-ship-tooltip table, .uniwiki-ship-tooltip tr, .uniwiki-ship-tooltip td |
{ | { | ||
− | + | padding: 0; margin : 0; | |
− | |||
− | |||
} | } | ||
− | .ship-tooltip | + | .uniwiki-ship-tooltip-header |
{ | { | ||
} | } | ||
− | . | + | .uniwiki-ship-tooltip-header .tooltip-header-shipname |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
{ | { | ||
color: white; | color: white; | ||
Line 46: | Line 21: | ||
height: 20px; | height: 20px; | ||
line-height: 20px; | line-height: 20px; | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
} | } | ||
− | .ship-tooltip | + | .uniwiki-ship-tooltip-header .tooltip-header-category |
− | |||
{ | { | ||
font-size: 11px; | font-size: 11px; | ||
Line 61: | Line 28: | ||
line-height: 10px; | line-height: 10px; | ||
} | } | ||
− | .ship-tooltip | + | .uniwiki-ship-tooltip-middle |
{ | { | ||
− | + | ||
− | |||
} | } | ||
− | .ship-tooltip | + | .uniwiki-ship-tooltip-middle .tt-hl |
{ | { | ||
color: khaki; | color: khaki; | ||
− | |||
font-size: 10px; | font-size: 10px; | ||
height: 10px; | height: 10px; | ||
line-height: 12px; | line-height: 12px; | ||
} | } | ||
− | .ship-tooltip | + | .uniwiki-ship-tooltip-bottom |
{ | { | ||
− | + | ||
− | |||
− | |||
− | |||
} | } | ||
− | .ship-tooltip | + | .uniwiki-ship-tooltip-bottom .tt-att |
{ | { | ||
color: #9E8F75; | color: #9E8F75; | ||
Line 94: | Line 56: | ||
{{Tooltip | {{Tooltip | ||
|1=[[{{{shipname}}}|{{#if:{{{shipname}}}|{{{shipname|Unknown Ship}}}|Unknown Ship}}]] | |1=[[{{{shipname}}}|{{#if:{{{shipname}}}|{{{shipname|Unknown Ship}}}|Unknown Ship}}]] | ||
− | |2=< | + | |2=<div class='uniwiki-ship-tooltip'> |
− | + | <table cellspacing='0' cellpadding='0'> | |
− | + | <tr> | |
− | + | <td>[[Image:Falcon.jpg|80x80px|middle|Falcon]]</td> | |
− | + | <td> | |
− | + | <div class='uniwiki-ship-tooltip-header'> | |
− | + | <div class='tooltip-header-shipname'>Falcon</div> | |
− | + | <div class='tooltip-header-category'><span style='color:orange;'>Recon Ships</span><span>Blackbird Class</span></div> | |
− | + | </div> | |
− | + | <div class='uniwiki-ship-tooltip-middle' style='border-bottom: 1px solid #272727;padding-bottom: 2px;display:{{#if:{{{highlights1|}}}|block|none}}'> | |
− | + | <div class='tt-hl'>[[Image:Icon_highlights.png|10x10px|middle|highlights]]{{{highlights1|}}}</div> | |
− | + | <div class='tt-hl'>[[Image:Icon_highlights.png|10x10px|middle|highlights]]{{{highlights2|}}}</div> | |
− | < | + | <div class='tt-hl'>[[Image:Icon_highlights.png|10x10px|middle|highlights]]{{{highlights3|}}}</div> |
− | < | + | </div> |
− | </ | + | <div class='uniwiki-ship-tooltip-bottom'> |
− | < | ||
<span class='tt-att'>[[Image:icon_hi_slot.png|15x15px|middle|high slots]]{{{highs|0}}}<span style='display:inline;'>({{{launchers|0}}}/{{{turrets|0}}})</span></span> | <span class='tt-att'>[[Image:icon_hi_slot.png|15x15px|middle|high slots]]{{{highs|0}}}<span style='display:inline;'>({{{launchers|0}}}/{{{turrets|0}}})</span></span> | ||
<span class='tt-att'>[[Image:icon_mid_slot.png|15x15px|middle|middle slots]]{{{mediums|0}}}</span> | <span class='tt-att'>[[Image:icon_mid_slot.png|15x15px|middle|middle slots]]{{{mediums|0}}}</span> | ||
Line 117: | Line 78: | ||
<span class='tt-att'>[[Image:Icon_velocity.png|15x15px|middle|max. velocity]]{{{maxvelocity|0 m/s}}}</span> | <span class='tt-att'>[[Image:Icon_velocity.png|15x15px|middle|max. velocity]]{{{maxvelocity|0 m/s}}}</span> | ||
<span class='tt-att'>[[Image:Icon_capacity.png|15x15px|middle|cargo capacity]]{{{cargohold|0 m³}}}</span> | <span class='tt-att'>[[Image:Icon_capacity.png|15x15px|middle|cargo capacity]]{{{cargohold|0 m³}}}</span> | ||
− | </ | + | </div> |
</span> | </span> | ||
− | </ | + | </td> |
− | </ | + | </tr> |
− | + | </table> | |
− | + | </div> | |
}}</onlyinclude></includeonly>[[Category:Template]] | }}</onlyinclude></includeonly>[[Category:Template]] |
Revision as of 09:09, 3 November 2011
For usage guide please see Ship Template