Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Please sign up or log in to edit the wiki.

Template:Vehicle systems: Difference between revisions

Template page
Content deleted Content added
Add life support and shield emitter
Tag: 2017 source edit
Update to new template
Tag: 2017 source edit
Line 1: Line 1:
<includeonly><table class="wikitable vehicle-spec-table">
<includeonly><!--
Power plant
<tr><th colspan="2">Systems</th></tr>
-----------
{{#ifexpr:{{{powerplantcount|0}}} > 0|<tr>
-->{{#ifexpr:{{{powerplantcount|0}}} > 0
<td rowspan={{{powerplantcount}}}><div class="vehicle-spec-label">[[File:powerplantnav.svg|30px|link=]]Power plants</div></td>
| <div class="template-components__section">
{{#loop: powerplantnumber
<div class="template-components__label">[[File:Powerplantnav.svg|30px|link=]]<span>Power plants</span></div>
| 1
<div class="template-components__group">
| {{{powerplantcount|1}}}
| {{#ifexpr:{{#var:powerplantnumber}} > 1|<tr>}}
{{#loop: powerplantnumber
| 1
<td>{{Component card
| {{{powerplantcount|1}}}
| quantity={{#if:{{{powerplant{{#var:powerplantnumber}}quantity|}}}|{{{powerplant{{#var:powerplantnumber}}quantity}}}|1}}
| <div class="template-components__subgroup">
| size={{#if:{{{powerplant{{#var:powerplantnumber}}size|}}}|{{{powerplant{{#var:powerplantnumber}}size}}}|X}}
{{SCitem
| manufacturer={{#if:{{{powerplant{{#var:powerplantnumber}}manufacturer|}}}|{{{powerplant{{#var:powerplantnumber}}manufacturer}}}|N/A}}
| name={{#if:{{{powerplant{{#var:powerplantnumber}}name|}}}|{{{powerplant{{#var:powerplantnumber}}name|}}}|Empty hardpoint}}}}
| count={{#if:{{{powerplant{{#var:powerplantnumber}}quantity|}}}|{{{powerplant{{#var:powerplantnumber}}quantity}}}|1}}
| size={{#if:{{{powerplant{{#var:powerplantnumber}}size|}}}|{{{powerplant{{#var:powerplantnumber}}size}}}|X}}
</td></tr>
| subtitle={{#if:{{{powerplant{{#var:powerplantnumber}}manufacturer|}}}|{{MFUNAME|{{{powerplant{{#var:powerplantnumber}}manufacturer}}}}}|N/A}}
}}}}
| title={{#if:{{{powerplant{{#var:powerplantnumber}}name|}}}|{{{powerplant{{#var:powerplantnumber}}name}}}|Empty hardpoint}}
{{#ifexpr:{{{batterycount|0}}} > 0|<tr>
| level={{#if:{{{powerplant{{#var:powerplantnumber}}mountname|}}}{{{powerplant{{#var:powerplantnumber}}mountsize|}}}{{{powerplant{{#var:powerplantnumber}}mountmanufacturer|}}}|2|1}}
<td rowspan={{{batterycount}}}><div class="vehicle-spec-label">[[File:powerplantnav.svg|30px|link=]]Batteries</div></td>
}}
{{#loop: batterynumber
</div>
| 1
}}
| {{{batterycount|1}}}
</div>
| {{#ifexpr:{{#var:batterynumber}} > 1|<tr>}}
</div>
<td>{{Component card
}}<!--
| quantity={{#if:{{{battery{{#var:batterynumber}}quantity|}}}|{{{battery{{#var:batterynumber}}quantity}}}|1}}
Battery
| size={{#if:{{{battery{{#var:batterynumber}}size|}}}|{{{battery{{#var:batterynumber}}size}}}|X}}
-------
| manufacturer={{#if:{{{battery{{#var:batterynumber}}manufacturer|}}}|{{{battery{{#var:batterynumber}}manufacturer}}}|N/A}}
-->{{#ifexpr:{{{batterycount|0}}} > 0
| name={{#if:{{{battery{{#var:batterynumber}}name|}}}|{{{battery{{#var:batterynumber}}name|}}}|Empty hardpoint}}}}
| <div class="template-components__section">
</td></tr>
<div class="template-components__label">[[File:Batterynav.svg|30px|link=]]<span>Battery</span></div>
}}}}
<div class="template-components__group">
{{#ifexpr:{{{coolercount|0}}} > 0|<tr>
{{#loop: batterynumber
<td rowspan={{{coolercount}}}><div class="vehicle-spec-label">[[File:coolernav.svg|30px|link=]]Coolers</div></td>
| 1
{{#loop: coolernumber
| {{{batterycount|1}}}
| 1
| <div class="template-components__subgroup">
| {{{coolercount|1}}}
{{SCitem
| {{#ifexpr:{{#var:coolernumber}} > 1|<tr>}}
| count={{#if:{{{battery{{#var:batterynumber}}quantity|}}}|{{{battery{{#var:batterynumber}}quantity}}}|1}}
<td>{{Component card
| quantity={{#if:{{{cooler{{#var:coolernumber}}quantity|}}}|{{{cooler{{#var:coolernumber}}quantity}}}|1}}
| size={{#if:{{{battery{{#var:batterynumber}}size|}}}|{{{battery{{#var:batterynumber}}size}}}|X}}
| size={{#if:{{{cooler{{#var:coolernumber}}size|}}}|{{{cooler{{#var:coolernumber}}size}}}|X}}
| subtitle={{#if:{{{battery{{#var:batterynumber}}manufacturer|}}}|{{MFUNAME|{{{battery{{#var:batterynumber}}manufacturer}}}}}|N/A}}
| manufacturer={{#if:{{{cooler{{#var:coolernumber}}manufacturer|}}}|{{{cooler{{#var:coolernumber}}manufacturer}}}|N/A}}
| title={{#if:{{{battery{{#var:batterynumber}}name|}}}|{{{battery{{#var:batterynumber}}name}}}|Empty hardpoint}}
| name={{#if:{{{cooler{{#var:coolernumber}}name|}}}|{{{cooler{{#var:coolernumber}}name}}}|Empty hardpoint}}}}
| level={{#if:{{{battery{{#var:batterynumber}}mountname|}}}{{{battery{{#var:batterynumber}}mountsize|}}}{{{battery{{#var:batterynumber}}mountmanufacturer|}}}|2|1}}
</td></tr>
}}
</div>
}}}}
}}
{{#ifexpr:{{{shieldgeneratorcount|0}}} > 0|<tr>
</div>
<td rowspan={{{shieldgeneratorcount}}}><div class="vehicle-spec-label">[[File:shieldgeneratornav.svg|30px|link=]]Shield generators</div></td>
</div>
{{#loop: shieldgeneratornumber
}}<!--
| 1
Cooler
| {{{shieldgeneratorcount|1}}}
------
| {{#ifexpr:{{#var:shieldgeneratornumber}} > 1|<tr>}}
-->{{#ifexpr:{{{coolercount|0}}} > 0
<td>{{Component card
| <div class="template-components__section">
| quantity={{#if:{{{shieldgenerator{{#var:shieldgeneratornumber}}quantity|}}}|{{{shieldgenerator{{#var:shieldgeneratornumber}}quantity}}}|1}}
<div class="template-components__label">[[File:Coolernav.svg|30px|link=]]<span>Cooler</span></div>
| size={{#if:{{{shieldgenerator{{#var:shieldgeneratornumber}}size|}}}|{{{shieldgenerator{{#var:shieldgeneratornumber}}size}}}|X}}
<div class="template-components__group">
| manufacturer={{#if:{{{shieldgenerator{{#var:shieldgeneratornumber}}manufacturer|}}}|{{{shieldgenerator{{#var:shieldgeneratornumber}}manufacturer}}}|N/A}}
{{#loop: coolernumber
| name={{#if:{{{shieldgenerator{{#var:shieldgeneratornumber}}name|}}}|{{{shieldgenerator{{#var:shieldgeneratornumber}}name}}}|Empty hardpoint}}}}
</td></tr>
| 1
| {{{coolercount|1}}}
}}}}
| <div class="template-components__subgroup">
{{#ifexpr:{{{shieldemittercount|0}}} > 0|<tr>
{{SCitem
<td rowspan={{{shieldemittercount}}}><div class="vehicle-spec-label">[[File:shieldgeneratornav.svg|30px|link=]]Shield emitters</div></td>
| count={{#if:{{{cooler{{#var:coolernumber}}quantity|}}}|{{{cooler{{#var:coolernumber}}quantity}}}|1}}
{{#loop: shieldemitternumber
| size={{#if:{{{cooler{{#var:coolernumber}}size|}}}|{{{cooler{{#var:coolernumber}}size}}}|X}}
| 1
| subtitle={{#if:{{{cooler{{#var:coolernumber}}manufacturer|}}}|{{MFUNAME|{{{cooler{{#var:coolernumber}}manufacturer}}}}}|N/A}}
| {{{shieldemittercount|1}}}
| title={{#if:{{{cooler{{#var:coolernumber}}name|}}}|{{{cooler{{#var:coolernumber}}name}}}|Empty hardpoint}}
| {{#ifexpr:{{#var:shieldemitternumber}} > 1|<tr>}}
| level={{#if:{{{cooler{{#var:coolernumber}}mountname|}}}{{{cooler{{#var:coolernumber}}mountsize|}}}{{{cooler{{#var:coolernumber}}mountmanufacturer|}}}|2|1}}
<td>{{Component card
}}
| quantity={{#if:{{{shieldemitter{{#var:shieldemitternumber}}quantity|}}}|{{{shieldemitter{{#var:shieldemitternumber}}quantity}}}|1}}
</div>
| size={{#if:{{{shieldemitter{{#var:shieldemitternumber}}size|}}}|{{{shieldemitter{{#var:shieldemitternumber}}size}}}|X}}
}}
| manufacturer={{#if:{{{shieldemitter{{#var:shieldemitternumber}}manufacturer|}}}|{{{shieldemitter{{#var:shieldemitternumber}}manufacturer}}}|N/A}}
</div>
| name={{#if:{{{shieldemitter{{#var:shieldemitternumber}}name|}}}|{{{shieldemitter{{#var:shieldemitternumber}}name}}}|Empty hardpoint}}}}
</td></tr>
</div>
}}}}
}}<!--
Shield generator
{{#ifexpr:{{{lifesupportcount|0}}} > 0|<tr>
----------------
<td rowspan={{{lifesupportcount}}}><div class="vehicle-spec-label">[[File:coolernav.svg|30px|link=]]Life support</div></td>
-->{{#ifexpr:{{{shieldgeneratorcount|0}}} > 0
{{#loop: lifesupportnumber
| <div class="template-components__section">
| 1
<div class="template-components__label">[[File:Shieldgeneratornav.svg|30px|link=]]<span>Shield generator</span></div>
| {{{lifesupportcount|1}}}
<div class="template-components__group">
| {{#ifexpr:{{#var:lifesupportnumber}} > 1|<tr>}}
{{#loop: shieldgeneratornumber
<td>{{Component card
| 1
| quantity={{#if:{{{lifesupport{{#var:lifesupportnumber}}quantity|}}}|{{{lifesupport{{#var:lifesupportnumber}}quantity}}}|1}}
| {{{shieldgeneratorcount|1}}}
| size={{#if:{{{lifesupport{{#var:lifesupportnumber}}size|}}}|{{{lifesupport{{#var:lifesupportnumber}}size}}}|X}}
| <div class="template-components__subgroup">
| manufacturer={{#if:{{{lifesupport{{#var:lifesupportnumber}}manufacturer|}}}|{{{lifesupport{{#var:lifesupportnumber}}manufacturer}}}|N/A}}
{{SCitem
| name={{#if:{{{lifesupport{{#var:lifesupportnumber}}name|}}}|{{{lifesupport{{#var:lifesupportnumber}}name}}}|Empty hardpoint}}}}
| count={{#if:{{{shieldgenerator{{#var:shieldgeneratornumber}}quantity|}}}|{{{shieldgenerator{{#var:shieldgeneratornumber}}quantity}}}|1}}
</td></tr>
| size={{#if:{{{shieldgenerator{{#var:shieldgeneratornumber}}size|}}}|{{{shieldgenerator{{#var:shieldgeneratornumber}}size}}}|X}}
}}}}
| subtitle={{#if:{{{shieldgenerator{{#var:shieldgeneratornumber}}manufacturer|}}}|{{MFUNAME|{{{shieldgenerator{{#var:shieldgeneratornumber}}manufacturer}}}}}|N/A}}
</table><templatestyles src="Template:Vehicle specifications/styles.css"/></includeonly><noinclude>{{/doc}}</noinclude>
| title={{#if:{{{shieldgenerator{{#var:shieldgeneratornumber}}name|}}}|{{{shieldgenerator{{#var:shieldgeneratornumber}}name}}}|Empty hardpoint}}
| level={{#if:{{{shieldgenerator{{#var:shieldgeneratornumber}}mountname|}}}{{{shieldgenerator{{#var:shieldgeneratornumber}}mountsize|}}}{{{shieldgenerator{{#var:shieldgeneratornumber}}mountmanufacturer|}}}|2|1}}
}}
</div>
}}
</div>
</div>
}}<!--
Shield emitter
--------------
-->{{#ifexpr:{{{shieldemittercount|0}}} > 0
| <div class="template-components__section">
<div class="template-components__label">[[File:Shieldemitternav.svg|30px|link=]]<span>Shield emitter</span></div>
<div class="template-components__group">
{{#loop: shieldemitternumber
| 1
| {{{shieldemittercount|1}}}
| <div class="template-components__subgroup">
{{SCitem
| count={{#if:{{{shieldemitter{{#var:shieldemitternumber}}quantity|}}}|{{{shieldemitter{{#var:shieldemitternumber}}quantity}}}|1}}
| size={{#if:{{{shieldemitter{{#var:shieldemitternumber}}size|}}}|{{{shieldemitter{{#var:shieldemitternumber}}size}}}|X}}
| subtitle={{#if:{{{shieldemitter{{#var:shieldemitternumber}}manufacturer|}}}|{{MFUNAME|{{{shieldemitter{{#var:shieldemitternumber}}manufacturer}}}}}|N/A}}
| title={{#if:{{{shieldemitter{{#var:shieldemitternumber}}name|}}}|{{{shieldemitter{{#var:shieldemitternumber}}name}}}|Empty hardpoint}}
| level={{#if:{{{shieldemitter{{#var:shieldemitternumber}}mountname|}}}{{{shieldemitter{{#var:shieldemitternumber}}mountsize|}}}{{{shieldemitter{{#var:shieldemitternumber}}mountmanufacturer|}}}|2|1}}
}}
</div>
}}
</div>
</div>
}}<!--
Life support
------------
-->{{#ifexpr:{{{lifesupportcount|0}}} > 0
| <div class="template-components__section">
<div class="template-components__label">[[File:Lifesupportnav.svg|30px|link=]]<span>Life support</span></div>
<div class="template-components__group">
{{#loop: lifesupportnumber
| 1
| {{{lifesupportcount|1}}}
| <div class="template-components__subgroup">
{{SCitem
| count={{#if:{{{lifesupport{{#var:lifesupportnumber}}quantity|}}}|{{{lifesupport{{#var:lifesupportnumber}}quantity}}}|1}}
| size={{#if:{{{lifesupport{{#var:lifesupportnumber}}size|}}}|{{{lifesupport{{#var:lifesupportnumber}}size}}}|X}}
| subtitle={{#if:{{{lifesupport{{#var:lifesupportnumber}}manufacturer|}}}|{{MFUNAME|{{{lifesupport{{#var:lifesupportnumber}}manufacturer}}}}}|N/A}}
| title={{#if:{{{lifesupport{{#var:lifesupportnumber}}name|}}}|{{{lifesupport{{#var:lifesupportnumber}}name}}}|Empty hardpoint}}
| level={{#if:{{{lifesupport{{#var:lifesupportnumber}}mountname|}}}{{{lifesupport{{#var:lifesupportnumber}}mountsize|}}}{{{lifesupport{{#var:lifesupportnumber}}mountmanufacturer|}}}|2|1}}
}}
</div>
}}
</div>
</div>
}}<!--
TemplateStyles
--------------
--><templatestyles src="Template:Vehicle specifications/styles.css" /></includeonly><noinclude>{{/doc}}</noinclude>

Revision as of 23:42, 10 November 2022

Template documentation[view][edit][history][purge]
This documentation is transcluded from Template:Vehicle systems/doc. Changes can be proposed in the talk page.

{{Vehicle systems}} generates a table of system components for the specification section of a vehicle page.

TemplateData

Generates a table of system components for the specification section of a vehicle page.

Template parameters[Edit template data]

This template prefers block formatting of parameters.

ParameterDescriptionTypeStatus
Number of unique power plant hardpointspowerplantcount

The number of unique power plant hardpoints on the vehicle (not counting the same component)

Default
0
Example
1
Auto value
1
Numberrequired
Number of unique cooler hardpointscoolercount

The number of unique cooler hardpoints on the vehicle (not counting the same component)

Default
0
Example
1
Auto value
1
Numberrequired
Number of unique shield generator hardpointsshieldgeneratorcount

The number of unique shield generator hardpoints on the vehicle (not counting the same component)

Default
0
Example
1
Auto value
1
Numberrequired
Number of unique battery hardpointsbatterycount

The number of unique battery hardpoints on the vehicle (not counting the same component)

Default
0
Example
1
Auto value
0
Numberrequired
Number of unique life support hardpointslifesupportcount

The number of unique life support hardpoints on the vehicle (not counting the same component)

Default
0
Example
1
Auto value
0
Numberrequired
Number of unique shield emitter hardpointsshieldemittercount

The number of unique shield emitter hardpoints on the vehicle (not counting the same component)

Default
0
Example
1
Auto value
0
Numberrequired
Number of unique gravity generator hardpointsgravitygeneratorcount

The number of unique gravity generator hardpoints on the vehicle (not counting the same component)

Default
0
Example
1
Auto value
0
Numberrequired
Power plant 1 quantitypowerplant1quantity

The quantity of power plant 1 installed on the vehicle

Example
2
Auto value
1
Numberrequired
Power plant 1 sizepowerplant1size

The size of power plant 1 installed on the vehicle

Example
0
Numberrequired
Power plant 1 manufacturer codepowerplant1manufacturer

The manufacturer code of power plant 1 installed on the vehicle

Example
AEGS
Auto value
Stringsuggested
Power plant 1 namepowerplant1name

The name of power plant 1 installed on the vehicle

Example
[[Regulus]]
Page namesuggested
Cooler 1 quantitycooler1quantity

The quantity of cooler 1 installed on the vehicle

Example
2
Auto value
1
Numberrequired
Cooler 1 sizecooler1size

The size of cooler 1 installed on the vehicle

Example
0
Numberrequired
Cooler 1 manufacturer codecooler1manufacturer

The manufacturer code of cooler 1 installed on the vehicle

Example
JSPN
Stringsuggested
Cooler 1 namecooler1name

The name of cooler 1 installed on the vehicle

Example
[[Cryo-Star]]
Page namesuggested
Shield generator 1 quantityshieldgenerator1quantity

The quantity of shield generator 1 installed on the vehicle

Example
2
Auto value
1
Numberrequired
Shield generator 1 sizeshieldgenerator1size

The size of shield generator 1 installed on the vehicle

Example
0
Numberrequired
Shield generator 1 manufacturer codeshieldgenerator1manufacturer

The manufacturer code of shield generator 1 installed on the vehicle

Example
GODI
Stringsuggested
Shield generator 1 nameshieldgenerator1name

The name of shield generator 1 installed on the vehicle

Example
[[AllStop]]
Page namesuggested
Power plant 2 quantitypowerplant2quantity

The quantity of power plant 2 installed on the vehicle

Example
2
Numberoptional
Power plant 2 sizepowerplant2size

The size of power plant 2 installed on the vehicle

Example
0
Numberoptional
Power plant 2 manufacturer codepowerplant2manufacturer

The manufacturer code of power plant 2 installed on the vehicle

Example
AEGS
Stringoptional
Power plant 2 namepowerplant2name

The name of power plant 2 installed on the vehicle

Example
[[Regulus]]
Page nameoptional
Cooler 2 quantitycooler2quantity

The quantity of cooler 2 installed on the vehicle

Example
2
Numberoptional
Cooler 2 sizecooler2size

The size of cooler 2 installed on the vehicle

Example
0
Numberoptional
Cooler 2 manufacturer codecooler2manufacturer

The manufacturer code of cooler 2 installed on the vehicle

Example
JSPN
Stringoptional
Cooler 2 namecooler2name

The name of cooler 2 installed on the vehicle

Example
[[Cryo-Star]]
Page nameoptional
Shield generator 2 quantityshieldgenerator2quantity

The quantity of shield generator 2 installed on the vehicle

Example
2
Numberoptional
Shield generator 2 sizeshieldgenerator2size

The size of shield generator 2 installed on the vehicle

Example
0
Numberoptional
Shield generator 2 manufacturer codeshieldgenerator2manufacturer

The manufacturer code of shield generator 2 installed on the vehicle

Example
GODI
Stringoptional
Shield generator 2 nameshieldgenerator2name

The name of shield generator 2 installed on the vehicle

Example
[[AllStop]]
Page nameoptional
Battery 1 quantitybattery1quantity

The quantity of battery 1 installed on the vehicle

Example
1
Auto value
Numberoptional
Battery 1 sizebattery1size

The size of battery 1 installed on the vehicle

Example
1
Numberoptional
Battery 1 manufacturerbattery1manufacturer

The manufacturer code of battery 1 installed on the vehicle

Example
AMRS
Stringoptional
Battery 1 namebattery1name

The name of battery 1 installed on the vehicle

Example
[[FortCell]]
Page nameoptional
Life support 1 quantitylifesupport1quantity

The quantity of life support 1 installed on the vehicle

Example
1
Auto value
Numberoptional
Life support 1 sizelifesupport1size

The size of life support 1 installed on the vehicle

Example
1
Numberoptional
Life support 1 manufacturerlifesupport1manufacturer

The manufacturer code of life support 1 installed on the vehicle

Example
AMRS
Stringoptional
Life support 1 namelifesupport1name

The name of life support 1 installed on the vehicle

Example
[[FortCell]]
Page nameoptional
Shield emitter 1 quantityshieldemitter1quantity

The quantity of shield emitter 1 installed on the vehicle

Example
1
Auto value
Numberoptional
Shield emitter 1 sizeshieldemitter1size

The size of shield emitter 1 installed on the vehicle

Example
1
Numberoptional
Shield emitter 1 manufacturershieldemitter1manufacturer

The manufacturer code of shield emitter 1 installed on the vehicle

Example
AMRS
Stringoptional
Shield emitter 1 nameshieldemitter1name

The name of shield emitter 1 installed on the vehicle

Example
[[FortCell]]
Page nameoptional
Gravity generator 1 quantitygravitygenerator1quantity

The quantity of gravity generator 1 installed on the vehicle

Example
1
Auto value
Numberoptional
Gravity generator 1 sizegravitygenerator1size

The size of gravity generator 1 installed on the vehicle

Example
1
Numberoptional
Gravity generator 1 manufacturergravitygenerator1manufacturer

The manufacturer code of gravity generator 1 installed on the vehicle

Example
AMRS
Stringoptional
Gravity generator 1 namegravitygenerator1name

The name of gravity generator 1 installed on the vehicle

Example
[[FortCell]]
Page nameoptional
On this page