Template:ShipInfobox: Difference between revisions

From Galaxy Attack: Alien Shooter Wiki
m (Campbell moved page Template:Infobox to Template:ShipInfobox without leaving a redirect)
No edit summary
 
(5 intermediate revisions by the same user not shown)
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" style="text-align: center; font-size: 125%;">{{{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>

Latest revision as of 12:41, 7 February 2023



ShipInfobox