Template:ShipInfobox: Difference between revisions
m Added expansion requirement field |
Updated template as per sandbox proposal of Clockpuncher |
||
| Line 1: | Line 1: | ||
<onlyinclude> | <onlyinclude> | ||
{{#infoboxbuilder: | {{#infoboxbuilder: | ||
| 0:Theme = eInfobox | 0:CustomModule = Module:ShipInfobox | | 0:Theme = eInfobox | ||
| 0:CustomModule = Module:ShipInfobox | |||
| | | 1:Type = Title | ||
| 1:Label = NULL | |||
| 1:Value = {{PAGENAME}} | |||
| | |||
| | |||
| | | 2:Type = MainImage | ||
| | | 2:Label = NULL | ||
| | | 2:Value = [[File:{{{image|Placeholder.png}}}|306px]] | ||
| | |||
| | | 3:Type = Header | ||
| | | 3:Label = NULL | ||
| | | 3:Value = Overview | ||
| | |||
| | | 4:Type = Line | ||
| | | 4:Label = Manufacturer | ||
| | | 4:Value = {{#if:{{{manufacturer|}}}|[[{{{manufacturer|}}}]]|}} | ||
| | |||
| | | 5:Type = Line | ||
| | | 5:Label = Years Produced | ||
| | | 5:Value = {{{yearsproduced|}}} | ||
| | |||
| 6:Type = Line | |||
| 6:Label = Type | |||
| 6:Value = {{{type|}}} | |||
| 7:Type = Line | |||
| 7:Label = Cost | |||
| 7:ValueMethod = FormatCost | |||
| 7:Unit = CR | |||
| 7:Value = {{{cost|}}} | |||
| 8:Type = Line | |||
| 8:Label = Insurance | |||
| 8:ValueMethod = Insurance | |||
| 8:Cost = {{{cost|}}} | |||
| 8:Value = NULL | |||
| 9:Type = Line | |||
| 9:Label = Faction | |||
| 9:Value = {{{factionreq|}}} | |||
| 9:ValueMethod = Factionreq | |||
| 10:Type = Line | |||
| 10:Label = Faction Rank | |||
| 10:Value = {{{factionrank|}}} | |||
| 10:Requirement = {{{factionreq|}}} | |||
| 11:Type = Line | |||
| 11:Label = Expansion | |||
| 11:Value = {{{expansionreq|}}} | |||
| 12:Type = Header | |||
| 12:Label = NULL | |||
| 12:Value = Default Specifications | |||
| 13:Type = Line | |||
| 13:Label = Landing Pad Size | |||
| 13:Value = {{{landingpad|}}} | |||
| 14:Type = Line | |||
| 14:Label = Dimensions | |||
| 14:Value = {{{dimensions|}}} | |||
| 15:Type = Line | |||
| 15:Label = Pilot Seats | |||
| 15:Value = {{{seats|}}} | |||
| 16:Type = Line | |||
| 16:Label = Multicrew | |||
| 16:Value = {{{multicrew|}}} | |||
| 17:Type = Line | |||
| 17:Label = Fighter Hangar | |||
| 17:Value = {{{fighterhangar|}}} | |||
| 18:Type = Line | |||
| 18:Label = Hull Mass | |||
| 18:ValueMethod = Quantify | |||
| 18:Unit = t | |||
| 18:Value = {{{hullmass|}}} | |||
| 19:Type = Line | |||
| 19:Label = Mass Lock Factor | |||
| 19:Value = {{{masslock|}}} | |||
| 20:Type = Line | |||
| 20:Label = Armour | |||
| 20:Value = {{{armour|}}} | |||
| 21:Type = Line | |||
| 21:Label = Armour Hardness | |||
| 21:Value = {{{armourhardness|}}} | |||
| 22:ValueMethod = FormatCost | |||
| 22:Unit = MJ | |||
| 22:Type = Line | |||
| 22:Label = Shields | |||
| 22:Value = {{{shields|}}} | |||
| 23:Type = Line | |||
| 23:Label = Manoeuvrability | |||
| 23:Value = {{{manoeuvrability|}}} | |||
| 24:Type = Line | |||
| 24:Label = Top Speed | |||
| 24:ValueMethod = Quantify | |||
| 24:Unit = m/s | |||
| 24:Value = {{{topspeed|}}} | |||
| 25:Type = Line | |||
| 25:Label = Boost Speed | |||
| 25:ValueMethod = Quantify | |||
| 25:Unit = m/s | |||
| 25:Value = {{{boostspeed|}}} | |||
| 26:Type = Line | |||
| 26:Label = Unladen Jump Range | |||
| 26:ValueMethod = Quantify | |||
| 26:Unit = ly | |||
| 26:Default = x | |||
| 26:Value = {{{jumprange|}}} | |||
| 27:Type = Line | |||
| 27:Label = Cargo Capacity | |||
| 27:ValueMethod = Quantify | |||
| 27:Unit = t | |||
| 27:Value = {{{cargocapacity|}}} | |||
| 28:Type = Line | |||
| 28:Label = Fuel Capacity | |||
| 28:ValueMethod = Quantify | |||
| 28:Unit = t | |||
| 28:Value = {{{fuelcapacity|}}} | |||
| 29:Type = Line | |||
| 29:Label = Hardpoints | |||
| 29:ValueMethod = Hardpoints | |||
| 29:Utility = {{{utility|}}} | |||
| 29:S = {{{small|}}} | |||
| 29:M = {{{medium|}}} | |||
| 29:L = {{{large|}}} | |||
| 29:H = {{{huge|}}} | |||
| 29:Value = NULL | |||
| 30:Type = Line | |||
| 30:Label = Internals | |||
| 30:ValueMethod = Internals | |||
| 30:S1 = {{{size1|}}} | |||
| 30:S2 = {{{size2|}}} | |||
| 30:S3 = {{{size3|}}} | |||
| 30:S4 = {{{size4|}}} | |||
| 30:S5 = {{{size5|}}} | |||
| 30:S6 = {{{size6|}}} | |||
| 30:S7 = {{{size7|}}} | |||
| 30:S8 = {{{size8|}}} | |||
| 30:Reserved = {{{reservedic|}}} | |||
| 30:Value = NULL | |||
| 31:Type = Header | |||
| 31:Label = NULL | |||
| 31:Value = Maximum Non-Engineered Specs | |||
| 32:Type = Line | |||
| 32:Label = Top Speed | |||
| 32:ValueMethod = Quantify | |||
| 32:Unit = m/s | |||
| 32:Value = {{{maxtopspeed|}}} | |||
| 33:Type = Line | |||
| 33:Label = Boost Speed | |||
| 33:ValueMethod = Quantify | |||
| 33:Unit = m/s | |||
| 33:Value = {{{maxboostspeed|}}} | |||
| 34:Type = Line | |||
| 34:Label = Unladen Jump Range | |||
| 34:ValueMethod = Quantify | |||
| 34:Unit = ly | |||
| 34:Value = {{{maxjumprange|}}} | |||
| 35:Type = Line | |||
| 35:Label = Cargo Capacity | |||
| 35:ValueMethod = MaxCargo | |||
| 35:Unit = t | |||
| 35:Cargo = {{{maxcargocapacity|}}} | |||
| 35:S1 = {{{size1|}}} | |||
| 35:S2 = {{{size2|}}} | |||
| 35:S3 = {{{size3|}}} | |||
| 35:S4 = {{{size4|}}} | |||
| 35:S5 = {{{size5|}}} | |||
| 35:S6 = {{{size6|}}} | |||
| 35:S7 = {{{size7|}}} | |||
| 35:S8 = {{{size8|}}} | |||
| 35:Value = {{{maxcargocapacity|}}}{{{size1|}}}{{{size2|}}}{{{size3|}}}{{{size4|}}}{{{size5|}}}{{{size6|}}}{{{size7|}}}{{{size8|}}} | |||
}}</onlyinclude> | }}</onlyinclude> | ||
<noinclude> | <noinclude> | ||
The blank version of this template is as follows: | |||
<pre style="width: 300px"> | <pre style="width: 300px"> | ||
{{ShipInfobox | {{ShipInfobox | ||
| image = | | image = | ||
| manufacturer = | | manufacturer = | ||
| | | yearsproduced = | ||
| type = | | type = | ||
| cost = | | cost = | ||
| factionreq = | |||
| factionrank = | |||
| expansionreq = | |||
| landingpad = | |||
| dimensions = | |||
| seats = | |||
| multicrew = | |||
| fighterhangar = | |||
| hullmass = | |||
| masslock = | |||
| armour = | |||
| armourhardness = | |||
| shields = | |||
| manoeuvrability = | |||
| topspeed = | | topspeed = | ||
| boostspeed = | | boostspeed = | ||
| | | jumprange = | ||
| cargocapacity = | | cargocapacity = | ||
| fuelcapacity = | | fuelcapacity = | ||
| utility = | | utility = | ||
| small = | | small = | ||
| Line 100: | Line 239: | ||
| size7 = | | size7 = | ||
| size8 = | | size8 = | ||
| reservedic = | | reservedic = | ||
| maxtopspeed = | | maxtopspeed = | ||
| maxboostspeed = | | maxboostspeed = | ||
| | | maxjumprange = | ||
}} | |||
</pre> | </pre> | ||
</noinclude> | </noinclude> | ||