Difference between revisions of "Template:ShipInfo"

From Tradelands Wiki
Jump to navigation Jump to search
Line 2: Line 2:
 
<div class="infobox-title">{{{title|{{PAGENAME}}}}}</div>{{#if:{{{image|}}}|
 
<div class="infobox-title">{{{title|{{PAGENAME}}}}}</div>{{#if:{{{image|}}}|
 
<div class="infobox-image">[[File:{{{image}}}|150px]]</div>}}
 
<div class="infobox-image">[[File:{{{image}}}|150px]]</div>}}
<table>{{#if:{{{type|}}}|<tr>
+
<table>{{#if:{{{Type|}}}|<tr>
 
     <th>Type/th>
 
     <th>Type/th>
     <td>{{{type}}}</td>
+
     <td>{{{Type}}}</td>
</tr>}}{{#if:{{{role|}}}|<tr>
+
</tr>}}{{#if:{{{Role|}}}|<tr>
 
     <th>Role</th>
 
     <th>Role</th>
     <td>{{{role}}}</td>
+
     <td>{{{Role}}}</td>
</tr>}}{{#if:{{{hullstrength|}}}|<tr>
+
</tr>}}{{#if:{{{Hull Strength|}}}|<tr>
 
     <th>Hull Strength</th>
 
     <th>Hull Strength</th>
     <td>{{{hullstrength}}}</td>
+
     <td>{{{Hull Strength}}}</td>
</tr>}}{{#if:{{{maxcargo|}}}|<tr>
+
</tr>}}{{#if:{{{Max Cargo|}}}|<tr>
 
     <th>Max Cargo</th>
 
     <th>Max Cargo</th>
     <td>{{{maxcargo}}}</td>
+
     <td>{{{Max Cargo}}}</td>
</tr>}}{{#if:{{{speed|}}}|<tr>
+
</tr>}}{{#if:{{{Speed|}}}|<tr>
 
     <th>Speed</th>
 
     <th>Speed</th>
     <td>{{{speed}}}</td>
+
     <td>{{{Speed}}}</td>
 
</tr>}}</table>
 
</tr>}}</table>
 
</div>
 
</div>

Revision as of 16:00, 6 November 2018

ShipInfo