Template:Infobox engines: Difference between revisions
Jump to navigation
Jump to search
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 18:13, 27 November 2024
Error creating thumbnail: convert-im6.q16: delegate failed `'rsvg-convert' -o '%o' '%i @ error/delegate.c/InvokeDelegate/1966. convert-im6.q16: unable to open file `/tmp/magick-lXHFdGDOEP4aEaG8zNfJ-_8mUMJDdDhj': No such file or directory @ error/constitute.c/ReadImage/619. convert-im6.q16: no images defined `PNG:/var/www/web117/tmp/transform_78f6ce18c7f9.png' @ error/convert.c/ConvertImageCommand/3229. Template documentation[view] [edit] [history] [purge]
Mode 1 | |
---|---|
Oxidizer Methane | 0.040 t/s 0.010 t/s |
Thrust: 1 atm. | 42.0 kN |
Thrust: Vac. | 88.0 kN |
Isp: 1 atm. | 223 s |
Isp: Vac. | 628 s |
Mode 2 | |
---|---|
Oxidizer Methane | 0.040 t/s 0.010 t/s |
Thrust: 1 atm. | 42.0 kN |
Thrust: Vac. | 88.0 kN |
Isp: 1 atm. | 223 s |
Isp: Vac. | 628 s |
![]() Example Methalox Engine | |||||||||||||||||||||||||
Statistics | |||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Mass (t) | 0.500 | ||||||||||||||||||||||||
Size | SM | ||||||||||||||||||||||||
Max Temp (K) | 1000 | ||||||||||||||||||||||||
Impact Tolerance (m/s) | 10 | ||||||||||||||||||||||||
Engine Info | |||||||||||||||||||||||||
| |||||||||||||||||||||||||
Community Conglomerate | |||||||||||||||||||||||||
[[Category:Infobox templates|Template:Remove first word]]