Difference between revisions of "User:Dusty/Sandbox/Templates/Template:dstShip"
< User:Dusty | Sandbox
Jump to navigation
Jump to search
Line 1: | Line 1: | ||
<includeonly>{| style="width:450px;background:rgba(255,255,255,.1);border:1px solid #4b4b4b;float:right;margin-left:20px;" | <includeonly>{| style="width:450px;background:rgba(255,255,255,.1);border:1px solid #4b4b4b;float:right;margin-left:20px;" | ||
| [[File:{{{image}}}|frameless|center]] | | [[File:{{{image}}}|frameless|center]] | ||
{{#if:{{{manufacturer|}}} | {{#if:{{{manufacturer|}}} | ||
|<tr> | |<tr style="width:45%;padding:10px;display:inline-flex;flex-direction:column;text-align:left;"> | ||
<th>Manufacturer</th> | <th style="text-align:center;">Manufacturer</th> | ||
<td>{{{manufacturer}}}</td> | <td>{{{manufacturer}}}</td> | ||
</tr> | </tr> | ||
}} | }} | ||
{{#if:{{{role|}}} | {{#if:{{{role|}}} | ||
<tr style="width:45%;padding:10px;display:inline-flex;flex-direction:column;text-align:left;"> | |<tr style="width:45%;padding:10px;display:inline-flex;flex-direction:column;text-align:left;"> | ||
<th>Role</th> | <th style="text-align:center;">Role</th> | ||
<td>{{{role}}}</td> | <td>{{{role}}}</td> | ||
</tr> | </tr> | ||
}} | }} | ||
{{#if:{{{size|}}} | |||
| | |<tr style="width:45%;padding:10px;display:inline-flex;flex-direction:column;text-align:left;"> | ||
<th style="text-align:center;">Size</th> | |||
<td>{{{size}}}</td> | |||
| | </tr> | ||
}} | |||
{{#if:{{{crew|}}} | |||
| | |<tr style="width:45%;padding:10px;display:inline-flex;flex-direction:column;text-align:left;"> | ||
<th style="text-align:center;">Crew</th> | |||
| {{{ | <td>{{{crew}}}</td> | ||
</tr> | |||
}} | |||
{{#if:{{{cargo|}}} | |||
|<tr style="width:45%;padding:10px;display:inline-flex;flex-direction:column;text-align:left;"> | |||
<th style="text-align:center;">Cargo Capacity</th> | |||
<td>{{{cargo}}}</td> | |||
</tr> | |||
}} | |||
{{#if:{{{readiness|}}} | |||
|<tr style="width:45%;padding:10px;display:inline-flex;flex-direction:column;text-align:left;"> | |||
<th style="text-align:center;">Production State</th> | |||
<td>{{{readiness}}}</td> | |||
</tr> | |||
}} | |||
|- | |||
|<hr> | |||
{{#if:{{{cost|}}} | |||
|<tr style="width:45%;padding:10px;display:inline-flex;flex-direction:column;text-align:left;"> | |||
<th style="text-align:center;">Cost</th> | |||
<td>{{{cost}}}</td> | |||
</tr> | |||
}} | |||
|} | |} | ||
</includeonly> | </includeonly> | ||
<noinclude> | <noinclude> | ||
<table style="width:450px;background:rgba(255,255,255,.1);border:1px solid #4b4b4b;float:right;margin-left:20px;"> | <table style="width:450px;background:rgba(255,255,255,.1);border:1px solid #4b4b4b;float:right;margin-left:20px;"> | ||
<tr> | <tr> | ||
Line 68: | Line 80: | ||
<td>Flight ready</td> | <td>Flight ready</td> | ||
</tr> | </tr> | ||
<tr | <tr> | ||
<td>< | <td><hr></td> | ||
</td> | |||
</tr> | </tr> | ||
<tr style="width:45%;padding:10px;display:inline-flex;flex-direction:column;text-align:left;"> | <tr style="width:45%;padding:10px;display:inline-flex;flex-direction:column;text-align:left;"> | ||
Line 76: | Line 87: | ||
<td>11.2 Million Credits</td> | <td>11.2 Million Credits</td> | ||
</tr> | </tr> | ||
</table> | </table> | ||
</noinclude> | </noinclude> |