Difference between revisions of "Template:ShipBoxTooltip"

From EVE University Wiki
Jump to: navigation, search
m
(finished remodeling of ship tooltip template)
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:
.uniwiki-ship-tooltip
 
{
 
 
}
 
 
.uniwiki-ship-tooltip table, .uniwiki-ship-tooltip tr, .uniwiki-ship-tooltip td
 
.uniwiki-ship-tooltip table, .uniwiki-ship-tooltip tr, .uniwiki-ship-tooltip td
 
{
 
{
Line 13: Line 9:
 
.uniwiki-ship-tooltip .left img
 
.uniwiki-ship-tooltip .left img
 
{
 
{
+
border: 1px solid #272727;
 
}
 
}
 
.uniwiki-ship-tooltip-header
 
.uniwiki-ship-tooltip-header
Line 36: Line 32:
 
height: 10px;
 
height: 10px;
 
line-height: 10px;
 
line-height: 10px;
}
 
.uniwiki-ship-tooltip-middle
 
{
 
 
 
}
 
}
 
.uniwiki-ship-tooltip-middle .tt-hl
 
.uniwiki-ship-tooltip-middle .tt-hl
Line 70: Line 62:
 
<table cellspacing='0' cellpadding='0'>
 
<table cellspacing='0' cellpadding='0'>
 
<tr>
 
<tr>
<td class='left' style='padding-right:5px;'>[[Image:Falcon.jpg|80x80px|middle|Falcon]]</td>
+
<td class='left' style='padding-right:5px;'>[[Image:{{{shipimg|no-image.png}}}|80x80px|middle|{{#if:{{{shipname}}}|{{{shipname}}}|Unknown Ship}}]]</td>
 
<td>
 
<td>
 
<div class='uniwiki-ship-tooltip-header'>
 
<div class='uniwiki-ship-tooltip-header'>
<div class='tooltip-header-shipname'>Falcon</div>
+
<div class='tooltip-header-shipname'>{{#if:{{{shipname}}}|{{{shipname|Unknown Ship}}}|Unknown Ship}}</div>
<div class='tooltip-header-category'><span style='color:orange;margin-right: 5px;'>Recon Ships</span><span>Blackbird Class</span></div>
+
<div class='tooltip-header-category'><span style='color:orange;margin-right: 5px;'>{{{grouping|Unique Ships}}}</span><span>{{{hulltype|Unknown Class}}}</span></div>
 
</div>
 
</div>
<div class='uniwiki-ship-tooltip-middle' style='border-bottom: 1px solid #272727;padding-bottom: 5px;display:{{#if:{{{highlights1|}}}|block|none}}'>
+
<div class='uniwiki-ship-tooltip-middle' style='padding-bottom: 5px;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]]{{{highlights1|}}}</div>
<div class='tt-hl'>[[Image:Icon_highlights.png|10x10px|middle|highlights]]{{{highlights2|}}}</div>
+
<div class='tt-hl' style='display:{{#if:{{{highlights2|}}}|block|none}}'>[[Image:Icon_highlights.png|10x10px|middle|highlights]]{{{highlights2|}}}</div>
<div class='tt-hl'>[[Image:Icon_highlights.png|10x10px|middle|highlights]]{{{highlights3|}}}</div>
+
<div class='tt-hl' style='display:{{#if:{{{highlights3|}}}|block|none}}'>[[Image:Icon_highlights.png|10x10px|middle|highlights]]{{{highlights3|}}}</div>
 
</div>
 
</div>
 
<div class='uniwiki-ship-tooltip-bottom'>
 
<div class='uniwiki-ship-tooltip-bottom'>
Line 95: Line 87:
 
</div>
 
</div>
 
}}</onlyinclude></includeonly>[[Category:Template]]
 
}}</onlyinclude></includeonly>[[Category:Template]]
 
{{Ship|Drake|tooltip}}
 

Revision as of 09:49, 3 November 2011

For usage guide please see Ship Template