Difference between revisions of "Template:ShipInfo"

From Tradelands Wiki
Jump to navigation Jump to search
m (Added Legacy Variant (kraken))
 
(42 intermediate revisions by 5 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>}}
<table>{{#if:{{{type|}}}|<tr>
+
 
     <th>Type/th>
+
<center><h2><span>Info</span></h2></center>
     <td>{{{type}}}</td>
+
 
</tr>}}{{#if:{{{role|}}}|<tr>
+
<table>
 +
 
 +
{{#if:{{{Type|}}}|<tr>
 +
     <th>Type</th>
 +
     <td>{{{Type}}}</td>
 +
</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:{{{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>}}
 +
 
 +
{{#if:{{{Max Cargo|}}}|<tr>
 
     <th>Max Cargo</th>
 
     <th>Max Cargo</th>
     <td>{{{maxcargo}}}</td>
+
     <td>{{{Max Cargo}}}</td>
</tr>}}{{#if:{{{speed|}}}|<tr>
+
</tr>}}
     <th>Speed</th>
+
 
     <td>{{{speed}}}</td>
+
{{#if:{{{ShipOther|}}}|<tr>
</tr>}}</table>
+
    <th>Round Shot Storage</th>
 +
    <td>{{{ShipOther}}}</td>
 +
</tr>}}
 +
 
 +
{{#if:{{{CP|}}}|<tr>
 +
    <th>Command Cost</th>
 +
    <td>{{{CP}}}</td>
 +
</tr>}}
 +
 
 +
 
 +
</table>
 +
 
 +
<center><h2><span>Requirements</span></h2></center>
 +
 
 +
<table>
 +
 
 +
{{#if:{{{Metal|}}}|<tr>
 +
    <th>Metal</th>
 +
    <td>{{{Metal}}}</td>
 +
</tr>}}
 +
 
 +
{{#if:{{{Wood|}}}|<tr>
 +
    <th>Wood</th>
 +
    <td>{{{Wood}}}</td>
 +
</tr>}}
 +
 
 +
{{#if:{{{Doubloons|}}}|<tr>
 +
     <th>Doubloons</th>
 +
     <td>{{{Doubloons}}}</td>
 +
</tr>}}
 +
 
 +
{{#if:{{{Level|}}}|<tr>
 +
    <th>Level</th>
 +
    <td>{{{Level}}}</td>
 +
</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>}}
 +
{{#if:{{{Legacy Variant|}}}|<tr>
 +
    <th>Legacy Variant</th>
 +
    <td>{{{Legacy Variant}}}</td>
 +
</tr>}}
 +
 
 +
 
 +
 
 +
 
 +
 
 +
</table>
 
</div>
 
</div>

Latest revision as of 04:15, 2 December 2024

ShipInfo

Info

Requirements