Template:ShipInfobox/Test: Difference between revisions
Appearance
Content deleted Content added
Test layout for ShipInfobox template. |
m SCO format. |
||
| (2 intermediate revisions by the same user not shown) | |||
| Line 40: | Line 40: | ||
<data source="heatcapacity"><label>Heat Capacity</label></data> |
<data source="heatcapacity"><label>Heat Capacity</label></data> |
||
<data source="fuelcapacity"><label>Fuel Capacity</label><format>{{{fuelcapacity}}} t</format></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 source="manoeuvrability"><label>Manoeuvr-<br/>ability</label></data> |
||
<data> |
<data> |
||
| Line 64: | Line 65: | ||
<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> |
<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> |
||
<data source="reservedhp"><label>Reserved Hardpoints</label> |
|||
</data> |
|||
<data><label>Internal Compartments</label> |
<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> |
<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> |
||
| Line 95: | Line 98: | ||
| heatcapacity = |
| heatcapacity = |
||
| fuelcapacity = |
| fuelcapacity = |
||
| scooptimised = |
|||
| manoeuvrability = |
| manoeuvrability = |
||
| topspeed = |
| topspeed = |
||
| Line 109: | Line 113: | ||
| large = |
| large = |
||
| huge = |
| huge = |
||
| reservedhp = |
|||
| size1 = |
| size1 = |
||
| size2 = |
| size2 = |
||
Latest revision as of 11:22, 12 October 2025
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 =
}}