Difference between revisions of "Template:CargoShipinfobox"

From Space Engineers Wiki
Jump to: navigation, search
(+updated <pre>)
(+trying to add image.)
Line 3: Line 3:
 
<p style="color:white;font-size:1em;text-shadow:0px 0px 0.40em rgba(0,0,0,1);margin:0;">Cargo Ship</p>
 
<p style="color:white;font-size:1em;text-shadow:0px 0px 0.40em rgba(0,0,0,1);margin:0;">Cargo Ship</p>
 
<p style="line-height: 1.25;color:white;font-size:2em;text-shadow:0px 0px 0.40em rgba(0,0,0,1);;margin:0; ">{{#if: {{{name|}}} | {{{name|}}} | {{{name|No Name}}} }}</p>
 
<p style="line-height: 1.25;color:white;font-size:2em;text-shadow:0px 0px 0.40em rgba(0,0,0,1);;margin:0; ">{{#if: {{{name|}}} | {{{name|}}} | {{{name|No Name}}} }}</p>
 +
{{#if: {{{image|}}} |
 +
<div style="width:100%;position:relative;height:25px;padding:2px;">
 +
<div style="float:left;color:black;font-size:1em;">{{image}}:</div>
 +
<div style="float:right;color:black;font-size:1em;">{{{class|}}}</div>
 +
</div>|}}
 
<div style="background:#659bb7;width:100%;height:3px;"></div></div>
 
<div style="background:#659bb7;width:100%;height:3px;"></div></div>
 
<div style="background:#b2d5e8;padding:0.25em;text-align:center;">
 
<div style="background:#b2d5e8;padding:0.25em;text-align:center;">

Revision as of 07:28, 11 November 2015

Cargo Ship

No Name




For cargo ship pages. Usage:

{{CargoShipinfobox
| name = name of ship
| class = class of ship (first word of name usually)
| mass = mass of ship
| speed = speed of ship
| boobytrap = is the ship booby-trapped with warheads? Yes/No
| directfireweapons = number of directly fired weapons (gatling gun, rocket launchers)
| exteriordefense = number of exterior defenses (gatling, interior, missile)
| interiordefense = number of interior defenses (gatling, interior, missile)
| shipsize = large
}}