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

Template:Infobox engines: Difference between revisions

Template page
(implemented new module based box approach from /doc)
Tag: 2017 source edit
(changed alt label width to 60%)
Tag: 2017 source edit
 
(4 intermediate revisions by the same user not shown)
Line 4: Line 4:
{{Infobox | subbox = yes
{{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: 60%; text-align: left;
  | header20 = {{#if: {{#invoke:Data|getData|{{PAGENAME}}|modules|engine|alt_mode}} | {{#invoke:Data|getData|{{PAGENAME}}|modules|engine|mode_name}} |}}
  | header20 = {{#if: {{#invoke:Data|getData|{{PAGENAME}}|modules|engine|alt_mode}} | {{#invoke:Data|getData|{{PAGENAME}}|modules|engine|mode_name}} |}}
  | label21  = {{#invoke:Data|getFuelLabels|{{PAGENAME}}}}
  | label21  = {{#invoke:Data infobox|getFuelLabels|{{PAGENAME}}}}
  |  data21  = {{#invoke:Data|getFuelValues|{{PAGENAME}}}}
  |  data21  = {{#invoke:Data infobox|getFuelValues|{{PAGENAME}}}}
  | label22  = Thrust: 1 atm. (kN)
  | label22  = Thrust: 1 atm. (kN)
  |  data22  = {{#invoke:Data|getData|{{PAGENAME}}|modules|engine|max_thrust|atm}}
  |  data22  = {{#invoke:Data|getData|{{PAGENAME}}|modules|engine|max_thrust|atm}} <small>kN</small>
  | label23  = Thrust: Vac. (kN)
  | label23  = Thrust: Vac. (kN)
  |  data23  = {{#invoke:Data|getData|{{PAGENAME}}|modules|engine|max_thrust|vac}}
  |  data23  = {{#invoke:Data|getData|{{PAGENAME}}|modules|engine|max_thrust|vac}} <small>kN</small>
  | label24  = I<sub>sp</sub>: 1 atm. (s)
  | label24  = I<sub>sp</sub>: 1 atm. (s)
  |  data24  = {{#invoke:Data|getData|{{PAGENAME}}|modules|engine|isp|atm}}
  |  data24  = {{#invoke:Data|getData|{{PAGENAME}}|modules|engine|isp|atm}} <small>s</small>
  | label25  = I<sub>sp</sub>: Vac. (s)
  | label25  = I<sub>sp</sub>: Vac. (s)
  |  data25  = {{#invoke:Data|getData|{{PAGENAME}}|modules|engine|isp|vac}}
  |  data25  = {{#invoke:Data|getData|{{PAGENAME}}|modules|engine|isp|vac}} <small>s</small>
  }}
  }}
{{#if: {{#invoke:Data|getData|{{PAGENAME}}|modules|engine|alt_mode}}  
{{#if: {{#invoke:Data|getData|{{PAGENAME}}|modules|engine|alt_mode}}  
  | {{Infobox | subbox = yes
  | {{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: 60%; text-align: left;
   | header20 = {{#invoke:Data|getData|{{PAGENAME}}|modules|engine|alt_mode|mode_name}}
   | header20 = {{#invoke:Data|getData|{{PAGENAME}}|modules|engine|alt_mode|mode_name}}
   | label21  = {{#invoke:Data|getFuelLabels|{{PAGENAME}}|alt}}
   | label21  = {{#invoke:Data infobox|getFuelLabels|{{PAGENAME}}|alt}}
   |  data21  = {{#invoke:Data|getFuelValues|{{PAGENAME}}|alt}}
   |  data21  = {{#invoke:Data infobox|getFuelValues|{{PAGENAME}}|alt}}
   | label22  = Thrust: 1 atm. (kN)
   | label22  = Thrust: 1 atm.
   |  data22  = {{#invoke:Data|getData|{{PAGENAME}}|modules|engine|max_thrust|atm}}
   |  data22  = {{#invoke:Data|getData|{{PAGENAME}}|modules|engine|max_thrust|atm}} <small>kN</small>
   | label23  = Thrust: Vac. (kN)
   | label23  = Thrust: Vac.
   |  data23  = {{#invoke:Data|getData|{{PAGENAME}}|modules|engine|max_thrust|vac}}
   |  data23  = {{#invoke:Data|getData|{{PAGENAME}}|modules|engine|max_thrust|vac}} <small>kN</small>
   | label24  = I<sub>sp</sub>: 1 atm. (s)
   | label24  = I<sub>sp</sub>: 1 atm.
   |  data24  = {{#invoke:Data|getData|{{PAGENAME}}|modules|engine|isp|atm}}
   |  data24  = {{#invoke:Data|getData|{{PAGENAME}}|modules|engine|isp|atm}} <small>s</small>
   | label25  = I<sub>sp</sub>: Vac. (s)
   | label25  = I<sub>sp</sub>: Vac.
   |  data25  = {{#invoke:Data|getData|{{PAGENAME}}|modules|engine|isp|vac}}
   |  data25  = {{#invoke:Data|getData|{{PAGENAME}}|modules|engine|isp|vac}} <small>s</small>
   }}
   }}
  }}
  }}
</includeonly>
</includeonly>

Latest revision as of 03:43, 31 December 2024

MediaWiki Appliance - Powered by TurnKey Linux