Toggle menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:Infobox engines/doc: Difference between revisions

Template page
(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 part/doc
{{Infobox | subbox = yes
| auxHeader = Engine
| auxData = {{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}}  
| headerstyle  = font-weight: bold; color: black; background: #f7aa33; font-size: 18px; text-align: left;
| {{Infobox | subbox = yes
| labelstyle  = width: 50%; text-align: left;
  | headerstyle  = font-weight: bold; color: black; background: #f7aa33; font-size: 18px; text-align: left;
| header20 = {{#invoke:Data|getData|Example/engine|modules|engine|alt_mode|mode_name}}
  | labelstyle  = width: 50%; text-align: left;
| label21  = {{#invoke:Data|getFuelLabels|Example/engine|alt}}
  | header20 = {{#invoke:Data|getData|Example/engine|modules|engine|alt_mode|mode_name}}
|  data21  = {{#invoke:Data|getFuelValues|Example/engine|alt}}
  | label21  = {{#invoke:Data|getFuelLabels|Example/engine|alt}}
| label22  = Thrust: 1 atm. (kN)
  |  data21  = {{#invoke:Data|getFuelValues|Example/engine|alt}}
|  data22  = {{#invoke:Data|getData|Example/engine|modules|engine|max_thrust|atm}}
  | label22  = Thrust: 1 atm. (kN)
| label23  = Thrust: Vac. (kN)
  |  data22  = {{#invoke:Data|getData|Example/engine|modules|engine|max_thrust|atm}}
|  data23  = {{#invoke:Data|getData|Example/engine|modules|engine|max_thrust|vac}}
  | label23  = Thrust: Vac. (kN)
| label24  = I<sub>sp</sub>: 1 atm. (s)
  |  data23  = {{#invoke:Data|getData|Example/engine|modules|engine|max_thrust|vac}}
|  data24  = {{#invoke:Data|getData|Example/engine|modules|engine|isp|atm}}
  | label24  = I<sub>sp</sub>: 1 atm. (s)
| label25  = I<sub>sp</sub>: Vac. (s)
  |  data24  = {{#invoke:Data|getData|Example/engine|modules|engine|isp|atm}}
|  data25  = {{#invoke:Data|getData|Example/engine|modules|engine|isp|vac}}
  | label25  = I<sub>sp</sub>: Vac. (s)
}}|}}
  |  data25  = {{#invoke:Data|getData|Example/engine|modules|engine|isp|vac}}
| below    = {{#invoke:Data|getData|Example/engine|manufacturer}}
  }}
}}
}}
}}

Revision as of 23:23, 22 December 2024

Mode 1
Script error: The function "getFuelLabels" does not exist.Script error: The function "getFuelValues" does not exist.
Thrust: 1 atm. (kN)42.0
Thrust: Vac. (kN)88.0
Isp: 1 atm. (s)223
Isp: Vac. (s)628
Mode 2
Script error: The function "getFuelLabels" does not exist.Script error: The function "getFuelValues" does not exist.
Thrust: 1 atm. (kN)42.0
Thrust: Vac. (kN)88.0
Isp: 1 atm. (s)223
Isp: Vac. (s)628

}}

MediaWiki Appliance - Powered by TurnKey Linux