Difference between revisions of "Template:ShipBoxLarge"

From EVE University Wiki
Jump to: navigation, search
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> {{{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>
+
<div class='title'><span style='font-size:16px'>&equiv;</span> {{#if:{{{class}}}|{{{class}}}|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>
 
<td style='padding: 5px; width: 256px;' valign='top'>
 
<td style='padding: 5px; width: 256px;' valign='top'>
<div style='border:1px solid #323931;' class='ship-img'>[[Image:{{{shipimg}}}|center|256x256px|{{{shipname}}}]]</div>
+
<div style='border:1px solid #323931;' class='ship-img'>{{#ifexist: File:{{{shipimg}}}|[[Image:{{{shipimg}}}|center|256x256px|{{#if:{{{shipname}}}|{{{shipname}}}|Unknown Ship}}]]|[[Image:no-image.png|center|256x256px|{{#if:{{{shipname}}}|{{{shipname}}}|Unknown Ship}}]]}}</div>
 
<div class='forum-link'>
 
<div class='forum-link'>
 
<div class='linkentry'>
 
<div class='linkentry'>
Line 236: Line 236:
 
</td>
 
</td>
 
<td style='padding: 5px 5px 5px 0pt; border-left: 1px solid #333333' valign='top'>
 
<td style='padding: 5px 5px 5px 0pt; border-left: 1px solid #333333' valign='top'>
<div style='position: absolute;'><div style='color: #F1EFCA; float: left; font-size: 180%; height: 30px; line-height: 30px; padding-left: 5px;'>{{{shipname}}}</div></div>
+
<div style='position: absolute;'><div style='color: #F1EFCA; float: left; font-size: 180%; height: 30px; line-height: 30px; padding-left: 5px;'>{{#if:{{{shipname}}}|{{{shipname}}}|Unknown Ship}}</div></div>
 
<table class='collapsible collapsed attributes' style='width: 100%; margin-bottom: 5px;'>
 
<table class='collapsible collapsed attributes' style='width: 100%; margin-bottom: 5px;'>
 
<tr>
 
<tr>

Revision as of 10:26, 7 September 2011

{{{class}}}: INFORMATION
{{{roles}}}
{{{shipname}}}
{{{shipname}}}
S H I P   B O N U S E S

no bonuses available for this ship

{{{info}}}

Variations : none