Template:ShipInfobox: Difference between revisions
Appearance
Created page with "{| class="eInfobox" style="background-color: #333300; font-size: 11px; width: 280px; border: thin solid orange; float: right; margin: 0 0 10px 10px;" |- ! colspan="2" | {{{nam..." |
Changed label displayed for data source "fighterhangar" from "Fighter Hangar" to "Fighter Bay" per request. |
||
| (91 intermediate revisions by 6 users not shown) | |||
| Line 1: | Line 1: | ||
{ | <infobox theme="portInfobox"> | ||
<title><default>{{PAGENAME}}</default></title> | |||
<image source="image"><default>Placeholder Ship.png</default></image> | |||
<group> | |||
<header>Overview</header> | |||
<data source="manufacturer"><label>Manufacturer</label><format>[[{{{manufacturer}}}]]</format></data> | |||
<data source="yearsproduced"><label>Years Produced</label></data> | |||
<data source="type"><label>Type</label></data> | |||
<data source="cost"> | |||
<label>Cost</label> | |||
<format>{{{cost}}} CR</format> | |||
</data> | |||
<data source="arx"> | |||
<label>ARX</label> | |||
<format>{{{arx}}} ARX</format> | |||
</data> | |||
| | <data source="insurance"> | ||
| | <label>Insurance</label> | ||
| | <format>{{{insurance}}} CR</format> | ||
| | </data> | ||
| | <data source="factionreq"><label>Faction</label><format>[[{{{factionreq}}}]]</format></data> | ||
| | <data source="factionrank"> | ||
| | <label>Faction Rank</label> | ||
<format>{{#if: {{{factionreq|}}} | {{{factionrank}}} }}</format> | |||
</data> | |||
| | <data source="expansionreq"><label>Expansion</label></data> | ||
| | </group> | ||
<group> | |||
| | <header>Specifications</header> | ||
| | <data source="landingpad"><label>Landing Pad Size</label></data> | ||
{{#if:{{{ | <data source="dimensions"><label>Dimensions</label></data> | ||
{{ | <data source="seats"><label>Pilot Seats</label></data> | ||
{{ | <data source="multicrew"><label>Multicrew</label></data> | ||
{{ | <data source="fighterhangar"><label>Fighter Bay</label></data> | ||
{{#if:{{{ | <data source="hullmass"><label>Hull Mass</label><format>{{{hullmass}}} t</format></data> | ||
{{ | <data source="masslock"><label>Mass Lock Factor</label></data> | ||
{{ | <data source="armour"><label>Armour</label></data> | ||
{{ | <data source="armourhardness"><label>Armour Hardness</label></data> | ||
|} | <data source="shields"><label>Shields</label><format>{{{shields}}} MJ</format></data> | ||
<data source="heatcapacity"><label>Heat Capacity</label></data> | |||
<data source="fuelcapacity"><label>Fuel Capacity</label><format>{{{fuelcapacity}}} t</format></data> | |||
<data source="scooptimised"><label>SCO Optimised</label></data> | |||
<data source="manoeuvrability"><label>Manoeuvr-<br/>ability</label></data> | |||
<data> | |||
<label>Top Speed</label> | |||
<default>{{#if: {{{topspeed|}}} | {{{topspeed}}} m/s <abbr title="Default value of an unmodified ship">(''default'')</abbr> <br/> }}{{#if: {{{maxtopspeed|}}} | {{{maxtopspeed}}} m/s <abbr title="Maximum possible value before Engineering">(''upgraded'')</abbr> <br/> }}</default> | |||
</data> | |||
<data> | |||
<label>Boost Speed</label> | |||
<default>{{#if: {{{boostspeed|}}} | {{{boostspeed}}} m/s <abbr title="Default value of an unmodified ship">(''default'')</abbr> <br/> }}{{#if: {{{maxboostspeed|}}} | {{{maxboostspeed}}} m/s <abbr title="Maximum possible value before Engineering">(''upgraded'')</abbr> <br/> }}</default> | |||
</data> | |||
<data> | |||
<label>Unladen Jump Range</label> | |||
<default>{{#if: {{{jumprange|}}} | {{{jumprange}}} ly <abbr title="Default value of an unmodified ship">(''default'')</abbr> <br/> }}{{#if: {{{maxjumprange|}}} | {{{maxjumprange}}} ly <abbr title="Maximum possible value before Engineering and Guardian FSD Booster">(''upgraded'')</abbr> <br/> }}</default> | |||
</data> | |||
<data> | |||
<label>Cargo Capacity</label> | |||
<default>{{#if: {{{cargocapacity|}}} | {{{cargocapacity}}} t <abbr title="Default value of an unmodified ship">(''default'')</abbr> <br/> }}{{#if: {{{maxcargocapacity|}}} | {{{maxcargocapacity}}} t <abbr title="Maximum possible value">(''max'')</abbr> <br/> }}</default> | |||
</data> | |||
</group> | |||
<group> | |||
<header>Outfitting</header> | |||
<data> | |||
<label>Hardpoints</label> | |||
<default>{{#if: {{{utility|}}} | {{{utility}}}× Utility {{plural: {{{utility}}} | Mount | Mounts}} <br/> }}{{#if: {{{small|}}} | {{{small}}}× Small {{plural: {{{small}}} | Hardpoint | Hardpoints}} <br/> }}{{#if: {{{medium|}}} | {{{medium}}}× Medium {{plural: {{{medium}}} | Hardpoint | Hardpoints}} <br/> }}{{#if: {{{large|}}} | {{{large}}}× Large {{plural: {{{large}}} | Hardpoint | Hardpoints}} <br/> }}{{#if: {{{huge|}}} | {{{huge}}}× Huge {{plural: {{{huge}}} | Hardpoint | Hardpoints}} <br/> }}</default> | |||
</data> | |||
<data source="reservedhp"><label>Reserved Hardpoints</label> | |||
</data> | |||
<data><label>Internal Compartments</label> | |||
<default>{{#if: {{{size1|}}} | {{{size1}}}× Class 1 {{plural: {{{size1}}} | Compartment | Compartments}} <br/> }}{{#if: {{{size2|}}} | {{{size2}}}× Class 2 {{plural: {{{size2}}} | Compartment | Compartments }} <br/> }}{{#if: {{{size3|}}} | {{{size3}}}× Class 3 {{plural: {{{size3}}} | Compartment | Compartments }} <br/> }}{{#if: {{{size4|}}} | {{{size4}}}× Class 4 {{plural: {{{size4}}} | Compartment | Compartments }} <br/> }}{{#if: {{{size5|}}} | {{{size5}}}× Class 5 {{plural: {{{size5}}} | Compartment | Compartments }} <br/> }}{{#if: {{{size6|}}} | {{{size6}}}× Class 6 {{plural: {{{size6}}} | Compartment | Compartments }} <br/> }}{{#if: {{{size7|}}} | {{{size7}}}× Class 7 {{plural: {{{size7}}} | Compartment | Compartments }} <br/> }}{{#if: {{{size8|}}} | {{{size8}}}× Class 8 {{plural: {{{size8}}} | Compartment | Compartments }} <br/> }}</default> | |||
</data> | |||
<data source="reservedic"><label>Reserved Compartments</label> | |||
</data> | |||
</group> | |||
</infobox><includeonly>{{#if: {{NAMESPACE}} || [[Category:Ships]]}}</includeonly><noinclude> | |||
Example usage:<pre> | |||
{{ShipInfobox | |||
| image = | |||
| manufacturer = | |||
| yearsproduced = | |||
| type = | |||
| cost = | |||
| arx = | |||
| insurance = | |||
| factionreq = | |||
| factionrank = | |||
| expansionreq = | |||
| landingpad = | |||
| dimensions = | |||
| seats = | |||
| multicrew = | |||
| fighterhangar = | |||
| hullmass = | |||
| masslock = | |||
| armour = | |||
| armourhardness = | |||
| shields = | |||
| heatcapacity = | |||
| fuelcapacity = | |||
| scooptimised = | |||
| manoeuvrability = | |||
| topspeed = | |||
| maxtopspeed = | |||
| boostspeed = | |||
| maxboostspeed = | |||
| jumprange = | |||
| maxjumprange = | |||
| cargocapacity = | |||
| maxcargocapacity = | |||
| utility = | |||
| small = | |||
| medium = | |||
| large = | |||
| huge = | |||
| reservedhp = | |||
| size1 = | |||
| size2 = | |||
| size3 = | |||
| size4 = | |||
| size5 = | |||
| size6 = | |||
| size7 = | |||
| size8 = | |||
| reservedic = | |||
}} | |||
</pre>[[Category:Infobox templates|{{PAGENAME}}]] | |||
</noinclude> | |||
Latest revision as of 02:42, 18 February 2026
Example usage:
{{ShipInfobox
| image =
| manufacturer =
| yearsproduced =
| type =
| cost =
| arx =
| insurance =
| factionreq =
| factionrank =
| expansionreq =
| landingpad =
| dimensions =
| seats =
| multicrew =
| fighterhangar =
| hullmass =
| masslock =
| armour =
| armourhardness =
| shields =
| heatcapacity =
| fuelcapacity =
| scooptimised =
| manoeuvrability =
| topspeed =
| maxtopspeed =
| boostspeed =
| maxboostspeed =
| jumprange =
| maxjumprange =
| cargocapacity =
| maxcargocapacity =
| utility =
| small =
| medium =
| large =
| huge =
| reservedhp =
| size1 =
| size2 =
| size3 =
| size4 =
| size5 =
| size6 =
| size7 =
| size8 =
| reservedic =
}}