Difference between revisions of "Template:Semantic Infobox ShipStats Oolite"
From Elite Wiki
(try with set instead of square bracket property assignment) |
(actually print isoxp...) |
||
| Line 66: | Line 66: | ||
|- | |- | ||
! style="background-color: #ccccff; white-space: nowrap;" | [[OXP]] or standard | ! style="background-color: #ccccff; white-space: nowrap;" | [[OXP]] or standard | ||
| − | | {{#set:ship is standard={{{isoxp|Unknown}}}}} | + | | {{#set:ship is standard={{{isoxp|Unknown}}}}}{{{isoxp|Unknown}}} |
|- | |- | ||
! style="background-color: #ccccff; white-space: nowrap;" | Available to player | ! style="background-color: #ccccff; white-space: nowrap;" | Available to player | ||
Latest revision as of 21:13, 1 July 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 = text, either "Standard" for ships that belong to core Oolite, or anything else for OXP ships
|isplayer = boolean
|baseprice = number
}}
|
| ship name::Semantic Infobox ShipStats Oolite | |
|---|---|
| No picture available | |
| Size (W×H×L) | {{#if: | {{#if: | [[ship width::{{{width}}}|{{{width}}}]]×[[ship height::{{{height}}}]]×[[ship length::{{{length}}}]] | Unknown }} | Unknown }} | 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 |
{{#ifeq:|{{#expr:}}|{{#if: | {{#ifexpr: < 2.5 |Poor | {{#ifexpr: < 3.5 |Medium | {{#ifexpr: < 4.5 |Good |Excellent }} }} }} (ship energy recharge::)| }}|}} |
| 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 | {{#set:ship is standard=Unknown}}Unknown |
| Available to player | ship is player flyable:: |
| Base price | ship base price:: |