Difference between revisions of "Template:ShipInfo"

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

Revision as of 16:13, 6 November 2018

ShipInfo