Difference between revisions of "Template:ShipBoxLarge"

From EVE University Wiki
Jump to: navigation, search
(changed bonuses box position, added some conditional styling)
Line 221: Line 221:
 
<div style='float:left;clear:both;width:100%'>
 
<div style='float:left;clear:both;width:100%'>
 
<div class='ship-info'>
 
<div class='ship-info'>
<div class='title'><span style='font-size:16px'>&equiv;</span> {{{class}}}: INFORMATION<div style='float: right; font-weight: bold; font-family: trebuchet MS; text-transform: uppercase; font-size: 80%; line-height: 20px; color: #F1EFCA;'>{{{roles}}}</div></div>
+
<div class='title'><span style='font-size:16px'>&equiv;</span> {{{class}}}: INFORMATION<div style='display:{{#if:{{{roles}}}|block|none}};float: right; font-weight: bold; font-family: trebuchet MS; text-transform: uppercase; font-size: 80%; line-height: 20px; color: #F1EFCA;'>{{{roles}}}</div></div>
<table style='width:100%;'>
+
<table style='width:100%;margin-bottom:5px;'>
 
<tr>
 
<tr>
 
<td style='padding: 5px; width: 256px;' valign='top'>
 
<td style='padding: 5px; width: 256px;' valign='top'>
Line 348: Line 348:
 
</tr>
 
</tr>
 
</table>
 
</table>
<div class='ship-border-box' style='margin:5px'>
+
<div class='ship-border-box' style='display:{{#if:{{{bonuses}}}|block|none}};margin:5px'>
 
<div class='label'><div class='inner'>S H I P&nbsp;&nbsp;&nbsp;B O N U S E S</div></div>  
 
<div class='label'><div class='inner'>S H I P&nbsp;&nbsp;&nbsp;B O N U S E S</div></div>  
 
<p>{{{bonuses|<i>no bonuses available for this ship</i>}}}</p>
 
<p>{{{bonuses|<i>no bonuses available for this ship</i>}}}</p>

Revision as of 18:44, 6 September 2011

{{{class}}}: INFORMATION
{{{roles}}}
[[Image:{{{shipimg}}}|center|256x256px|{{{shipname}}}]]
{{{shipname}}}
S H I P   B O N U S E S

no bonuses available for this ship

{{{info}}}

Variations : none