Difference between revisions of "Template:Semantic Infobox ShipStats Oolite"

From Elite Wiki
m
m (Display "Unknown" if not width/height/length and no dimension given)
Line 30: Line 30:
 
|-
 
|-
 
! style="background-color: #ccccff; white-space: nowrap;" | Size (W×H×L)
 
! style="background-color: #ccccff; white-space: nowrap;" | Size (W×H×L)
| {{#if: {{{width}}} | {{#if: {{{height}}} | {{#if: {{{length}}} | [[ship width::{{{width}}}|{{{width}}}]]×[[ship height::{{{height}}}]]×[[ship length::{{{length}}}]] | {{{dimensions|Unknown}}} }} | {{{dimensions|Unknown}}} }} | {{{dimensions|Unknown}}} }}
+
| {{#if: {{{width|}}} | {{#if: {{{height|}}} | {{#if: {{{length|}}} | [[ship width::{{{width}}}|{{{width}}}]]×[[ship height::{{{height}}}]]×[[ship length::{{{length}}}]] | {{{dimensions|Unknown}}} }} | {{{dimensions|Unknown}}} }} | {{{dimensions|Unknown}}} }}
 
|-
 
|-
 
! style="background-color: #ccccff; white-space: nowrap;" | Cargo capacity
 
! style="background-color: #ccccff; white-space: nowrap;" | Cargo capacity

Revision as of 10:06, 29 June 2012

{{Infobox ShipStats Oolite
|title = text
|image = wiki image
|dimensions =  text, deprecated in favour of width, height, and length
|width = number
|height = number
|length = number
|capacity = number
|capacityext = number
|maxspeed = number
|maneuverability = text
|energybanks = number
|energyrecharge = number
|gunmounts = text
|missileslots = number
|shieldboost = boolean
|milshields = boolean
|hyperspace = boolean
|isoxp = boolean
|isplayer = boolean
|baseprice = number
}}
Semantic Infobox ShipStats Oolite
No picture available
Size (W×H×L) Unknown
Cargo capacity
Cargo bay extension
Maximum speed
Manoeuvrability Unknown
Energy banks
Energy recharge rate
Gun mounts Unknown
Missile slots
Shield boosters available
Military shields available
Hyperspace capable
OXP or standard Unknown
Available to player
Base price