Difference between revisions of "Template:Infobox rocket/stage"

From blackwiki
Jump to navigation Jump to search
imported>Anythingcouldhappen
imported>Anythingcouldhappen
(Boosters no longer default to (Stage 0) if no diff. Added ability to turn off Engine field eg for solid boosters where the booster name is sufficient)
Line 1: Line 1:
 
<noinclude>{| class="infobox" style="font-size: 88%; width: 22em; text-align: left"
 
<noinclude>{| class="infobox" style="font-size: 88%; width: 22em; text-align: left"
 
|-</noinclude>
 
|-</noinclude>
! colspan="2" style="text-align: center; font-size: 100%" {{!}} {{#ifeq:{{{type|none}}}|none|{{{name|}}}|{{#ifeq:{{{type|}}}|booster|Boosters ({{{diff|Stage 0}}})|{{{stageno|}}} Stage {{#if:{{{diff|}}}|({{{diff|}}})}} }} {{#if:{{{name|}}}| - {{{name}}} }} }}
+
! colspan="2" style="text-align: center; font-size: 100%" {{!}} {{#ifeq:{{{type|none}}}|none|{{{name|}}}|{{#ifeq:{{{type|}}}|booster|Boosters {{#if:{{{diff|}}}|({{{diff|}}})}}|{{{stageno|}}} Stage {{#if:{{{diff|}}}|({{{diff|}}})}} }} {{#if:{{{name|}}}| - {{{name}}} }} }}
 
|-
 
|-
 
{{#ifeq:{{{type|}}}|booster|
 
{{#ifeq:{{{type|}}}|booster|
Line 38: Line 38:
 
}}
 
}}
 
|-
 
|-
 +
{{#ifeq:{{{engines|}}}|off||
 
! Engines
 
! Engines
| {{{engines}}}
+
{{!}} {{{engines}}}
 +
}}
 
|-
 
|-
 
! Thrust
 
! Thrust

Revision as of 00:55, 26 February 2015

Engines {{{engines}}}
Thrust {{{thrust}}}
Fuel {{{fuel}}}

Intended for use in conjunction with Template:Infobox rocket (edit | talk | history | links | watch | logs). Not for individual use.