Template:ShipInfobox: Difference between revisions
Appearance
Converted to Lua's InfoBoxBuilder |
m Fixed some elements being hidden |
||
| Line 9: | Line 9: | ||
| 2:Value = {{#if:{{{image|}}}|[[File:{{{image}}}|292px]]|[[File:Placeholder.png|292px]]}} | | 2:Value = {{#if:{{{image|}}}|[[File:{{{image}}}|292px]]|[[File:Placeholder.png|292px]]}} | ||
| 3:Type = Header | | 3:Type = Header | ||
| 3:Value = Requires {{{factionreq|}}} rank of {{{factionrank|}}} or higher | | 3:Value = {{#if:{{{factionreq|}}}|Requires {{{factionreq|}}} rank of {{{factionrank|}}} or higher|}} | ||
}} | |||
| 4:Type = Line | | 4:Type = Line | ||
| Line 52: | Line 50: | ||
| 12:Value = {{#if:{{{hullmass|}}}|{{{hullmass|?}}} T|---}} | | 12:Value = {{#if:{{{hullmass|}}}|{{{hullmass|?}}} T|---}} | ||
| 13:Type = Line | | 13:Type = Line | ||
| 13:Label = Cargo Capacity | | 13:Label = Cargo Capacity | ||
| 13:Value = {{#if:{{{cargocapacity|}}}|{{{cargocapacity|?}}} T|---}} | | 13:Value = {{#if:{{{cargocapacity|}}}|{{{cargocapacity|?}}} T|---}} | ||
| 14:Type = Line | | 14:Type = Line | ||
| 14:Label = Fuel Capacity | | 14:Label = Fuel Capacity | ||
| 14:Value = {{#if:{{{fuelcapacity|}}}|{{{fuelcapacity|?}}} T|---}} | | 14:Value = {{#if:{{{fuelcapacity|}}}|{{{fuelcapacity|?}}} T|---}} | ||
| 15:Type = Line | | 15:Type = Line | ||
| 15:Label = Unladen Jump Range | | 15:Label = Unladen Jump Range | ||
| 15:Value = {{{jumprange|}}} LY | | 15:Value = {{#if:{{{jumprange|}}}|{{{jumprange|x}}} LY|---}} | ||
}} | |||
| 16:Type = Line | | 16:Type = Line | ||
Revision as of 17:10, 14 May 2015
{{#infoboxbuilder: | 0:Theme = eInfobox
| 1:Type = Title
| 1:Value = ShipInfobox
| 2:Type = MainImage
| 2:Value = File:Placeholder.png
| 3:Type = Header
| 3:Value =
| 4:Type = Line
| 4:Label = Manufacturer | 4:Value = ---
| 5:Type = Line
| 5:Label = Cost | 5:Value = ---
| 7:Type = Line
| 7:Label = Top Speed | 7:Value = ---
| 8:Type = Line
| 8:Label = Boost Speed | 8:Value = ---
| 9:Type = Line
| 9:Label = Manoeuvrability | 9:Value = ---
| 10:Type = Line
| 10:Label = Shields | 10:Value = ---
| 11:Type = Line
| 11:Label = Armour | 11:Value = ---
| 12:Type = Line
| 12:Label = Hull Mass | 12:Value = ---
| 13:Type = Line
| 13:Label = Cargo Capacity | 13:Value = ---
| 14:Type = Line
| 14:Label = Fuel Capacity | 14:Value = ---
| 15:Type = Line
| 15:Label = Unladen Jump Range | 15:Value = ---
| 16:Type = Line
| 16:Label = Landing Pad Size | 16:Value = ---
| 17:Type = Line
| 17:Label = Hardpoints | 17:Value =
| 18:Type = Line
| 18:Label = Internals | 18:Value =
| 19:Type = Footer
| 19:Value = *Information represents the default version of the ship.
}}
{{ShipInfobox
| image =
| manufacturer =
| cost =
| topspeed =
| boostspeed =
| manoeuvrability =
| shields =
| armour =
| hullmass =
| cargocapacity =
| fuelcapacity =
| jumprange =
| landingpad =
| utility =
| small =
| medium =
| large =
| huge =
| size1 =
| size2 =
| size3 =
| size4 =
| size5 =
| size6 =
| size7 =
| size8 =
}}
Add the following text for faction requirements:
| factionreq = | factionrank =
Add the following text for reserved Internal Compartments. Please follow the format used by the other Internal Compartments (as shown below):
| reservedic =
- Format
- #x Size ? Module
- Example
- 1x Size 6 Cargo Rack