Template:ShipInfobox: Difference between revisions
m Added Seats, multicrew, and fighter capable fields |
m Added expansion requirement field |
||
| Line 5: | Line 5: | ||
| 2:Type = MainImage | 2:Label = NULL| 2:Value = [[File:{{{image|Placeholder.png}}}|306px]] | | 2:Type = MainImage | 2:Label = NULL| 2:Value = [[File:{{{image|Placeholder.png}}}|306px]] | ||
| 3:Type = Header | 3:Label = NULL | 3:Value = | | 3:Type = Header | 3:Label = NULL | 3:Value = Expansion Content | 3:Requirement = {{{expansionreq|}}} | 3:ValueMethod = Required | ||
| 4:Type = Line | 4:Label = Faction | | | 4:Type = Line | 4:Label = Expansion | 4:Value = {{{expansionreq|}}} | 4:ValueMethod = Expansionreq | ||
| | | 5:Type = Header | 5:Label = NULL | 5:Value = Faction Specific | 5:Requirement = {{{factionreq|}}} | 5:ValueMethod = Required | ||
| | | 6:Type = Line | 6:Label = Faction | 6:Value = {{{factionreq|}}} | 6:ValueMethod = Factionreq | ||
| | | 7:Type = Line | 7:Label = Rank Required | 7:Value = {{{factionrank|}}} | 7:Requirement = {{{factionreq|}}} | 7:ValueMethod = Required | ||
| | | 8:Type = Header | 8:Label = NULL | 8:Value = Default version | ||
| | | 9:Type = Line | 9:Label = Manufacturer | ||
| | | 9:Value = {{#if:{{{manufacturer|}}}|[[{{{manufacturer|}}}]]|---}} | ||
| | | 10:Type = Line | 10:Label = Dimensions | ||
| | | 10:Value = {{{dimensions|}}} | ||
| | | 11:Type = Line | 11:Label = Type | ||
| | | 11:Value = {{{type|}}} | ||
| | | 12:Type = Line | 12:Label = Cost | ||
| | | 12:ValueMethod = FormatCost | 12:Unit = CR | 12:Value = {{{cost|---}}} | ||
| | | 13:Type = Line | 13:Label = Insurance | ||
| | | 13:ValueMethod = Insurance | 13:Cost = {{{cost|}}} | 13:Value = NULL | ||
| | | 14:Type = Line | 14:Label = Top Speed | ||
| | | 14:ValueMethod = Quantify | 14:Unit = m/s | 14:Value = {{{topspeed|---}}} | ||
| | | 15:Type = Line | 15:Label = Boost Speed | ||
| | | 15:ValueMethod = Quantify | 15:Unit = m/s | 15:Value = {{{boostspeed|---}}} | ||
| | | 16:Type = Line | 16:Label = Manoeuvrability | 16:Value = {{{manoeuvrability|---}}} | ||
| | | 17:ValueMethod = FormatCost | 17:Unit = MJ | ||
| | | 17:Type = Line | 17:Label = Shields | 17:Value = {{{shields|---}}} | ||
| | | 21:Type = Line | 21:Label = Armour | 21:Value = {{{armour|---}}} | ||
| | | 22:Type = Line | 22:Label = Hull Mass | ||
| | | 22:ValueMethod = Quantify | 22:Unit = t | 22:Value = {{{hullmass|---}}} | ||
| | | 23:Type = Line | 23:Label = Cargo Capacity | ||
| | | 23:ValueMethod = Quantify | 23:Unit = t | 23:Value = {{{cargocapacity|---}}} | ||
| | | 24:Type = Line | 24:Label = Fuel Capacity | ||
| | | 24:ValueMethod = Quantify | 24:Unit = t | 24:Value = {{{fuelcapacity|---}}} | ||
| | | 25:Type = Line | 25:Label = Unladen Jump Range | ||
| | | 25:ValueMethod = Quantify | 25:Unit = ly | 25:Default = x | ||
| | | 25:Value = {{{jumprange|x}}} | ||
| | | 26:Type = Line | 26:Label = Landing Pad Size | 26:Value = {{{landingpad|---}}} | ||
| | | 27:Type = Line | 27:Label = Seats | 27:Value = {{{seats|}}} | ||
| | | 28:Type = Line | 28:Label = Multicrew | 28:Value = {{{multicrew|}}} | ||
| | | 29:Type = Line | 29:Label = Fighter Capable | 29:Value = {{{fightercapable|}}} | ||
| | | 30:Type = Line | 30:Label = Hardpoints | 30:ValueMethod = Hardpoints | ||
| | | 30:Utility = {{{utility|}}} | 30:S = {{{small|}}} | 30:M = {{{medium|}}} | ||
| | | 30:L = {{{large|}}} | 30:H = {{{huge|}}} | 30:Value = NULL | ||
| 31:Type = Line | 31:Label = Internals | |||
| 31:ValueMethod = Internals | 31:S1 = {{{size1|}}} | 31:S2 = {{{size2|}}} | 31:S3 = {{{size3|}}} | 31:S4 = {{{size4|}}} | 31:S5 = {{{size5|}}} | 31:S6 = {{{size6|}}} | 31:S7 = {{{size7|}}} | 31:S8 = {{{size8|}}} | 31:Reserved = {{{reservedic|}}} | 31:Value = NULL | |||
| | | 32:Type = Header | 32:Label = NULL | 32:Value = Maximum/Upgraded versions | ||
| | | 33:Type = Line | 33:Label = Jump Range | ||
| | | 33:ValueMethod = Quantify | 33:Unit = ly | ||
| | | 33:Value = {{{maxjumprange|}}} | ||
| | | 34:Type = Line | 34:Label = Top Speed | ||
| | | 34:ValueMethod = Quantify | 34:Unit = m/s | ||
| | | 34:Value = {{{maxtopspeed|}}} | ||
| | | 35:Type = Line | 35:Label = Top Boost | ||
| | | 35:ValueMethod = Quantify | 35:Unit = m/s | ||
| | | 35:Value = {{{maxboostspeed|}}} | ||
| | | 36:Type = Line | 36:Label = Cargo Capacity | ||
| | | 36:ValueMethod = MaxCargo | 36:Unit = t | 36:Cargo = {{{maxcargocapacity|}}} | 36:S1 = {{{size1|}}} | 36:S2 = {{{size2|}}} | 36:S3 = {{{size3|}}} | 36:S4 = {{{size4|}}} | 36:S5 = {{{size5|}}} | 36:S6 = {{{size6|}}} | 36:S7 = {{{size7|}}} | 36:S8 = {{{size8|}}} | ||
| | | 36:Value = {{{maxcargocapacity|}}}{{{size1|}}}{{{size2|}}}{{{size3|}}}{{{size4|}}}{{{size5|}}}{{{size6|}}}{{{size7|}}}{{{size8|}}} | ||
| | | 37:Type = Header | 37:Label = NULL | 37:Value = Ship values | ||
| | | 38:Type = Line | 38:Label = Mass lock factor | ||
| | | 38:Value = {{{masslock|}}} | ||
}}</onlyinclude> | }}</onlyinclude> | ||
<noinclude> | <noinclude> | ||
| Line 99: | Line 101: | ||
| size8 = | | size8 = | ||
}} | }} | ||
</pre> | |||
Add the following text for expansion requirements: | |||
<pre style="width: 300px"> | |||
| expansionreq = | |||
</pre> | </pre> | ||
Revision as of 17:13, 22 September 2018
{{#infoboxbuilder: | 0:Theme = eInfobox | 0:CustomModule = Module:ShipInfobox | 1:Type = Title | 1:Label = NULL | 1:Value = ShipInfobox | 2:Type = MainImage | 2:Label = NULL| 2:Value = File:Placeholder.png
| 3:Type = Header | 3:Label = NULL | 3:Value = Expansion Content | 3:Requirement = | 3:ValueMethod = Required | 4:Type = Line | 4:Label = Expansion | 4:Value = | 4:ValueMethod = Expansionreq | 5:Type = Header | 5:Label = NULL | 5:Value = Faction Specific | 5:Requirement = | 5:ValueMethod = Required | 6:Type = Line | 6:Label = Faction | 6:Value = | 6:ValueMethod = Factionreq | 7:Type = Line | 7:Label = Rank Required | 7:Value = | 7:Requirement = | 7:ValueMethod = Required | 8:Type = Header | 8:Label = NULL | 8:Value = Default version | 9:Type = Line | 9:Label = Manufacturer | 9:Value = --- | 10:Type = Line | 10:Label = Dimensions | 10:Value = | 11:Type = Line | 11:Label = Type | 11:Value = | 12:Type = Line | 12:Label = Cost | 12:ValueMethod = FormatCost | 12:Unit = CR | 12:Value = --- | 13:Type = Line | 13:Label = Insurance | 13:ValueMethod = Insurance | 13:Cost = | 13:Value = NULL | 14:Type = Line | 14:Label = Top Speed | 14:ValueMethod = Quantify | 14:Unit = m/s | 14:Value = --- | 15:Type = Line | 15:Label = Boost Speed | 15:ValueMethod = Quantify | 15:Unit = m/s | 15:Value = --- | 16:Type = Line | 16:Label = Manoeuvrability | 16:Value = --- | 17:ValueMethod = FormatCost | 17:Unit = MJ | 17:Type = Line | 17:Label = Shields | 17:Value = --- | 21:Type = Line | 21:Label = Armour | 21:Value = --- | 22:Type = Line | 22:Label = Hull Mass | 22:ValueMethod = Quantify | 22:Unit = t | 22:Value = --- | 23:Type = Line | 23:Label = Cargo Capacity | 23:ValueMethod = Quantify | 23:Unit = t | 23:Value = --- | 24:Type = Line | 24:Label = Fuel Capacity | 24:ValueMethod = Quantify | 24:Unit = t | 24:Value = --- | 25:Type = Line | 25:Label = Unladen Jump Range | 25:ValueMethod = Quantify | 25:Unit = ly | 25:Default = x | 25:Value = x | 26:Type = Line | 26:Label = Landing Pad Size | 26:Value = --- | 27:Type = Line | 27:Label = Seats | 27:Value = | 28:Type = Line | 28:Label = Multicrew | 28:Value = | 29:Type = Line | 29:Label = Fighter Capable | 29:Value = | 30:Type = Line | 30:Label = Hardpoints | 30:ValueMethod = Hardpoints | 30:Utility = | 30:S = | 30:M = | 30:L = | 30:H = | 30:Value = NULL | 31:Type = Line | 31:Label = Internals | 31:ValueMethod = Internals | 31:S1 = | 31:S2 = | 31:S3 = | 31:S4 = | 31:S5 = | 31:S6 = | 31:S7 = | 31:S8 = | 31:Reserved = | 31:Value = NULL
| 32:Type = Header | 32:Label = NULL | 32:Value = Maximum/Upgraded versions | 33:Type = Line | 33:Label = Jump Range | 33:ValueMethod = Quantify | 33:Unit = ly | 33:Value = | 34:Type = Line | 34:Label = Top Speed | 34:ValueMethod = Quantify | 34:Unit = m/s | 34:Value = | 35:Type = Line | 35:Label = Top Boost | 35:ValueMethod = Quantify | 35:Unit = m/s | 35:Value = | 36:Type = Line | 36:Label = Cargo Capacity | 36:ValueMethod = MaxCargo | 36:Unit = t | 36:Cargo = | 36:S1 = | 36:S2 = | 36:S3 = | 36:S4 = | 36:S5 = | 36:S6 = | 36:S7 = | 36:S8 = | 36:Value = | 37:Type = Header | 37:Label = NULL | 37:Value = Ship values | 38:Type = Line | 38:Label = Mass lock factor | 38:Value = }}
For the default version:
{{ShipInfobox
| image =
| manufacturer =
| dimensions =
| type =
| cost =
| topspeed =
| boostspeed =
| manoeuvrability =
| shields =
| armour =
| hullmass =
| cargocapacity =
| fuelcapacity =
| jumprange =
| seats =
| multicrew =
| fightercapable =
| landingpad =
| utility =
| small =
| medium =
| large =
| huge =
| size1 =
| size2 =
| size3 =
| size4 =
| size5 =
| size6 =
| size7 =
| size8 =
}}
Add the following text for expansion requirements:
| expansionreq =
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
Maximum/Upgraded version
| maxjumprange = | maxtopspeed = | maxboostspeed = | maxcargocapacity =
- maxjumprange
- This is the lightest possible ship version with the highest Fuel Tank available
- maxcargocapacity
- This is completed automatically if there are internal compartments
Mass lock factor
| masslock =
- masslock
- The mass lock factor of the ship, useful in combat