More actions
(Rearranged template data) Tag: 2017 source edit |
(updated sample to use Data: pulls) Tag: 2017 source edit |
||
Line 169: | Line 169: | ||
{{Infobox | {{Infobox | ||
| name = Test | | name = Test | ||
| title = | | title = {{#invoke:Data|getData|Example/engine|name}} | ||
| image = [[File:SWERV.png|200px]] | | image = [[File:SWERV.png|200px]] | ||
| caption = | | caption = {{#invoke:Data|getData|Example/engine|subtitle}} | ||
| labelstyle = width: 33% | | labelstyle = width: 33% | ||
Line 179: | Line 179: | ||
| header1 = Statistics | | header1 = Statistics | ||
| label2 = Mass (t) | | label2 = Mass (t) | ||
| data2 = # | | data2 = {{#invoke:Data|getData|Example/engine|mass}} | ||
| label3 = Size | | label3 = Size | ||
| data3 = # | | data3 = {{Size|Size={{#invoke:Data|getData|Example/engine|size}}}} | ||
| label4 = Max Temp (K) | | label4 = Max Temp (K) | ||
| data4 = {{ | | data4 = {{#invoke:Data|getData|Example/engine|max_temp}} | ||
| label5 = Impact Tolerance (m/s) | | label5 = Impact Tolerance (m/s) | ||
| data5 = {{ | | data5 = {{#invoke:Data|getData|Example/engine|imp_tol}} | ||
| header6 = Engine Info | | header6 = Engine Info | ||
Line 191: | Line 191: | ||
| data7 = # | | data7 = # | ||
| label8 = Thrust: 1 atm. (kN) | | label8 = Thrust: 1 atm. (kN) | ||
| data8 = # | | data8 = {{#invoke:Data|getData|Example/engine|modules|engine|max_thrust|atm}} | ||
| label9 = Thrust: Vac. (kN) | | label9 = Thrust: Vac. (kN) | ||
| data9 = # | | data9 = {{#invoke:Data|getData|Example/engine|modules|engine|max_thrust|vac}} | ||
| label10 = I<sub>sp</sub>: 1 atm. (s) | | label10 = I<sub>sp</sub>: 1 atm. (s) | ||
| data10 = # | | data10 = {{#invoke:Data|getData|Example/engine|modules|engine|isp|atm}} | ||
| label11 = I<sub>sp</sub>: Vac. (s) | | label11 = I<sub>sp</sub>: Vac. (s) | ||
| data11 = # | | data11 = {{#invoke:Data|getData|Example/engine|modules|engine|isp|vac}} | ||
| below = | | below = {{#invoke:Data|getData|Example/engine|manufacturer}} | ||
}} | }} |
Revision as of 02:06, 19 November 2024
Generate an infobox for an engine. Units are included in data labels, they do not have to be provided.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Part Image | image picture thumbnail | The filename of the part, including the file extension
| File | required |
Caption | caption subtitle | The part's classification per the in-game description.
| String | required |
Mass (t) | mass | Mass (t) | String | required |
Size | size | Size of part (using {{Size}})
| String | required |
Max Temperature (K) | max temp | Maximum withstandable engine temperature | String | required |
Impact Tolerance (m/s) | impact tol | The velocity at which a collision will destroy this part. | String | required |
Manufacturer | manufacturer maker brand | The in-game manufacturer of the part.
| String | required |
Fuel Type | fuel type fuel | The fuel this engine burns.
| String | required |
Thrust (1 atm) | atm thrust | The max thrust this engine creates at 1 atmosphere of pressure. | String | required |
Thrust (Vacuum) | vacuum thrust vac thrust thrust vac | The max thrust this engine creates in vacuum. | String | required |
Isp (1 atm) | atm isp | The specific impulse of this engine at 1 atmosphere of pressure. | String | required |
Isp (Vac.) | vacuum isp vac isp isp vac | The specific impulse of this engine in vacuum. | String | required |