Difference between revisions of "Template:ShipBoxTooltip"

From EVE University Wiki
Jump to: navigation, search
m
(Added tech corner to ship image)
Line 55: Line 55:
 
margin-right: 3px;
 
margin-right: 3px;
 
padding-right: 3px;
 
padding-right: 3px;
 +
}
 +
.techcornersmall
 +
{
 +
width: 64px;
 +
height: 64px;
 +
position: absolute;
 +
top: 0px;
 +
left: 0px;
 +
margin-left: 1px;
 +
margin-top: 1px;
 
}
 
}
 
}}
 
}}
Line 62: Line 72:
 
<table cellspacing='0' cellpadding='0' style='width:100%;'>
 
<table cellspacing='0' cellpadding='0' style='width:100%;'>
 
<tr>
 
<tr>
<td class='left' style='padding: 0 5px 0 0;width: 80px;'>[[Image:{{{shipimg|no-image.png}}}|80x80px|middle|{{#if:{{{shipname}}}|{{{shipname}}}|Unknown Ship}}]]</td>
+
<td class='left' style='padding: 0 5px 0 0;width: 80px; position: relative;'>{{#if:{{{tech|}}}|<div class="techcornersmall">[[Image:CornerT{{{tech|2}}}s.png|link=]]</div>|}}[[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'>

Revision as of 17:12, 2 December 2012

For usage guide please see Ship Template