Template:ShipInfobox: Difference between revisions
Ironed out bug, re-instating new infobox |
Added more values; Changed style |
||
| Line 1: | Line 1: | ||
<onlyinclude> | <onlyinclude> | ||
{{#infoboxbuilder: | {{#infoboxbuilder: | ||
| 0:Theme = eInfobox | 0:CustomModule = Module:ShipInfobox | | 0:Theme = eInfobox | 0:CustomModule = Module:ShipInfobox/new | ||
| 1:Type = Title | 1:Label = NULL | 1:Value = {{PAGENAME}} | | 1:Type = Title | 1:Label = NULL | 1:Value = {{PAGENAME}} | ||
| 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 | |||
| 3:Requirement = {{{factionreq|}}} | 3:Rank = {{{factionrank|}}} | | | 3:Type = Header | 3:Label = NULL | 3:Value = Faction Specific | 3:Requirement = {{{factionreq|}}} | 3:ValueMethod = Required | ||
| | | 4:Type = Line | 4:Label = Faction | 4:Value = {{{factionreq|}}} | 4:ValueMethod = Factionreq | ||
| | | 5:Type = Line | 5:Label = Rank Required | 5:Value = {{{factionrank|}}} | 5:Requirement = {{{factionreq|}}} | 5:ValueMethod = Required | ||
| | |||
| | | 6:Type = Header | 6:Label = NULL | 6:Value = Default | ||
| | | 7:Type = Line | 7:Label = Dimensions | ||
| | | 7:Value = {{{dimensions|}}} | ||
| | | 8:Type = Line | 8:Label = Manufacturer | ||
| | | 8:Value = {{#if:{{{manufacturer|}}}|[[{{{manufacturer|}}}]]|---}} | ||
| | | 9:Type = Line | 9:Label = Cost | ||
| | | 9:ValueMethod = FormatCost | 9:Unit = CR | 9:Value = {{{cost|---}}} | ||
| | | 10:Type = Line | 10:Label = Insurance | ||
| | | 10:ValueMethod = Insurance | 10:Cost = {{{cost|}}} | 10:Value = NULL | ||
| | | 11:Type = Line | 11:Label = Top Speed | ||
| | | 11:ValueMethod = Quantify | 11:Unit = m/s | 11:Value = {{{topspeed|---}}} | ||
| | | 12:Type = Line | 12:Label = Boost Speed | ||
| | | 12:ValueMethod = Quantify | 12:Unit = m/s | 12:Value = {{{boostspeed|---}}} | ||
| | | 13:Type = Line | 13:Label = Manoeuvrability | 13:Value = {{{manoeuvrability|---}}} | ||
| | | 14:Type = Line | 14:Label = Shields | 14:Value = {{{shields|---}}} | ||
| | | 18:Type = Line | 18:Label = Armour | 18:Value = {{{armour|---}}} | ||
| | | 19:Type = Line | 19:Label = Hull Mass | ||
| | | 19:ValueMethod = Quantify | 19:Unit = T | 19:Value = {{{hullmass|---}}} | ||
| | | 20:Type = Line | 20:Label = Cargo Capacity | ||
| | | 20:ValueMethod = Quantify | 20:Unit = T | 20:Value = {{{cargocapacity|---}}} | ||
| | | 21:Type = Line | 21:Label = Fuel Capacity | ||
| | | 21:ValueMethod = Quantify | 21:Unit = T | 21:Value = {{{fuelcapacity|---}}} | ||
| | | 22:Type = Line | 22:Label = Unladen Jump Range | ||
| | | 22:ValueMethod = Quantify | 22:Unit = LY | 22:Default = x | ||
| | | 22:Value = {{{jumprange|x}}} | ||
| | | 23:Type = Line | 23:Label = Landing Pad Size | 23:Value = {{{landingpad|---}}} | ||
| | | 24:Type = Line | 24:Label = Hardpoints | 24:ValueMethod = Hardpoints | ||
| 24:Utility = {{{utility|}}} | 24:S = {{{small|}}} | 24:M = {{{medium|}}} | |||
| 24:L = {{{large|}}} | 24:H = {{{huge|}}} | 24:Value = NULL | |||
| 25:Type = Line | 25:Label = Internals | |||
| 25:ValueMethod = Internals | 25:S1 = {{{size1|}}} | 25:S2 = {{{size2|}}} | 25:S3 = {{{size3|}}} | 25:S4 = {{{size4|}}} | 25:S5 = {{{size5|}}} | 25:S6 = {{{size6|}}} | 25:S7 = {{{size7|}}} | 25:S8 = {{{size8|}}} | 25:Reserved = {{{reservedic|}}} | 25:Value = NULL | |||
| 26:Type = Header | 26:Label = NULL | 26:Value = Maximum/Upgraded versions | |||
| 27:Type = Line | 27:Label = Jump Range | |||
| 27:ValueMethod = Quantify | 27:Unit = LY | |||
| 27:Value = 5{{{maxjumprange|}}} | |||
| 28:Type = Line | 28:Label = Top Speed | |||
| 28:ValueMethod = Quantify | 28:Unit = m/s | |||
| 28:Value = 5{{{maxtopspeed|}}} | |||
| 28:Type = Line | 28:Label = Cargo Capacity | |||
| 28:ValueMethod = Quantify | 28:Unit = T | |||
| 28:Value = 5{{{maxcargocapacity|}}} | |||
}}</onlyinclude> | }}</onlyinclude> | ||
<noinclude> | <noinclude> | ||