Difference between revisions of "Template:CargoShipinfobox"

From Space Engineers Wiki
Jump to: navigation, search
Line 4: Line 4:
 
<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|}}} |
 
{{#if: {{{image|}}} |
<div style="width:100%;position:relative;height:25px;padding:2px;">
+
<div style="width:100%;position:relative;height:300px;padding:2px;">
 
<div style="color:black;font-size:1em;height:auto">[[File:{{{image}}}|frameless|300px]]</div>
 
<div style="color:black;font-size:1em;height:auto">[[File:{{{image}}}|frameless|300px]]</div>
 
</div>|}}
 
</div>|}}

Revision as of 09:15, 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
}}