Difference between revisions of "Template:CargoShipinfobox"
From Space Engineers Wiki
(+trying to fix odd spacing issue.) |
(+hopefully this does it) |
||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
− | + | {{#if: 1| | |
{{#if: {{{image|}}}|{{#set:image={{{image|}}}}}|}} | {{#if: {{{image|}}}|{{#set:image={{{image|}}}}}|}} | ||
− | {{#if: {{{mass|}}}|{{#set:mass={{{mass|}}} }}|}} | + | {{#if: {{{mass|}}}|{{#set:mass={{{mass|}}}}}|}} |
{{#if: {{{speed|}}}|{{#set:speed={{{speed|}}}}}|}} | {{#if: {{{speed|}}}|{{#set:speed={{{speed|}}}}}|}} | ||
{{#if: {{{boobytrap|}}}|{{#set:boobytrap={{{boobytrap|}}}}}|}} | {{#if: {{{boobytrap|}}}|{{#set:boobytrap={{{boobytrap|}}}}}|}} | ||
Line 10: | Line 10: | ||
{{#if: {{{interiordefense|}}}|{{#set:interiordefense={{{interiordefense|}}} }}|}} | {{#if: {{{interiordefense|}}}|{{#set:interiordefense={{{interiordefense|}}} }}|}} | ||
--> | --> | ||
− | + | |}} | |
<div style="width:350px;float:right;border: solid 1px black;"> | <div style="width:350px;float:right;border: solid 1px black;"> | ||
<div style="background:#486d82;padding:0.25em;text-align:center;"> | <div style="background:#486d82;padding:0.25em;text-align:center;"> |
Latest revision as of 17:54, 30 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) }}