Template:ShipInfobox: Difference between revisions

From Galaxy Attack: Alien Shooter Wiki
No edit summary
No edit summary
Line 1: Line 1:
<div class="infobox">
<table class="infobox" style="width:25.5em;border-spacing:2px;">
<div class="infobox-title">{{{title|{{PAGENAME}}}}}</div>{{#if:{{{image|}}}|
<tr><th colspan="2">{{{title|{{PAGENAME}}}}}</th></tr>
<div class="infobox-image">[[File:{{{image}}}|300px]]</div>}}
{{#if:{{{image|}}}<tr><td colspan="2" style="text-align: center;">[[File:{{{image}}}|300px]]</td</tr>}}
<table>{{#if:{{{shipnum|}}}|<tr>
{{#if:{{{shipnum|}}}|<tr><th>Ship Number: </th><td>{{{shipnum}}}</td></tr>}}
    <th>Ship Number: </th>
{{#if:{{{rating|}}}|<tr><th>Rating: </th><td>{{{rating}}}</td></tr>}}
    <td>{{{shipnum}}}</td>
{{#if:{{{features|}}}|<tr><th>Features: </th><td>{{{features}}}</td></tr>}}
</tr>}}{{#if:{{{rating|}}}|<tr>
{{#if:{{{cost|}}}|<tr><th>Cost: </th><td>{{{cost}}}</td></tr>}}
    <th>Rating: </th>
</table>
    <td>{{{rating}}}</td>
</tr>}}{{#if:{{{features|}}}|<tr>
    <th>Features: </th>
    <td>{{{features}}}</td>
</tr>}}{{#if:{{{cost|}}}|<tr>
    <th>Cost: </th>
    <td>{{{cost}}}</td>
</tr>}}{{#if:{{{param5|}}}|<tr>
    <th>Parameter 5</th>
    <td>{{{param5}}}</td>
</tr>}}</table>
</div>

Revision as of 12:34, 7 February 2023



ShipInfobox