Difference between revisions of "Template:Shipbox"

From Whatis
Jump to: navigation, search
m (Grammar.)
 
 
Line 1: Line 1:
 
<table border="0" cellspacing="0" cellpadding="4" style="float:right; margin:0 0 .5em 1em; width:250px; background:#401b05; border-collapse:collapse; border:1px solid #000000;color:#000;  font-size:smaller; line-height:1.5; ">
 
<table border="0" cellspacing="0" cellpadding="4" style="float:right; margin:0 0 .5em 1em; width:250px; background:#401b05; border-collapse:collapse; border:1px solid #000000;color:#000;  font-size:smaller; line-height:1.5; ">
 +
 
<tr style="text-align:center; background:#f0f0f0;">
 
<tr style="text-align:center; background:#f0f0f0;">
 
<td colspan="2" style="padding:0; background:#6596BF; color:#000;">{{{image|}}}</td>
 
<td colspan="2" style="padding:0; background:#6596BF; color:#000;">{{{image|}}}</td>
</tr><tr style="color:#000; background:#ff6b12; font-size:larger;">
+
</tr>
 +
 
 +
<tr style="color:#000; background:#ff6b12; font-size:larger;">
 
<th colspan="2">{{{name}}}</th>
 
<th colspan="2">{{{name}}}</th>
</tr> {{t|1=|1{{{hidea|}}}=<tr><th colspan="2" style="text-align:left; font-weight:normal; background:#94C7D1;">'''Ship specification'''</th></tr>}} {{t|1=<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background: {{{3|#f0f0f0}}}"><td style="border-top: 1px solid #999; border-bottom: 1px solid #999;">'''Class'''</td><td class="infoboxcell" style="border-top: 1px solid #999; border-bottom: 1px solid #999;">
+
</tr>  
 +
 
 +
{{t|1={{{hidea|}}}<tr><th colspan="2" style="text-align:left; font-weight:normal; background:#94C7D1;">'''Ship specification'''</th></tr>}}  
 +
 
 +
<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background:#f0f0f0;"><td style="border-top: 1px solid #999; border-bottom: 1px solid #999;">'''Class'''</td>
 +
 
 +
<td class="infoboxcell" style="border-top: 1px solid #999; border-bottom: 1px solid #999;">
 
{{{class|}}}
 
{{{class|}}}
</td></tr>|1{{{class|}}}=}} {{t|1=<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background: {{{3|#f0f0f0}}}"><td style="border-top: 1px solid #999; border-bottom: 1px solid #999;">'''Designation'''</td><td class="infoboxcell" style="border-top: 1px solid #999; border-bottom: 1px solid #999;">
+
</td>
 +
 
 +
</tr>
 +
 
 +
<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background:#f0f0f0;"><td style="border-top: 1px solid #999; border-bottom: 1px solid #999;">'''Designation'''</td>
 +
 
 +
<td class="infoboxcell" style="border-top: 1px solid #999; border-bottom: 1px solid #999;">
 
{{{designation|}}}
 
{{{designation|}}}
</td></tr>|1{{{designation|}}}=}} {{t|1=<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background: {{{3|#f0f0f0}}}"><td style="border-top: 1px solid #999; border-bottom: 1px solid #999;">'''Origin'''</td><td class="infoboxcell" style="border-top: 1px solid #999; border-bottom: 1px solid #999;">
+
</td></tr>
 +
 
 +
<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background: #f0f0f0;"><td style="border-top: 1px solid #999; border-bottom: 1px solid #999;">'''Origin'''</td>
 +
 
 +
<td class="infoboxcell" style="border-top: 1px solid #999; border-bottom: 1px solid #999;">
 
{{{origin|}}}
 
{{{origin|}}}
</td></tr>|1{{{origin|}}}=}} {{t|1=<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background: {{{3|#f0f0f0}}}"><td style="border-top: 1px solid #999; border-bottom: 1px solid #999;">'''Commander'''</td><td class="infoboxcell" style="border-top: 1px solid #999; border-bottom: 1px solid #999;">
+
</td></tr>
 +
 
 +
<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background: #f0f0f0;"><td style="border-top: 1px solid #999; border-bottom: 1px solid #999;">'''Commander'''</td>
 +
 
 +
<td class="infoboxcell" style="border-top: 1px solid #999; border-bottom: 1px solid #999;">
 
{{{commander|}}}
 
{{{commander|}}}
</td></tr>|1{{{commander|}}}=}} {{t|1=<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background: {{{3|#f0f0f0}}}"><td style="border-top: 1px solid #999; border-bottom: 1px solid #999;">'''Affiliation'''</td><td class="infoboxcell" style="border-top: 1px solid #999; border-bottom: 1px solid #999;">
+
</td></tr>
 +
 
 +
 
 +
<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background: #f0f0f0"><td style="border-top: 1px solid #999; border-bottom: 1px solid #999;">'''Affiliation'''</td>
 +
 
 +
<td class="infoboxcell" style="border-top: 1px solid #999; border-bottom: 1px solid #999;">
 
{{{affiliation|}}}
 
{{{affiliation|}}}
</td></tr>|1{{{affiliation|}}}=}} {{t|1=<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background: {{{3|#f0f0f0}}}"><td style="border-top: 1px solid #999; border-bottom: 1px solid #999;">'''Alias'''</td><td class="infoboxcell" style="border-top: 1px solid #999; border-bottom: 1px solid #999;">
+
</td></tr>
 +
 
 +
<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background: #f0f0f0;"><td style="border-top: 1px solid #999; border-bottom: 1px solid #999;">'''Alias'''</td>
 +
 
 +
<td class="infoboxcell" style="border-top: 1px solid #999; border-bottom: 1px solid #999;">
 
{{{alias|}}}
 
{{{alias|}}}
</td></tr>|1{{{alias|}}}=}} {{t|1=<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background: {{{3|#f0f0f0}}}"><td style="border-top: 1px solid #999; border-bottom: 1px solid #999;">'''Warp Capabilities'''</td><td class="infoboxcell" style="border-top: 1px solid #999; border-bottom: 1px solid #999;">
+
</td></tr>
 +
 
 +
<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background: #f0f0f0;"><td style="border-top: 1px solid #999; border-bottom: 1px solid #999;">'''Warp Capabilities'''</td>
 +
 
 +
<td class="infoboxcell" style="border-top: 1px solid #999; border-bottom: 1px solid #999;">
 
{{{warp|}}}
 
{{{warp|}}}
</td></tr>|1{{{warp|}}}=}} {{t|1=<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background: {{{3|#f0f0f0}}}"><td style="border-top: 1px solid #999; border-bottom: 1px solid #999;">'''Status'''</td><td class="infoboxcell" style="border-top: 1px solid #999; border-bottom: 1px solid #999;">
+
</td></tr>
{{{status|}}}
+
 
</td></tr>|1{{{status|}}}=}} {{t|1=<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background: {{{3|#f0f0f0}}}"><td style="border-top: 1px solid #999; border-bottom: 1px solid #999;">'''Weapons'''</td><td class="infoboxcell" style="border-top: 1px solid #999; border-bottom: 1px solid #999;">
+
<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background: #f0f0f0;"><td style="border-top: 1px solid #999; border-bottom: 1px solid #999;">'''Status'''</td><td class="infoboxcell" style="border-top: 1px solid #999; border-bottom: 1px solid #999;">
 +
{{{status|}}}</td></tr>
 +
 
 +
<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background: #f0f0f0;"><td style="border-top: 1px solid #999; border-bottom: 1px solid #999;">'''Weapons'''</td>
 +
 
 +
<td class="infoboxcell" style="border-top: 1px solid #999; border-bottom: 1px solid #999;">
 
{{{weapons|}}}
 
{{{weapons|}}}
</td></tr>|1{{{weapons|}}}=}} {{t|1=<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background: {{{3|#f0f0f0}}}"><td style="border-top: 1px solid #999; border-bottom: 1px solid #999;">'''Previous Campaigns'''</td><td class="infoboxcell" style="border-top: 1px solid #999; border-bottom: 1px solid #999;">
+
</td></tr>
 +
 
 +
<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background: 3|#f0f0f0;"><td style="border-top: 1px solid #999; border-bottom: 1px solid #999;">'''Previous Campaigns'''</td>
 +
 
 +
<td class="infoboxcell" style="border-top: 1px solid #999; border-bottom: 1px solid #999;">
 
{{{campaigns|}}}
 
{{{campaigns|}}}
</td></tr>|1{{{campaigns|}}}=}}
+
</td></tr>
 +
 
 
</table><noinclude>
 
</table><noinclude>
  

Latest revision as of 10:15, 11 August 2019

{{{name}}}
Ship specification
Class
Designation
Origin
Commander
Affiliation
Alias
Warp Capabilities
Status
Weapons
Previous Campaigns

Usage

Note: This is set up where if you don't want to fill in an entry that's below, it will not show up on your page. Thus if you don't want to put down a weapon or something then don't.

{{Shipbox
|name=
|image=
|class=
|designation=
|origin=
|commander=
|affiliation=
|alias=
|warp=
|status=
|weapons=
|campaigns=
|}}