Difference between revisions of "Template:CargoShipinfobox"

From Space Engineers Wiki
Jump to: navigation, search
(+adding set properties.)
m (a few properties are broken, disabling them for now.)
Line 3: Line 3:
 
{{#if: {{{speed|}}}|{{#set:speed={{{speed|}}} }}|}}
 
{{#if: {{{speed|}}}|{{#set:speed={{{speed|}}} }}|}}
 
{{#if: {{{boobytrap|}}}|{{#set:boobytrap={{{boobytrap|}}} }}|}}
 
{{#if: {{{boobytrap|}}}|{{#set:boobytrap={{{boobytrap|}}} }}|}}
 +
{{#if: {{{shipsize|}}}|{{#set:shipsize={{{shipsize|}}} }}|}}
 +
 +
<!--
 
{{#if: {{{directfireweapons|}}}|{{#set:directfireweapons={{{directfireweapons|}}} }}|}}
 
{{#if: {{{directfireweapons|}}}|{{#set:directfireweapons={{{directfireweapons|}}} }}|}}
 
{{#if: {{{exteriordefense|}}}|{{#set:exteriordefense={{{exteriordefense|}}} }}|}}
 
{{#if: {{{exteriordefense|}}}|{{#set:exteriordefense={{{exteriordefense|}}} }}|}}
 
{{#if: {{{interiordefense|}}}|{{#set:interiordefense={{{interiordefense|}}} }}|}}
 
{{#if: {{{interiordefense|}}}|{{#set:interiordefense={{{interiordefense|}}} }}|}}
{{#if: {{{shipsize|}}}|{{#set:shipsize={{{shipsize|}}} }}|}}
+
-->
  
 
<div style="width:350px;float:right;border: solid 1px black;">
 
<div style="width:350px;float:right;border: solid 1px black;">

Revision as of 09:45, 29 November 2015




Cargo Ship

No Name




For cargo ship pages. Usage:

{{CargoShipinfobox
| name = name of ship
| image = image of ship (file name without 'File:')
| class = class of ship (first word of name usually)
| mass = mass of ship
| speed = speed of ship (usually cargo ships spawn at a set speed)
| 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 = block size of the ship (large or small)
}}