Difference between revisions of "Template:ShipBoxTooltip"

From EVE University Wiki
Jump to: navigation, search
(Undo revision 30488 by Sarah schneider (talk))
(continued)
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
 
{
 
{
font-size: 90%;
+
line-height: 110%;
 
width: 330px;
 
}
 
.ship-tooltip span
 
{
 
display: block;
 
vertical-align: top;
 
 
}
 
}
.ship-tooltip .tt-left
+
.uniwiki-ship-tooltip table, .uniwiki-ship-tooltip tr, .uniwiki-ship-tooltip td
 
{
 
{
display: inline-block;
+
padding: 0; margin : 0;
margin-right: 5px;
 
width: 80px;
 
 
}
 
}
.ship-tooltip .tt-left img
+
.uniwiki-ship-tooltip-header
 
{
 
{
 
 
 
}
 
}
.ship-tooltip .tt-right
+
.uniwiki-ship-tooltip-header .tooltip-header-shipname
{
 
display: inline-block;
 
width: 240px;
 
}
 
.ship-tooltip .tt-right .tt-header
 
{
 
height: 20px;
 
overflow: hidden;
 
width: 240px;
 
}
 
.ship-tooltip .tt-right .tt-header span,
 
.ship-tooltip .tt-right .tt-subheader span
 
{
 
display: inline-block;
 
}
 
.ship-tooltip .tt-right .tt-header .tt-shipname
 
 
{
 
{
 
color: white;
 
color: white;
Line 46: Line 21:
 
height: 20px;
 
height: 20px;
 
line-height: 20px;
 
line-height: 20px;
width: 180px;
 
}
 
.ship-tooltip .tt-right .tt-header .tt-race
 
{
 
float: right;
 
height: 20px;
 
line-height: 25px;
 
 
}
 
}
.ship-tooltip .tt-right .tt-subheader .tt-grouping,
+
.uniwiki-ship-tooltip-header .tooltip-header-category
.ship-tooltip .tt-right .tt-subheader .tt-hulltype
 
 
{
 
{
 
font-size: 11px;
 
font-size: 11px;
Line 61: Line 28:
 
line-height: 10px;
 
line-height: 10px;
 
}
 
}
.ship-tooltip .tt-right .tt-contents
+
.uniwiki-ship-tooltip-middle
 
{
 
{
border-top: 1px solid #272727;
+
padding-top: 2px;
 
 
}
 
}
.ship-tooltip .tt-right .tt-contents .tt-contentsrow .tt-hl
+
.uniwiki-ship-tooltip-middle .tt-hl
 
{
 
{
 
color: khaki;
 
color: khaki;
display: inline-block;
 
 
font-size: 10px;
 
font-size: 10px;
 
height: 10px;
 
height: 10px;
 
line-height: 12px;
 
line-height: 12px;
 
}
 
}
.ship-tooltip .tt-right .tt-contents .tt-contentsrow .tt-hl a
+
.uniwiki-ship-tooltip-bottom
 
{
 
{
height: 10px;
+
line-height: 10px;
 
margin-right: 2px;
 
vertical-align: top;
 
 
}
 
}
.ship-tooltip .tt-right .tt-contents .tt-contentsrow .tt-att
+
.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=<span class='ship-tooltip'>
+
|2=<div class='uniwiki-ship-tooltip'>
<span class='tt-left'>[[Image:{{{shipimg|no-image.png}}}|80x80px|middle|{{#if:{{{shipname}}}|{{{shipname}}}|Unknown Ship}}]]</span>
+
<table cellspacing='0' cellpadding='0'>
<span class='tt-right'>
+
<tr>
<span class='tt-header'>
+
<td>[[Image:Falcon.jpg|80x80px|middle|Falcon]]</td>
<span class='tt-shipname'>{{#if:{{{shipname}}}|{{{shipname|Unknown Ship}}}|Unknown Ship}}</span>
+
<td>
<span class='tt-race'>[[Image:{{#switch:{{{faction}}}|Amarr Empire=Logo_faction_amarr_empire.png |Caldari State=Logo_faction_caldari_state.png |Gallente Federation=Logo_faction_gallente_federation.png |Minmatar Republic=Logo_faction_minmatar_republic.png |Outer Ring Excavations=Logo_faction_outer_ring_excavations.png |#default=no-image.png}}|30x30px|middle|{{#if:{{{faction}}}|{{{faction|Unknown}}}|Unknown}}]]</span>
+
<div class='uniwiki-ship-tooltip-header'>
</span>
+
<div class='tooltip-header-shipname'>Falcon</div>
<span class='tt-subheader'>
+
<div class='tooltip-header-category'><span style='color:orange;'>Recon Ships</span><span>Blackbird Class</span></div>
<span class='tt-grouping'>[[:Category:{{{grouping|Unique Ships}}}|{{{grouping|Unique Ships}}}]]</span>
+
</div>
<span class='tt-hulltype'>{{{hulltype|Unknown Class}}}</span>
+
<div class='uniwiki-ship-tooltip-middle' style='border-bottom: 1px solid #272727;padding-bottom: 2px;display:{{#if:{{{highlights1|}}}|block|none}}'>
</span>
+
<div class='tt-hl'>[[Image:Icon_highlights.png|10x10px|middle|highlights]]{{{highlights1|}}}</div>
<span class='tt-contents'>
+
<div class='tt-hl'>[[Image:Icon_highlights.png|10x10px|middle|highlights]]{{{highlights2|}}}</div>
<span class='tt-contentsrow' 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]]{{{highlights3|}}}</div>
<span class='tt-hl'>[[Image:Icon_highlights.png|10x10px|middle|highlights]]{{{highlights1|}}}</span>
+
</div>
</span>
+
<div class='uniwiki-ship-tooltip-bottom'>
<span class='tt-contentsrow'>
 
 
<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&#179;}}}</span>
 
<span class='tt-att'>[[Image:Icon_capacity.png|15x15px|middle|cargo capacity]]{{{cargohold|0 m&#179;}}}</span>
</span>
+
</div>
</span>
+
</td>
</span>
+
</tr>
</span>
+
</table>
|3=1em
+
</div>
|4=0
 
 
}}</onlyinclude></includeonly>[[Category:Template]]
 
}}</onlyinclude></includeonly>[[Category:Template]]
 +
 +
{{Ship|Drake|tooltip}}

Revision as of 09:17, 3 November 2011

For usage guide please see Ship Template

Drake
Falcon
Falcon
Recon ShipsBlackbird Class
highlightsCan use Command Burst module
highlightsHigh Amount of High Slots
highlights

high slots7(6/0) middle slots6 low slots4 powergrid830 MW cpu output500 tf max. velocity150 m/sec cargo capacity450 m³