Difference between revisions of "Template:ShipInfo"

From Tradelands Wiki
Jump to navigation Jump to search
(30 intermediate revisions by 4 users not shown)
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>}}
 
<center><h2><span>Info</span></h2></center>
 
 
 
<table>
 
<table>
  
Line 20: Line 17:
 
     <th>Hull Strength</th>
 
     <th>Hull Strength</th>
 
     <td>{{{Hull Strength}}}</td>
 
     <td>{{{Hull Strength}}}</td>
</tr>}}
 
 
{{#if:{{{Speed|}}}|<tr>
 
    <th>Speed</th>
 
    <td>{{{Speed}}}</td>
 
</tr>}}
 
 
{{#if:{{{Turn Rate|}}}|<tr>
 
    <th>Turn Rate</th>
 
    <td>{{{Turn Rate}}}</td>
 
</tr>}}
 
 
{{#if:{{{Armament|}}}|<tr>
 
    <th>Armament</th>
 
    <td>{{{Armament}}}</td>
 
 
</tr>}}
 
</tr>}}
  
Line 42: Line 24:
 
</tr>}}
 
</tr>}}
  
{{#if:{{{ShipOther|}}}|<tr>
+
{{#if:{{{Speed|}}}|<tr>
     <th>Round Shot Storage</th>
+
     <th>Speed</th>
     <td>{{{ShipOther}}}</td>
+
     <td>{{{Speed}}}</td>
</tr>}}
 
 
 
{{#if:{{{CP|}}}|<tr>
 
    <th>Command Cost</th>
 
    <td>{{{CP}}}</td>
 
 
</tr>}}
 
</tr>}}
  
 
</table>
 
 
<center><h2><span>Requirements</span></h2></center>
 
 
<table>
 
  
 
{{#if:{{{Metal|}}}|<tr>
 
{{#if:{{{Metal|}}}|<tr>
Line 78: Line 49:
 
     <td>{{{Level}}}</td>
 
     <td>{{{Level}}}</td>
 
</tr>}}
 
</tr>}}
 
{{#if:{{{Other|}}}|<tr>
 
    <th>Other</th>
 
    <td>{{{Other}}}</td>
 
</tr>}}
 
 
<table>
 
 
 
{{#if:{{{Variants|}}}|<center><h2><span>Variants</span></h2></center>}}
 
 
<table style="display:{{#if:{{{Variants|}}}|table|none}}">
 
 
{{#if:{{{Hauler Variant|}}}|<tr>
 
    <th>Hauler Variant</th>
 
    <td>{{{Hauler Variant}}}</td>
 
</tr>}}
 
 
{{#if:{{{Interceptor Variant|}}}|<tr>
 
    <th>Interceptor Variant</th>
 
    <td>{{{Interceptor Variant}}}</td>
 
</tr>}}
 
 
{{#if:{{{Elite Interceptor Variant|}}}|<tr>
 
    <th>Elite Interceptor Variant</th>
 
    <td>{{{Elite Interceptor Variant}}}</td>
 
</tr>}}
 
 
{{#if:{{{Brawler Variant|}}}|<tr>
 
    <th>Brawler Variant</th>
 
    <td>{{{Brawler Variant}}}</td>
 
</tr>}}
 
 
{{#if:{{{Racer Variant|}}}|<tr>
 
    <th>Racer Variant</th>
 
    <td>{{{Racer Variant}}}</td>
 
</tr>}}
 
 
{{#if:{{{Sentinel Variant|}}}|<tr>
 
    <th>Sentinel Variant</th>
 
    <td>{{{Sentinel Variant}}}</td>
 
</tr>}}
 
 
{{#if:{{{Classic Variant|}}}|<tr>
 
    <th>Classic Variant</th>
 
    <td>{{{Classic Variant}}}</td>
 
</tr>}}
 
 
{{#if:{{{Sails Variant|}}}|<tr>
 
    <th>Sails Variant</th>
 
    <td>{{{Sails Variant}}}</td>
 
</tr>}}
 
 
{{#if:{{{Raider Variant|}}}|<tr>
 
    <th>Raider Variant</th>
 
    <td>{{{Raider Variant}}}</td>
 
</tr>}}
 
 
{{#if:{{{Bombard Variant|}}}|<tr>
 
    <th>Bombard Variant</th>
 
    <td>{{{Bombard Variant}}}</td>
 
</tr>}}
 
 
 
  
  
 
</table>
 
</table>
 
</div>
 
</div>

Revision as of 16:21, 6 November 2018

ShipInfo