More actions
(Sample table now supports alt mode info display. Parser #if: function uses presence of an alt_mode in the JSON) Tag: 2017 source edit |
(Implement alt mode support) Tag: 2017 source edit |
||
Line 101: | Line 101: | ||
| header20 = Engine Info | | header20 = Engine Info | ||
| label21 = Fuel | | data21 = {{Infobox | subbox = yes | ||
| data21 = {{#invoke:Data|getEngineFuel|{{PAGENAME}}}} | | headerstyle = font-weight: bold; color: black; background: #f7aa33; font-size: 18px; text-align: left; | ||
| label22 = Thrust: 1 atm. (kN) | | labelstyle = width: 50%; text-align: left; | ||
| data22 = {{#invoke:Data|getData|{{PAGENAME}}|modules|engine|max_thrust|atm}} | |header20 = {{#if: {{#invoke:Data|getData|{{PAGENAME}}|modules|engine|alt_mode}} | {{#invoke:Data|getData|{{PAGENAME}}|modules|engine|mode_name}} |}} | ||
| label23 = Thrust: Vac. (kN) | | label21 = Fuel | ||
| data23 = {{#invoke:Data|getData|{{PAGENAME}}|modules|engine|max_thrust|vac}} | | data21 = {{#invoke:Data|getEngineFuel|{{PAGENAME}}}} | ||
| label24 = I<sub>sp</sub>: 1 atm. (s) | | label22 = Thrust: 1 atm. (kN) | ||
| data24 = {{#invoke:Data|getData|{{PAGENAME}}|modules|engine|isp|atm}} | | data22 = {{#invoke:Data|getData|{{PAGENAME}}|modules|engine|max_thrust|atm}} | ||
| label25 = I<sub>sp</sub>: Vac. (s) | | label23 = Thrust: Vac. (kN) | ||
| data25 = {{#invoke:Data|getData|{{PAGENAME}}|modules|engine|isp|vac}} | | data23 = {{#invoke:Data|getData|{{PAGENAME}}|modules|engine|max_thrust|vac}} | ||
| label24 = I<sub>sp</sub>: 1 atm. (s) | |||
| data24 = {{#invoke:Data|getData|{{PAGENAME}}|modules|engine|isp|atm}} | |||
| label25 = I<sub>sp</sub>: Vac. (s) | |||
| data25 = {{#invoke:Data|getData|{{PAGENAME}}|modules|engine|isp|vac}} | |||
}} | |||
{{#if: {{#invoke:Data|getData|{{PAGENAME}}|modules|engine|alt_mode}} | data22 = {{Infobox | subbox = yes | |||
| headerstyle = font-weight: bold; color: black; background: #f7aa33; font-size: 18px; text-align: left; | |||
| labelstyle = width: 50%; text-align: left; | |||
|header20 = {{#invoke:Data|getData|{{PAGENAME}}|modules|engine|alt_mode|mode_name}} | |||
| label21 = Fuel | |||
| data21 = {{#invoke:Data|getEngineFuel|{{PAGENAME}}}} | |||
| label22 = Thrust: 1 atm. (kN) | |||
| data22 = {{#invoke:Data|getData|{{PAGENAME}}|modules|engine|alt_mode|max_thrust|atm}} | |||
| label23 = Thrust: Vac. (kN) | |||
| data23 = {{#invoke:Data|getData|{{PAGENAME}}|modules|engine|alt_mode|max_thrust|vac}} | |||
| label24 = I<sub>sp</sub>: 1 atm. (s) | |||
| data24 = {{#invoke:Data|getData|{{PAGENAME}}|modules|engine|alt_mode|isp|atm}} | |||
| label25 = I<sub>sp</sub>: Vac. (s) | |||
| data25 = {{#invoke:Data|getData|{{PAGENAME}}|modules|engine|alt_mode|isp|vac}} | |||
}}|}} | |||
| below = {{#invoke:Data|getData|{{PAGENAME}}|manufacturer}} | | below = {{#invoke:Data|getData|{{PAGENAME}}|manufacturer}} | ||
}} | }} | ||
</includeonly> | </includeonly> |
Revision as of 16:13, 27 November 2024
File:Test Template Info-Icon - Version (2).svg Template documentation[view] [edit] [history] [purge]
Statistics | |||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Mass (t) | 0.500 | ||||||||||||||||||||||||
Size | SM | ||||||||||||||||||||||||
Max Temp (K) | 1000 | ||||||||||||||||||||||||
Impact Tolerance (m/s) | 10 | ||||||||||||||||||||||||
Monopropellant (t) | 100 | ||||||||||||||||||||||||
Electric Charge (U) | 200 | ||||||||||||||||||||||||
Stores Research | ✔ | ||||||||||||||||||||||||
Engine | |||||||||||||||||||||||||
| |||||||||||||||||||||||||
Community Conglomerate | |||||||||||||||||||||||||
Statistics | |||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Mass (t) | 0.500 | ||||||||||||||||||||||||
Size | SM | ||||||||||||||||||||||||
Max Temp (K) | 1000 | ||||||||||||||||||||||||
Impact Tolerance (m/s) | 10 | ||||||||||||||||||||||||
Engine Info | |||||||||||||||||||||||||
| |||||||||||||||||||||||||
Community Conglomerate | |||||||||||||||||||||||||