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 11: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
}}
ship name::Semantic Infobox ShipStats Oolite
No picture available
Size (W×H×L) Unknown
Cargo capacity ship cargo capacity::
Cargo bay extension ship cargo extension::
Maximum speed ship speed::
Manoeuvrability Unknown
Energy banks ship energy banks::
Energy recharge rate
Gun mounts Unknown
Missile slots ship missile slots::
Shield boosters available ship supports shield booster::
Military shields available ship supports mil shields::
Hyperspace capable ship can hyperspace::
OXP or standard Unknown
Available to player ship is player flyable::
Base price ship base price::