More actions
Alistair3149 (talk | contribs) m 1 revision imported |
Alistair3149 (talk | contribs) Add battery Tag: 2017 source edit |
||
Line 12: | Line 12: | ||
| manufacturer={{#if:{{{powerplant{{#var:powerplantnumber}}manufacturer|}}}|{{{powerplant{{#var:powerplantnumber}}manufacturer}}}|N/A}} |
| manufacturer={{#if:{{{powerplant{{#var:powerplantnumber}}manufacturer|}}}|{{{powerplant{{#var:powerplantnumber}}manufacturer}}}|N/A}} |
||
| name={{#if:{{{powerplant{{#var:powerplantnumber}}name|}}}|{{{powerplant{{#var:powerplantnumber}}name|}}}|Empty hardpoint}}}} |
| name={{#if:{{{powerplant{{#var:powerplantnumber}}name|}}}|{{{powerplant{{#var:powerplantnumber}}name|}}}|Empty hardpoint}}}} |
||
</td></tr> |
|||
}}}} |
|||
{{#ifexpr:{{{batterycount|0}}} > 0|<tr> |
|||
<td rowspan={{{batterycount}}}><div class="vehicle-spec-label">[[File:powerplantnav.svg|30px|link=]]Batteries</div></td> |
|||
{{#loop: batterynumber |
|||
| 1 |
|||
| {{{batterycount|1}}} |
|||
| {{#ifexpr:{{#var:batterynumber}} > 1|<tr>}} |
|||
<td>{{Component card |
|||
| quantity={{#if:{{{battery{{#var:batterynumber}}quantity|}}}|{{{battery{{#var:batterynumber}}quantity}}}|1}} |
|||
| size={{#if:{{{battery{{#var:batterynumber}}size|}}}|{{{battery{{#var:batterynumber}}size}}}|X}} |
|||
| manufacturer={{#if:{{{battery{{#var:batterynumber}}manufacturer|}}}|{{{battery{{#var:batterynumber}}manufacturer}}}|N/A}} |
|||
| name={{#if:{{{battery{{#var:batterynumber}}name|}}}|{{{battery{{#var:batterynumber}}name|}}}|Empty hardpoint}}}} |
|||
</td></tr> |
</td></tr> |
||
}}}} |
}}}} |
Revision as of 17:42, 12 December 2020
{{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.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Number of unique power plant hardpoints | powerplantcount | The number of unique power plant hardpoints on the vehicle (not counting the same component)
| Number | required |
Number of unique cooler hardpoints | coolercount | The number of unique cooler hardpoints on the vehicle (not counting the same component)
| Number | required |
Number of unique shield generator hardpoints | shieldgeneratorcount | The number of unique shield generator hardpoints on the vehicle (not counting the same component)
| Number | required |
Number of unique battery hardpoints | batterycount | The number of unique battery hardpoints on the vehicle (not counting the same component)
| Number | required |
Number of unique life support hardpoints | lifesupportcount | The number of unique life support hardpoints on the vehicle (not counting the same component)
| Number | required |
Number of unique shield emitter hardpoints | shieldemittercount | The number of unique shield emitter hardpoints on the vehicle (not counting the same component)
| Number | required |
Number of unique gravity generator hardpoints | gravitygeneratorcount | The number of unique gravity generator hardpoints on the vehicle (not counting the same component)
| Number | required |
Power plant 1 quantity | powerplant1quantity | The quantity of power plant 1 installed on the vehicle
| Number | required |
Power plant 1 size | powerplant1size | The size of power plant 1 installed on the vehicle
| Number | required |
Power plant 1 manufacturer code | powerplant1manufacturer | The manufacturer code of power plant 1 installed on the vehicle
| String | suggested |
Power plant 1 name | powerplant1name | The name of power plant 1 installed on the vehicle
| Page name | suggested |
Cooler 1 quantity | cooler1quantity | The quantity of cooler 1 installed on the vehicle
| Number | required |
Cooler 1 size | cooler1size | The size of cooler 1 installed on the vehicle
| Number | required |
Cooler 1 manufacturer code | cooler1manufacturer | The manufacturer code of cooler 1 installed on the vehicle
| String | suggested |
Cooler 1 name | cooler1name | The name of cooler 1 installed on the vehicle
| Page name | suggested |
Shield generator 1 quantity | shieldgenerator1quantity | The quantity of shield generator 1 installed on the vehicle
| Number | required |
Shield generator 1 size | shieldgenerator1size | The size of shield generator 1 installed on the vehicle
| Number | required |
Shield generator 1 manufacturer code | shieldgenerator1manufacturer | The manufacturer code of shield generator 1 installed on the vehicle
| String | suggested |
Shield generator 1 name | shieldgenerator1name | The name of shield generator 1 installed on the vehicle
| Page name | suggested |
Power plant 2 quantity | powerplant2quantity | The quantity of power plant 2 installed on the vehicle
| Number | optional |
Power plant 2 size | powerplant2size | The size of power plant 2 installed on the vehicle
| Number | optional |
Power plant 2 manufacturer code | powerplant2manufacturer | The manufacturer code of power plant 2 installed on the vehicle
| String | optional |
Power plant 2 name | powerplant2name | The name of power plant 2 installed on the vehicle
| Page name | optional |
Cooler 2 quantity | cooler2quantity | The quantity of cooler 2 installed on the vehicle
| Number | optional |
Cooler 2 size | cooler2size | The size of cooler 2 installed on the vehicle
| Number | optional |
Cooler 2 manufacturer code | cooler2manufacturer | The manufacturer code of cooler 2 installed on the vehicle
| String | optional |
Cooler 2 name | cooler2name | The name of cooler 2 installed on the vehicle
| Page name | optional |
Shield generator 2 quantity | shieldgenerator2quantity | The quantity of shield generator 2 installed on the vehicle
| Number | optional |
Shield generator 2 size | shieldgenerator2size | The size of shield generator 2 installed on the vehicle
| Number | optional |
Shield generator 2 manufacturer code | shieldgenerator2manufacturer | The manufacturer code of shield generator 2 installed on the vehicle
| String | optional |
Shield generator 2 name | shieldgenerator2name | The name of shield generator 2 installed on the vehicle
| Page name | optional |
Battery 1 quantity | battery1quantity | The quantity of battery 1 installed on the vehicle
| Number | optional |
Battery 1 size | battery1size | The size of battery 1 installed on the vehicle
| Number | optional |
Battery 1 manufacturer | battery1manufacturer | The manufacturer code of battery 1 installed on the vehicle
| String | optional |
Battery 1 name | battery1name | The name of battery 1 installed on the vehicle
| Page name | optional |
Life support 1 quantity | lifesupport1quantity | The quantity of life support 1 installed on the vehicle
| Number | optional |
Life support 1 size | lifesupport1size | The size of life support 1 installed on the vehicle
| Number | optional |
Life support 1 manufacturer | lifesupport1manufacturer | The manufacturer code of life support 1 installed on the vehicle
| String | optional |
Life support 1 name | lifesupport1name | The name of life support 1 installed on the vehicle
| Page name | optional |
Shield emitter 1 quantity | shieldemitter1quantity | The quantity of shield emitter 1 installed on the vehicle
| Number | optional |
Shield emitter 1 size | shieldemitter1size | The size of shield emitter 1 installed on the vehicle
| Number | optional |
Shield emitter 1 manufacturer | shieldemitter1manufacturer | The manufacturer code of shield emitter 1 installed on the vehicle
| String | optional |
Shield emitter 1 name | shieldemitter1name | The name of shield emitter 1 installed on the vehicle
| Page name | optional |
Gravity generator 1 quantity | gravitygenerator1quantity | The quantity of gravity generator 1 installed on the vehicle
| Number | optional |
Gravity generator 1 size | gravitygenerator1size | The size of gravity generator 1 installed on the vehicle
| Number | optional |
Gravity generator 1 manufacturer | gravitygenerator1manufacturer | The manufacturer code of gravity generator 1 installed on the vehicle
| String | optional |
Gravity generator 1 name | gravitygenerator1name | The name of gravity generator 1 installed on the vehicle
| Page name | optional |