Difference between revisions of "Template:ShipInfo"

From Tradelands Wiki
Jump to navigation Jump to search
(Created page with "{{ ShipInfo | abovestyle = | above = | image = | caption = | headerstyle = | header1 = | label1 = | data1 = | header2 = | label2 = | d...")
 
 
(44 intermediate revisions by 4 users not shown)
Line 1: Line 1:
{{ ShipInfo
+
<div class="infobox">
| abovestyle  =
+
<div class="infobox-title">{{{title|{{PAGENAME}}}}}</div>{{#if:{{{image|}}}|
| above      =
+
<div class="infobox-image">[[File:{{{image}}}|150px]]</div>}}
| image      =
+
 
| caption     =
+
<center><h2><span>Info</span></h2></center>
| headerstyle =
+
 
| header1     =
+
<table>
| label1      =
+
 
| data1      =
+
{{#if:{{{Type|}}}|<tr>
| header2     =
+
    <th>Type</th>
| label2      =
+
    <td>{{{Type}}}</td>
| data2      =
+
</tr>}}
| header3     =
+
 
| label3      =
+
{{#if:{{{Role|}}}|<tr>
| data3      =
+
    <th>Role</th>
| header4     =
+
    <td>{{{Role}}}</td>
| label4      =
+
</tr>}}
| data4      =
+
 
| header5     =
+
{{#if:{{{Hull Strength|}}}|<tr>
| label5      =
+
     <th>Hull Strength</th>
| data5      =
+
    <td>{{{Hull Strength}}}</td>
| header6     =
+
</tr>}}
| label6      =
+
 
| data6      =
+
{{#if:{{{Speed|}}}|<tr>
| header7     =
+
    <th>Speed</th>
| label7      =
+
    <td>{{{Speed}}}</td>
| data7      =
+
</tr>}}
| header8     =
+
 
| label8      =
+
{{#if:{{{Turn Rate|}}}|<tr>
| data8      =
+
     <th>Turn Rate</th>
| header9     =
+
    <td>{{{Turn Rate}}}</td>
| label9      =
+
</tr>}}
| data9      =
+
 
| header10    =
+
{{#if:{{{Armament|}}}|<tr>
| label10     =
+
    <th>Armament</th>
| data10      =
+
    <td>{{{Armament}}}</td>
}}
+
</tr>}}
 +
 
 +
{{#if:{{{Max Cargo|}}}|<tr>
 +
    <th>Max Cargo</th>
 +
    <td>{{{Max Cargo}}}</td>
 +
</tr>}}
 +
 
 +
{{#if:{{{ShipOther|}}}|<tr>
 +
     <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>}}
 +
 
 +
 
 +
 
 +
 
 +
</table>
 +
</div>

Latest revision as of 18:34, 10 May 2024

ShipInfo

Info

Requirements