|
|
| Line 1: |
Line 1: |
| <onlyinclude> | | <onlyinclude> |
| {{#infoboxbuilder: | | {{#infoboxbuilder: |
| | 0:Theme = eInfobox | | | 0:Theme = eInfobox | 0:CustomModule = Module:ShipInfobox |
| | | | 1:Type = Title | 1:Label = NULL | 1:Value = {{PAGENAME}} |
| | 1:Type = Title | | | 2:Type = MainImage | 2:Label = NULL| 2:Value = [[File:{{{image|Placeholder.png}}}|306px]] |
| | 1:Value = {{PAGENAME}}
| | | 3:Type = Header | 3:Label = NULL | 3:ValueMethod = Factionreq |
| | | | 3:Requirement = {{{factionreq|}}} | 3:Rank = {{{factionrank|}}} | 3:Value = NULL |
| | 2:Type = MainImage | | | 4:Type = Line | 4:Label = Manufacturer |
| | 2:Value = {{#if:{{{image|}}}|[[File:{{{image}}}|306px]]|[[File:Placeholder.png|306px]]}}
| | | 4:Value = {{#if:{{{manufacturer|}}}|[[{{{manufacturer|}}}]]|---}} |
| | | | 5:Type = Line | 5:Label = Cost |
| | 3:Type = Header | | | 5:ValueMethod = FormatCost | 5:Unit = CR | 5:Value = {{{cost|---}}} |
| | 3:Value = {{#if:{{{factionreq|}}}|Requires {{{factionreq|}}} rank of {{{factionrank|}}} or higher|}}
| | | 6:Type = Line | 6:Label = Insurance |
| | | | 6:ValueMethod = Insurance | 6:Cost = {{{cost|}}} | 6:Value = NULL |
| | 4:Type = Line | | | 7:Type = Line | 7:Label = Top Speed |
| | 4:Label = Manufacturer
| | | 7:ValueMethod = Quantify | 7:Unit = m/s | 7:Value = {{{topspeed|---}}} |
| | 4:Value = {{#if:{{{manufacturer|}}}|[[{{{manufacturer|}}}]]|---}}
| | | 8:Type = Line | 8:Label = Boost Speed |
| | | | 8:ValueMethod = Quantify | 8:Unit = m/s | 8:Value = {{{boostspeed|---}}} |
| | 5:Type = Line | | | 9:Type = Line | 9:Label = Manoeuvrability | 9:Value = {{{manoeuvrability|---}}} |
| | 5:Label = Cost
| | | 10:Type = Line | 10:Label = Shields | 10:Value = {{{shields|---}}} |
| | 5:Value = {{#if:{{{cost|}}}|{{{cost|?}}} CR|---}}
| | | 11:Type = Line | 11:Label = Armour | 11:Value = {{{armour|---}}} |
| | | | 12:Type = Line | 12:Label = Hull Mass |
| | 6:Type = Line | | | 12:ValueMethod = Quantify | 12:Unit = T | 12:Value = {{{hullmass|---}}} |
| | 6:Label = Insurance
| | | 13:Type = Line | 13:Label = Cargo Capacity |
| | 6:Value = {{#if:{{{cost|}}}|{{formatnum:{{#expr:trunc({{formatnum:{{{cost|}}}|R}}*0.05)}}}} CR|}}
| | | 13:ValueMethod = Quantify | 13:Unit = T | 13:Value = {{{cargocapacity|---}}} |
| | | | 14:Type = Line | 14:Label = Fuel Capacity |
| | 7:Type = Line | | | 14:ValueMethod = Quantify | 14:Unit = T | 14:Value = {{{fuelcapacity|---}}} |
| | 7:Label = Top Speed
| | | 15:Type = Line | 15:Label = Unladen Jump Range |
| | 7:Value = {{#if:{{{topspeed|}}}|{{{topspeed|?}}} m/s|---}}
| | | 15:ValueMethod = Quantify | 15:Unit = LY | 15:Default = x |
| | | | 15:Value = {{{jumprange|x}}} |
| | 8:Type = Line | | | 16:Type = Line | 16:Label = Landing Pad Size | 16:Value = {{{landingpad|---}}} |
| | 8:Label = Boost Speed
| | | 17:Type = Line | 17:Label = Hardpoints | 17:ValueMethod = Hardpoints |
| | 8:Value = {{#if:{{{boostspeed|}}}|{{{boostspeed|?}}} m/s|---}}
| | | 17:Utility = {{{utility|}}} | 17:S = {{{small|}}} | 17:M = {{{medium|}}} |
| | | | 17:L = {{{large|}}} | 17:H = {{{huge|}}} | 17:Value = NULL |
| | 9:Type = Line | | | 18:Type = Line | 18:Label = Internals |
| | 9:Label = Manoeuvrability
| | | 18:ValueMethod = Internals | 18:S1 = {{{size1|}}} | 18:S2 = {{{size2|}}} | 18:S3 = {{{size3|}}} | 18:S4 = {{{size4|}}} | 18:S5 = {{{size5|}}} | 18:S6 = {{{size6|}}} | 18:S7 = {{{size7|}}} | 18:S8 = {{{size8|}}} | 18:Reserved = {{{reservedic|}}} | 18:Value = NULL |
| | 9:Value = {{#if:{{{manoeuvrability|}}}|{{{manoeuvrability|}}}|---}}
| | | 19:Type = Footer | 19:Label = NULL |
| | | | 19:Value = *Information represents the default version of the ship. |
| | 10:Type = Line | |
| | 10:Label = Shields
| |
| | 10:Value = {{#if:{{{shields|}}}|{{{shields|?}}}|---}}
| |
| | |
| | 11:Type = Line | |
| | 11:Label = Armour
| |
| | 11:Value = {{#if:{{{armour|}}}|{{{armour|?}}}|---}}
| |
| | |
| | 12:Type = Line | |
| | 12:Label = Hull Mass
| |
| | 12:Value = {{#if:{{{hullmass|}}}|{{{hullmass|?}}} T|---}}
| |
| | |
| | 13:Type = Line | |
| | 13:Label = Cargo Capacity
| |
| | 13:Value = {{#if:{{{cargocapacity|}}}|{{{cargocapacity|?}}} T|---}}
| |
| | |
| | 14:Type = Line | |
| | 14:Label = Fuel Capacity
| |
| | 14:Value = {{#if:{{{fuelcapacity|}}}|{{{fuelcapacity|?}}} T|---}}
| |
| | |
| | 15:Type = Line | |
| | 15:Label = Unladen Jump Range
| |
| | 15:Value = {{#if:{{{jumprange|}}}|{{{jumprange|x}}} LY|---}}
| |
| | |
| | 16:Type = Line | |
| | 16:Label = Landing Pad Size
| |
| | 16:Value = {{#if:{{{landingpad|}}}|{{{landingpad|?}}}|---}}
| |
| | |
| | 17:Type = Line | |
| | 17:Label = Hardpoints
| |
| | 17:Value = {{#if:{{{utility|}}}|{{{utility}}}x Utility Mount{{#ifexpr:{{{utility|}}}>1|s}}}}{{#if:{{{small|}}}|{{#if:{{{utility|}}}|<br>}}{{{small|}}}x Small Hardpoint{{#ifexpr:{{{small|}}}>1|s}}}}{{#if:{{{medium|}}}|{{#if:{{{utility|}}}or{{{small|}}}|<br>}}{{{medium|}}}x Medium Hardpoint{{#ifexpr:{{{medium|}}}>1|s}}}}{{#if:{{{large|}}}|{{#if:{{{utility|}}}or{{{small|}}}or{{{medium|}}}|<br>}}{{{large|}}}x Large Hardpoint{{#ifexpr:{{{large|}}}>1|s}}}}{{#if:{{{huge|}}}|{{#if:{{{utility|}}}or{{{small|}}}or{{{medium|}}}or{{{large|}}}|<br>}}{{{huge|}}}x Huge Hardpoint{{#ifexpr:{{{huge|}}}>1|s}}}}
| |
| | |
| | 18:Type = Line | |
| | 18:Label = Internals
| |
| | 18:Value = {{#if:{{{size1|}}}|{{{size1|}}}x Size 1 Compartment{{#ifexpr:{{{size1|}}}>1|s}}}}{{#if:{{{size2|}}}|{{#if:{{{size1|}}}|<br>}}{{{size2|}}}x Size 2 Compartment{{#ifexpr:{{{size2|}}}>1|s}}}}{{#if:{{{size3|}}}|{{#if:{{{size1|}}}or{{{size2|}}}|<br>}}{{{size3|}}}x Size 3 Compartment{{#ifexpr:{{{size3|}}}>1|s}}}}{{#if:{{{size4|}}}|{{#if:{{{size1|}}}or{{{size2|}}}or{{{size3|}}}|<br>}}{{{size4|}}}x Size 4 Compartment{{#ifexpr:{{{size4|}}}>1|s}}}}{{#if:{{{size5|}}}|{{#if:{{{size1|}}}or{{{size2|}}}or{{{size3|}}}or{{{size4|}}}|<br>}}{{{size5|}}}x Size 5 Compartment{{#ifexpr:{{{size5|}}}>1|s}}}}{{#if:{{{size6|}}}|{{#if:{{{size1|}}}or{{{size2|}}}or{{{size3|}}}or{{{size4|}}}or{{{size5|}}}|<br>}}{{{size6|}}}x Size 6 Compartment{{#ifexpr:{{{size6|}}}>1|s}}}}{{#if:{{{size7|}}}|{{#if:{{{size1|}}}or{{{size2|}}}or{{{size3|}}}or{{{size4|}}}or{{{size5|}}}or{{{size6|}}}|<br>}}{{{size7|}}}x Size 7 Compartment{{#ifexpr:{{{size7|}}}>1|s}}}}{{#if:{{{size8|}}}|{{#if:{{{size1|}}}or{{{size2|}}}or{{{size3|}}}or{{{size4|}}}or{{{size5|}}}or{{{size6|}}}or{{{size7|}}}|<br>}}{{{size8|}}}x Size 8 Compartment{{#ifexpr:{{{size8|}}}>1|s}}}}{{#if:{{{reservedic|}}}|{{#if:{{{size1|}}}or{{{size2|}}}or{{{size3|}}}or{{{size4|}}}or{{{size5|}}}or{{{size6|}}}or{{{size7|}}}or{{{size8|}}}|<br>}}{{{reservedic|}}}}}
| |
| | |
| | 19:Type = Footer | |
| | 19:Value = *Information represents the default version of the ship.
| |
| }}</onlyinclude> | | }}</onlyinclude> |
| <noinclude> | | <noinclude> |