Template:Infobox rocket launch: Difference between revisions
No edit summary Tags: Mobile edit Mobile web edit |
Reverted over-complicated changes made by Soumya-8974, added "fourth" parameter to support display of serial number for a fourth stage if applicable, as per Soumya-8974's original intention |
||
Line 18: | Line 18: | ||
| data6 = {{{outcome|}}} |
| data6 = {{{outcome|}}} |
||
| header7 = {{#if:{{{serial |
| header7 = {{#if:{{{serial|}}}{{{boosters|}}}{{{first|}}}{{{second|}}}{{{third|}}}{{{adaptor|}}}|Components}} |
||
| label8 = Serial {{abbr|no.|number}} |
| label8 = Serial {{abbr|no.|number}} |
||
| data8 = {{{serial|}}} |
| data8 = {{{serial|}}} |
||
| |
| label9 = Boosters |
||
| |
| data9 = {{{boosters|}}} |
||
| |
| label10 = First stage |
||
| |
| data10 = {{{first|}}} |
||
| |
| label11 = Second stage |
||
| |
| data11 = {{{second|}}} |
||
| |
| label12 = Third stage |
||
| |
| data12 = {{{third|}}} |
||
| |
| label13 = Fourth stage |
||
| data13 = {{{fourth|}}} |
|||
| label14 = Adaptor |
| label14 = Adaptor |
||
| data14 = {{{adaptor|}}} |
| data14 = {{{adaptor|}}} |
||
Line 38: | Line 39: | ||
| right = {{{next|}}} |
| right = {{{next|}}} |
||
}}}} |
}}}} |
||
⚫ | |||
}} |
|||
{{#if:{{{boosters|}}}{{{first|}}}{{{second|}}}|[[Category:Rocketry articles with outdated infoboxes|{{#if:{{{boosters|}}}|B}}{{#if:{{{first|}}}|F}}{{#if:{{{second|}}}|S}}{{#if:{{{third|}}}|T}}{{PAGENAME}}]] |
|||
}}{{#invoke:Check for unknown parameters|check|unknown={{main other|[[Category:Pages using infobox rocket with unknown parameters|_VALUE_{{PAGENAME}}]]}}|preview=Page using [[Template:Infobox rocket]] with unknown parameter "_VALUE_"|ignoreblank=y| boosters | first | second |third |
|||
}} |
|||
⚫ |
Revision as of 03:46, 5 July 2019
This template uses Lua: |
{{Infobox rocket launch}} is an {{Infobox}}-based template that is used to display essential information on a particular rocket launch, for readers with a casual interest in spaceflight. It is intended to be used in articles such as Falcon 9 flight 20 and Ariane flight VA245. Information such as the date and time, launch pad, and payload for a rocket launch are presented through this infobox. It is designed with a heading, image syntax, fourteen cell parameters divided into two distinct sections, and succession. The syntax used in this template is fairly simple, and uses four {{#if:}}
parser functions.
Syntax
[[File:{{{image}}}|frameless|alt={{{alt}}}|upright={{{upright}}}]] | |
{{{rocket}}} launch | |
---|---|
Launch | {{{launch}}} |
Operator | {{{operator}}} |
Pad | {{{pad}}} |
Payload | {{{payload}}} |
Outcome | {{{outcome}}} |
Components | |
Serial no. | {{{serial}}} |
Boosters | {{{boosters}}} |
First stage | {{{first}}} |
Second stage | {{{second}}} |
Third stage | {{{third}}} |
Fourth stage | {{{fourth}}} |
Adaptor | {{{adaptor}}} |
{{{succession}}} | |
{{Infobox rocket launch
| name =
| image =
| upright =
| alt =
| caption =
| rocket =
| launch =
| window =
| operator =
| pad =
| payload =
| outcome =
| apogee =
| duration =
| serial =
| boosters =
| first =
| second =
| third =
| fourth =
| adaptor =
| bottom_image =
| bottom_image_upright =
| bottom_image_alt =
| bottom_image_caption =
| succession =
| previous =
| next =
}}
Parameters
Header and image
The name
parameter is used to input the official name of the flight as determined by the operator of the flight. A citation for this name is highly encouraged to be used in the article prose. If there is no official unique name for the launch, use a compound of the rocket body flown and the chronological number of the flight. For example, the 20th flight of the Falcon 9 rocket body should be titled as "Falcon 9 flight 20". The infobox includes two image parameters. image
and bottom_image
accepts an input of an image filename, omitting the File:
prefix. The image featured should preferably the main insignia or unique poster artwork for the mission, such as the artwork for Soyuz Flight VS21 made by Charlie Davis. Do not use generic launch kit covers which only display logos or stock rocket launch photographs from a launch different than the one being described in the article. Examples of these include the covers used for Ariane Flight VA247 and Vega Flight VV14. If no unique insignia or poster artwork exist, use a photograph of either (in order of preference) the launch, the rocket used in the launch, or a rocket similar to the one used in the launch.
alt
and bottom_image_alt
are used to write an alt caption. upright
and bottom_image_upright
are used to display an image at 75% width using the upright syntax if the lead image is either an insignia, which is designed to be displayed at a small size, or a vertical poster. This parameter can be activated by inputting yes
. If the lead image is instead a landscape poster or photograph, you do not need to activate this parameter, as the default frameless
width is satisfactory for these types of images. A caption that adequately and objectively describes what the image is, e.g. "The official insignia for the flight" or "An Atlas V launch vehicle similar to the one used on the flight", can be inputted into caption
.
Rocket
The rocket
parameter is used to display the full name of the rocket body and variant used on the flight. A number of rocket bodies come in many variants. For example, four variants of the Antares have flown – Antares 110, Antares 120, Antares 130, and Antares 230. A Falcon 9 Full Thrust was used on Falcon 9 flight 20, so the input for this parameter on that article would be the name of the rocket body and variant, "Falcon 9 Full Thrust", rather than simply the name of the rocket body, "Falcon 9". The header
parameter is also directly tied to two templates using {{#switch:}}
parser functions. These are {{Infobox rocket launch/color}}, which sets the color used in the infobox's headings, and {{Infobox rocket launch/rocket}}, which sets the inline wikilink for the launch vehicle, including variants. For example, if "Ariane 5 ECA" is used as an input to rocket
, it will produce blue-coloured headings for the infobox and a direct wikilink to Ariane 5#Variants. A complete list of available inputs, and both the color and wikilinks they produce, are shown in the wikitable below.
Inputs | Outputs |
---|---|
Ariane 1 , Ariane 2 , Ariane 3 , Ariane 40 , Ariane 42L , Ariane 42P , Ariane 44L , Ariane 44P , Ariane 44 LP
|
|
Ariane 5 , Ariane 5 G , Ariane 5 G+ , Ariane 5 GS , Ariane 5 ES , Ariane 5 ECA , Ariane 62 , Ariane 64
|
|
Atlas V 401 , Atlas V 411 , Atlas V 421 , Atlas V 431 , Atlas V 501 , Atlas V 521 , Atlas V 531 , Atlas V 541 , Atlas V 551 , Atlas V N22
|
|
Delta II , Delta III , Delta IV Medium , Delta IV M+ (4,2) , Delta IV M+ (5,2) , Delta IV M+ (5,4) , Delta IV Heavy
|
|
Falcon 1 , Falcon 9 v1.0 , Falcon 9 v1.1 , Falcon 9 Full Thrust , Falcon 9 Block 4 , Falcon 9 Block 5 , Falcon Heavy
|
|
PSLV-G , PSLV-CA , PSLV-XL , PSLV-DL , PSLV-QL
|
|
Soyuz , Soyuz-L , Soyuz-M , Soyuz-U , Soyuz-U2 , Soyuz-FG , Soyuz-2.1a , Soyuz-2.1b , Soyuz-2.1v , Soyuz-ST-A , Soyuz-ST-B
|
|
Vega , Vega C , Vega E
|
Cells
Cell | Parameter(s) | Description |
---|---|---|
Launch | launch
|
Used to display the date and time of T-0. The "Window" cell is to be used when the launch date is in the future and the planned date and time is cited in the article prose. The "Launch" cell is to be used when the launch has occurred and a specific launch date and time has been cited in the article prose. The preferred input format is the date of the launch using {{Start date}}, followed by the time of the launch in Coordinated Universal Time (UTC), separated by a comma. For example, the input for this parameter for Ariane flight VA245 would be {{Start date|2018|10|20|df=yes}}, 01:45:28 UTC , resulting in "20 October 2018, 01:45:28 UTC". These two parameters are set up using an {{#if:}} parser function, so that window and launch will never appear at the same time in a single infobox, effectively preventing the parameters' misuse to display the specific window of the launch, even after the launch has already occurred and an exact launch date and time is cited in the article prose.
|
Window | window
| |
Operator | operator
|
Used to display the operator of the flight. For example, this would be SpaceX for Falcon 9 launches, or United Launch Alliance for Atlas V and Delta IV launches. |
Pad | pad
|
Used to display the common name of the launch site followed by the codename for the launch pad from which the flight was launched. Common names for launch sites include "Cape Canaveral" for Cape Canaveral Space Force Station, "Kennedy" for the Kennedy Space Center, and "Baikonur" for the Baikonur Cosmodrome. Codes for launch pads include "ELA-3" for Ariane Launch Complex 3, and "SLC-3E" for Vandenberg AFB Space Launch Complex 3-East. The launch site for Vega flight VV01 was the Vega Launch Complex at the Guiana Space Centre, so the input for this parameter on that article would be [[Guiana Space Centre|Kourou]] [[ELA-1|ELV]] , which results in "Kourou ELV".
|
Payload | payload
|
Used to display the name(s) of the payload(s) carried aboard the rocket on the flight. If there are multiple payloads, the use of a horizontal {{Hlist}} is highly encouraged over other horizontal or vertical list formats. Usage of traditional methods such as {{Dot}} formatting is discouraged in general, per the Manual of Style accessibility guidelines. |
Outcome | outcome
|
Used to note the success of the flight. Traditional shorthand phrases such as "Success", "Partial success", and "Failure" are highly encouraged, while detailed information, such as the success of individual systems, is strongly discouraged. |
Apogee | apogee
|
Suborbital apogee if the rocket didn't reach orbital velocity. |
Launch duration | duration
|
The duration of the rocket launch, usually relevant if the rocket didn't reach to space. |
Serial no. | serial
|
Used to display the serial number of the rocket used in the flight. Flight number is not the same as serial number; be sure to check whether or not a number associated with a flight has been designated by the operator as the number of the flight or the serial number of the rocket used in the flight. In common circumstances, the United Launch Alliance uses "AV-xxx" numbers as serials for Atlas V rockets, while Arianespace uses "VAxxx" numbers as flight numbers for Ariane launches. |
Boosters | boosters
|
Used to display either the serial numbers of the rocket components used on the flight, or the names of the components if they are not part of the original design of the rocket body and/or variant. If both are applicable, the name of the component is to be noted followed by the serial number of the component used on the flight in parentheses. As knowledge of serial numbers are rare, reliable sources are needed in the article prose to cite these numbers. For the Falcon Heavy test flight, the input for boosters and first stage would be the serial numbers of the Falcon 9 first stages used on the flight, "B1023.2 and B1025.2" and "B1033.1", respectively.
|
First stage | first
| |
Second stage | second
| |
Third stage | third
| |
Fourth stage | fourth
| |
Adaptor | adaptor
|
Succession
The succession links at the bottom of the {{Infobox}} template has three parameters. succession
is used to display the headline of the succession links section. Typically, this would be used to establish the chronology of either a series of flights with a rocket body, a rocket series, or an operator. This could be, for example, "Ariane flights", "Falcon 9 flights", or "Northrop Grumman flights". previous
, and next
are used to display wikilinks to the previous and next flight in the series defined in succession