Jump to content

Template:Infobox rocket stage and Template:Infobox rocket stage/sandbox: Difference between pages

(Difference between pages)
Page 1
Page 2
Content deleted Content added
Sp epic (talk | contribs)
m There was an open parentheses missing on the "successes (stage only)" section
 
remove redundant </noinclude><noinclude>
 
Line 1: Line 1:
<includeonly>{{Infobox
<includeonly>{{Infobox
| bodyclass = hproduct
| bodyclass = hproduct
| bodystyle = width: 22em;


| titleclass = fn
| titleclass = fn
Line 9: Line 10:


| label1 = Manufacturer
| label1 = Manufacturer
| class1 = brand
| data1 = {{{manufacturer|}}}
| data1 = {{{manufacturer|}}}
| label2 = Country of origin
| label2 = Country of origin
| data2 = {{{country-origin|{{{country|}}}}}}
| data2 = {{{country-origin|}}}
| label3 = Used on
| label3 = Used on
| data3 = {{{rockets|}}}
| data3 = {{{rockets|}}}
Line 18: Line 18:
| header4 = {{#if:{{{height|}}}{{{diameter|}}}{{{mass|}}}{{{stages|}}}{{{length|}}}{{{width|}}}|General characteristics}}
| header4 = {{#if:{{{height|}}}{{{diameter|}}}{{{mass|}}}{{{stages|}}}{{{length|}}}{{{width|}}}|General characteristics}}
| label5 = Height
| label5 = Height
| data5 = {{#if:{{{height|}}}|{{{height}}} {{#if:{{{alt-height|}}}|({{{alt-height|}}})}}}}
| data5 = {{{height|}}} {{#if:{{{alt-height|}}}|({{{alt-height|}}})}}
| label6 = Diameter
| label6 = Diameter
| data6 = {{#if:{{{diameter|}}}|{{{diameter}}} {{#if:{{{alt-diameter|}}}|({{{alt-diameter|}}})}}}}
| data6 = {{{diameter}}} {{#if:{{{alt-diameter|}}}|({{{alt-diameter|}}})}}
| label7 = Length
| label7 = Length
| data7 = {{{length|}}}
| data7 = {{{length|}}}
Line 26: Line 26:
| data8 = {{{width|}}}
| data8 = {{{width|}}}
| label9 = Gross mass
| label9 = Gross mass
| data9 = {{#if:{{{mass|}}}|{{{mass}}} {{#if:{{{alt-mass|}}}|({{{alt-mass}}})}}}}
| data9 = {{{mass|}}} {{#if:{{{alt-mass|}}}|({{{alt-mass|}}})}}
| label10 = Propellant mass
| label10 = Propellant mass
| data10 = {{#if:{{{propmass|}}}|{{{propmass}}} {{#if:{{{alt-propmass|}}}|({{{alt-propmass}}})}}}}
| data10 = {{{propmass|}}} {{#if:{{{alt-propmass|}}}|({{{alt-propmass|}}})}}
| label11 = Empty mass
| label11 = Empty mass
| data11 = {{{empty|}}}
| data11 = {{{empty|}}}
Line 49: Line 49:
| label20 = Total launches
| label20 = Total launches
| data20 = {{{launches|}}}
| data20 = {{{launches|}}}
| label21 = Successes<br/>(stage only)
| label21 = Successes<br/><small>(stage only)</small>
| data21 = {{{success|}}}
| data21 = {{{success|}}}
| label22 = Failed
| label22 = Failed
Line 68: Line 68:
| data29 = {{#if:{{{engines|}}}{{{thrust|}}}{{{SI|}}}{{{time|}}}{{{fuel|}}}|
| data29 = {{#if:{{{engines|}}}{{{thrust|}}}{{{SI|}}}{{{time|}}}{{{fuel|}}}|
{{Infobox rocket/stage|type=none
{{Infobox rocket/stage|type=none
|name = {{{name|Engine details}}}
|name = Engine details
|engines = {{{engines|}}}
|engines = {{{engines|}}}
|thrust = {{{thrust|}}}
|thrust = {{{thrust|}}}
Line 77: Line 77:
[[Category:Rocketry articles with outdated infoboxes|{{#if:{{{engines|}}}|E}}{{#if:{{{thrust|}}}|Th}}{{#if:{{{SI|}}}|S}}{{#if:{{{time|}}}|Ti}}{{#if:{{{fuel|}}}|F}}{{PAGENAME}}]]
[[Category:Rocketry articles with outdated infoboxes|{{#if:{{{engines|}}}|E}}{{#if:{{{thrust|}}}|Th}}{{#if:{{{SI|}}}|S}}{{#if:{{{time|}}}|Ti}}{{#if:{{{fuel|}}}|F}}{{PAGENAME}}]]
}}
}}
}}</includeonly><noinclude>
}}{{#invoke:Check for unknown parameters|check|unknown={{main other|[[Category:Pages using infobox rocket stage with unknown parameters|_VALUE_{{PAGENAME}}]]}}|preview=Page using [[Template:Infobox rocket stage]] with unknown parameter "_VALUE_"|ignoreblank=y| alt | alt-diameter | alt-height | alt-mass | alt-propmass | caption | comparable | country | country-origin | derivatives | derived_from | diameter | empty | engines | fail | family | first | fuel | height | image | image_size | imsize | last | launches | length | manufacturer | mass | name | noburn | only | other_outcome | propmass | rockets | SI | stagedata | stages | status | success | thrust | time | width }}</includeonly><noinclude>
{{testcase table
| name = "name"
| image = Placeholder.png
| image_size = 20px
| imsize = "imsize"
| alt = "alt"
| caption = "caption"
| manufacturer = "manufacturer"
| country-origin = "country-origin"
| country = "country"
| rockets = "rockets"
| height = "height"
| diameter = "diameter"
| mass = "mass"
| stages = "stages"
| length = "length"
| width = "width"
| alt-height = "alt-height"
| alt-diameter = "alt-diameter"
| alt-mass = "alt-mass"
| propmass = "propmass"
| alt-propmass = "alt-propmass"
| empty = "empty"
| family = "family"
| derivatives = "derivatives"
| comparable = "comparable"
| derived_from = "derived_from"
| status = "status"
| launches = "launches"
| success = "success"
| fail = "fail"
| noburn = "noburn"
| other_outcome = "other_outcome"
| first = "first"
| last = "last"
| only = "only"
| stagedata = {{Infobox rocket/Stage
|name = [[Ares V]] EDS
|length = <!--length of a single booster/stage in metres, optional, use {{convert}}-->
|diameter = <!--diameter of a single booster/stage, optional in metres, use {{convert}}-->
|empty = <!--empty mass of a single booster/stage in kilograms, optional, use {{convert}}-->
|gross = <!--gross (fuelled) mass of a single booster/stage, optional-->
|engines = 1 [[J-2X]]
|thrust = {{Convert|1310|kN}}
|SI = 448&nbsp;seconds (vacuum)
|burntime = <!--burn time, required-->
|fuel = [[Liquid hydrogen|LH<sub>2</sub>]]/[[Liquid oxygen|LOX]]
}}
{{Infobox rocket/Stage
|name = [[Space Launch System|SLS]] Block II EDS
|length = {{Convert|24|m}}
|diameter = <!--diameter of a single booster/stage, optional in metres, use {{convert}}-->
|empty = <!--empty mass of a single booster/stage in kilograms, optional, use {{convert}}-->
|gross = <!--gross (fuelled) mass of a single booster/stage, optional-->
|engines = 3 [[J-2X]]
|thrust = {{Convert|3930|kN}}
|SI = 448&nbsp;seconds (vacuum)
|burntime = <!--burn time, required-->
|fuel = [[Liquid hydrogen|LH<sub>2</sub>]]/[[Liquid oxygen|LOX]]
}}
| engines = "engines"
| thrust = "thrust"
| SI = "SI"
| time = "time"
| fuel = "fuel"
}}
{{documentation}}
{{documentation}}
</noinclude>
</noinclude>