Difference between revisions of "Template:ShipInfo"
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:{{{Hull Strength|}}}|<tr> | + | </tr>}} |
+ | {{#if:{{{Hull Strength|}}}|<tr> | ||
<th>Hull Strength</th> | <th>Hull Strength</th> | ||
<td>{{{Hull Strength}}}</td> | <td>{{{Hull Strength}}}</td> | ||
− | </tr>}}{{#if:{{{Max Cargo|}}}|<tr> | + | </tr>}} |
+ | {{#if:{{{Max Cargo|}}}|<tr> | ||
<th>Max Cargo</th> | <th>Max Cargo</th> | ||
<td>{{{Max Cargo}}}</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:12, 6 November 2018
ShipInfo