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

From Elite Wiki
(New template for ship lists, including mass)
 
 
Line 1: Line 1:
 
<noinclude>
 
<noinclude>
 
{| style="background: transparent; float: left;"  
 
{| style="background: transparent; float: left;"  
|<pre>{{Infobox ShipStats Frontier| title =  
+
|<pre>{{Infobox ShipStats Oolite
|image =  
+
|title = text
|ladenmass =  
+
|image = wiki image
|hullmass =  
+
|dimensions = text, deprecated in favour of width, height, and length
|capacity =  
+
|shipmass = number
|mainaccel =
+
|width = number
|retroaccel =
+
|height = number
|gunmountings =
+
|length = number
|missiles =
+
|capacity = number
|crew =
+
|capacityext = number
|hyperrange =
+
|maxspeed = number
|standarddrive =  
+
|maneuverability = text
|fuelscoop =
+
|energybanks = number
 +
|energyrecharge = number
 +
|gunmounts = text
 +
|missileslots = number
 +
|shieldboost = boolean
 +
|milshields = boolean
 +
|hyperspace = boolean
 +
|isoxp = text, either "Standard" for ships that belong to core Oolite, or anything else for OXP ships
 +
|isplayer = boolean
 +
|baseprice = number
 
}}</pre>
 
}}</pre>
 
|}</noinclude>
 
|}</noinclude>
 
{| class="floatright" style="border: 1px solid #aaaaaa; background-color: #f9f9f9; color: black; margin-bottom: 0.5em; margin-left: 1em; padding: .2em; float: right; clear: right;" cellpadding="4"  
 
{| class="floatright" style="border: 1px solid #aaaaaa; background-color: #f9f9f9; color: black; margin-bottom: 0.5em; margin-left: 1em; padding: .2em; float: right; clear: right;" cellpadding="4"  
! colspan="2" style="font-size:110%; text-align: center; background-color: #ccccff;" | ''{{{title}}}''
+
! colspan="2" style="font-size:110%; text-align: center; background-color: #ccccff;" | ''[[ship name::{{{title|{{PAGENAME}}}}}]]''
 
|-
 
|-
| colspan="2" style="text-align: center;" | {{{image}}}
+
| colspan="2" style="text-align: center;" | {{{image|No picture available}}}
 
|-
 
|-
! style="background-color: #ccccff; white-space: nowrap;" | Maximum gross mass
+
! style="background-color: #ccccff; white-space: nowrap;" | Size (W×H×L)
| {{{ladenmass}}}
+
| {{#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;" | Empty mass
+
! style="background-color: #ccccff; white-space: nowrap;" | Ship mass
| {{{hullmass}}}
+
| [[ship mass::{{{shipmass|}}}]]
|- class="hiddenStructure{{{version|}}}"
 
! style="background-color: #ccccff; white-space: nowrap;" | Payload
 
| {{{capacity}}}
 
 
|-
 
|-
! style="background-color: #ccccff; white-space: nowrap;" | Main thruster accel
+
! style="background-color: #ccccff; white-space: nowrap;" | Cargo capacity
| {{{mainaccel}}}
+
| [[ship cargo capacity::{{{capacity|}}}]]
 
|-
 
|-
! style="background-color: #ccccff; white-space: nowrap;" | Retro thruster accel
+
! style="background-color: #ccccff; white-space: nowrap;" | Cargo bay extension
| {{{retroaccel}}}
+
| [[ship cargo extension::{{{capacityext|}}}]]
 
|-
 
|-
! style="background-color: #ccccff; white-space: nowrap;" | Gun mountings
+
! style="background-color: #ccccff; white-space: nowrap;" | Maximum speed
| {{{gunmountings}}}
+
| [[ship speed::{{{maxspeed|}}}]]
 
|-
 
|-
! style="background-color: #ccccff; white-space: nowrap;" | Missiles
+
! style="background-color: #ccccff; white-space: nowrap;" | Manoeuvrability
| {{{missiles}}}
+
| {{{maneuverability|Unknown}}}
 
|-
 
|-
! style="background-color: #ccccff; white-space: nowrap;" | Crew
+
! style="background-color: #ccccff; white-space: nowrap;" | Energy banks
| {{{crew}}}
+
| [[ship energy banks::{{{energybanks|}}}]]
 
|-
 
|-
! style="background-color: #ccccff; white-space: nowrap;" | Hyperdrive ranges
+
! style="background-color: #ccccff; white-space: nowrap;" | Energy recharge rate
| {{{hyperrange}}}
+
| {{Energy Recharge Rate|{{{energyrecharge|}}}}}
 
|-
 
|-
! style="background-color: #ccccff; white-space: nowrap;" | Standard drive
+
! style="background-color: #ccccff; white-space: nowrap;" | Gun mounts
| {{{standarddrive}}}
+
| {{{gunmounts|Unknown}}}
 
|-
 
|-
! style="background-color: #ccccff; white-space: nowrap;" | Fuel scoop
+
! style="background-color: #ccccff; white-space: nowrap;" | Missile slots
| {{{fuelscoop}}}
+
| [[ship missile slots::{{{missileslots|}}}]]
 +
|-
 +
! style="background-color: #ccccff; white-space: nowrap;" | Shield boosters available
 +
| [[ship supports shield booster::{{{shieldboost|}}}]]
 +
|-
 +
! style="background-color: #ccccff; white-space: nowrap;" | Military shields available
 +
| [[ship supports mil shields::{{{milshields|}}}]]
 +
|-
 +
! style="background-color: #ccccff; white-space: nowrap;" | Hyperspace capable
 +
| [[ship can hyperspace::{{{hyperspace|}}}]]
 +
|-
 +
! style="background-color: #ccccff; white-space: nowrap;" | [[OXP]] or standard
 +
| {{#set:ship is standard={{{isoxp|Unknown}}}}}{{{isoxp|Unknown}}}
 +
|-
 +
! style="background-color: #ccccff; white-space: nowrap;" | Available to player
 +
| [[ship is player flyable::{{{isplayer|}}}]]
 +
|-
 +
! style="background-color: #ccccff; white-space: nowrap;" | Base price
 +
| [[ship base price::{{{baseprice|}}}]]
 
|}
 
|}
[[Category:Ships]]
+
<includeonly>
 +
[[Category:Oolite {{{pagecategory|ship}}}s]]
 +
</includeonly>

Latest revision as of 10:24, 27 April 2020

{{Infobox ShipStats Oolite
|title = text
|image = wiki image
|dimensions =  text, deprecated in favour of width, height, and length
|shipmass = number
|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 = text, either "Standard" for ships that belong to core Oolite, or anything else for OXP ships
|isplayer = boolean
|baseprice = number
}}
Semantic Infobox ShipStats 02 Oolite
No picture available
Size (W×H×L) Unknown
Ship mass
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