Difference between revisions of "Template:ShipBoxLarge"

From EVE University Wiki
Jump to: navigation, search
(finished adding parameter protection for this template)
Line 222: Line 222:
 
<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> {{#if:{{{class}}}|{{{class|SHIP}}}|SHIP}}: 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>
+
<div class='title'><span style='font-size:16px'>&equiv;</span> {{#if:{{{class}}}|{{{class|SHIP}}}|SHIP}}: 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%;margin-bottom:5px;'>
 
<table style='width:100%;margin-bottom:5px;'>
 
<tr>
 
<tr>
Line 270: Line 270:
 
</div>
 
</div>
 
<div class='att-item'>
 
<div class='att-item'>
<div class='att-value' style='width:40px'>{{#if:{{{dronebay}}}|{{{dronebay}}}|0 m3}}</div><div class='att-img'>[[Image:icon_drone_capacity.png|20px|middle|drone capacity]]</div><div class='att-label'>drones</div>
+
<div class='att-value' style='width:40px'>{{#if:{{{dronebay}}}|{{{dronebay|0 m3}}}|0 m3}}</div><div class='att-img'>[[Image:icon_drone_capacity.png|20px|middle|drone capacity]]</div><div class='att-label'>drones</div>
 
</div>
 
</div>
 
<div class='att-item'>
 
<div class='att-item'>
<div class='att-value' style='width:60px'>{{#if:{{{bandwidth}}}|{{{bandwidth}}}|0 Mbit/sec}}</div><div class='att-img'>[[Image:icon_drone_bandwith.png|20px|middle|drone bandwith]]</div><div class='att-label'>b/w</div>
+
<div class='att-value' style='width:60px'>{{#if:{{{bandwidth}}}|{{{bandwidth|0 Mbit/sec}}}|0 Mbit/sec}}</div><div class='att-img'>[[Image:icon_drone_bandwith.png|20px|middle|drone bandwith]]</div><div class='att-label'>b/w</div>
 
</div>
 
</div>
 
<div class='att-item' style='border-right:medium none;'>
 
<div class='att-item' style='border-right:medium none;'>
<div class='att-value' style='width:70px'>{{#if:{{{cargohold}}}|{{{cargohold}}}|0 m3}}</div><div class='att-img'>[[Image:Icon_capacity.png|20px|middle|cargo capacity]]</div><div class='att-label'>cargo</div>
+
<div class='att-value' style='width:70px'>{{#if:{{{cargohold}}}|{{{cargohold|0 m3}}}|0 m3}}</div><div class='att-img'>[[Image:Icon_capacity.png|20px|middle|cargo capacity]]</div><div class='att-label'>cargo</div>
 
</div>
 
</div>
 
</div>
 
</div>
Line 353: Line 353:
 
<p>{{#if:{{{maxvelocity}}}|{{{maxvelocity|<i>no bonuses available for this ship</i>}}}|<i>no bonuses available for this ship</i>}}</p>
 
<p>{{#if:{{{maxvelocity}}}|{{{maxvelocity|<i>no bonuses available for this ship</i>}}}|<i>no bonuses available for this ship</i>}}</p>
 
</div>
 
</div>
<p class='ship-desc'>{{{info}}}</p>
+
<p class='ship-desc'>{{#if:{{{info}}}|{{{info|&nbsp;}}}|&nbsp;}}</p>
 
<div class='ship-variants'>Variations : {{#if:{{{variations}}}|{{{variations|<i>none</i>}}}|<i>none</i>}}</div>
 
<div class='ship-variants'>Variations : {{#if:{{{variations}}}|{{{variations|<i>none</i>}}}|<i>none</i>}}</div>
 
</td>
 
</td>

Revision as of 10:58, 7 September 2011

SHIP: INFORMATION
{{{shipname}}}
Unknown Ship
S H I P   B O N U S E S

no bonuses available for this ship

 

Variations : none