Difference between revisions of "Template:CargoShipinfobox"

From Space Engineers Wiki
Jump to: navigation, search
(+updated hopefully as improvement)
Line 5: Line 5:
 
{{#if: {{{image|}}} |
 
{{#if: {{{image|}}} |
 
<div style="width:100%;position:relative;height:250px;padding:2px;">
 
<div style="width:100%;position:relative;height:250px;padding:2px;">
<div style="color:black;font-size:1em;">{{{image}}}</div>
+
<div style="color:black;font-size:1em;">[[File:{{{image}}}|frameless|300px</div>
 
</div>|}}
 
</div>|}}
 
<div style="background:#659bb7;width:100%;height:3px;"></div></div>
 
<div style="background:#659bb7;width:100%;height:3px;"></div></div>

Revision as of 08:38, 11 November 2015

Cargo Ship

No Name

{{#if: |

[[File:{{{image}}}|frameless|300px
|}}




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
}}