More actions
implemented base part infobox with args Tag: 2017 source edit |
made independent for new box approach Tag: 2017 source edit |
||
Line 1: | Line 1: | ||
{{Infobox | subbox = yes | |||
| headerstyle = font-weight: bold; color: black; background: #f7aa33; font-size: 18px; text-align: left; | | headerstyle = font-weight: bold; color: black; background: #f7aa33; font-size: 18px; text-align: left; | ||
| labelstyle = width: 50%; text-align: left; | | labelstyle = width: 50%; text-align: left; | ||
Line 16: | Line 14: | ||
| data25 = {{#invoke:Data|getData|Example/engine|modules|engine|isp|vac}} | | data25 = {{#invoke:Data|getData|Example/engine|modules|engine|isp|vac}} | ||
}} | }} | ||
{{#if: {{#invoke:Data|getData|Example/engine|modules|engine|alt_mode}} | {{Infobox | subbox = yes | {{#if: {{#invoke:Data|getData|Example/engine|modules|engine|alt_mode}} | ||
| {{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|Example/engine|modules|engine|alt_mode|mode_name}} | |||
| label21 = {{#invoke:Data|getFuelLabels|Example/engine|alt}} | |||
| data21 = {{#invoke:Data|getFuelValues|Example/engine|alt}} | |||
| label22 = Thrust: 1 atm. (kN) | |||
| data22 = {{#invoke:Data|getData|Example/engine|modules|engine|max_thrust|atm}} | |||
| label23 = Thrust: Vac. (kN) | |||
| data23 = {{#invoke:Data|getData|Example/engine|modules|engine|max_thrust|vac}} | |||
| label24 = I<sub>sp</sub>: 1 atm. (s) | |||
| data24 = {{#invoke:Data|getData|Example/engine|modules|engine|isp|atm}} | |||
| label25 = I<sub>sp</sub>: Vac. (s) | |||
| data25 = {{#invoke:Data|getData|Example/engine|modules|engine|isp|vac}} | |||
}} | |||
}} | |||
}} | }} |
Revision as of 00:23, 23 December 2024
{{#invoke:Infobox|infobox}}{{#switch:
{{#if: | {{{demospace}}} | {{#ifeq:Template|Template | template | other }} }}
| template = {{#ifeq:Infobox engines/doc|Infobox||{{#ifeq:Template:Str left|Infobox|[[Category:Infobox templates|Template:Remove first word]]}}}} | other | #default = }} {{#if: {{#invoke:Data|getData|Example/engine|modules|engine|alt_mode}}
| {{#invoke:Infobox|infobox}}{{#switch: {{#if: | {{{demospace}}} | {{#ifeq:Template|Template | template | other }} }}
| template = {{#ifeq:Infobox engines/doc|Infobox||{{#ifeq:Template:Str left|Infobox|[[Category:Infobox templates|Template:Remove first word]]}}}} | other | #default = }}
}}
}}