Difference between revisions of "Template:Infobox space program"

From blackwiki
Jump to navigation Jump to search
imported>Soumya-8974
imported>Soumya-8974
 
(5 intermediate revisions by the same user not shown)
Line 2: Line 2:
 
| bodyclass = vevent
 
| bodyclass = vevent
 
| titleclass = summary
 
| titleclass = summary
 +
| headerstyle = background: #ddf;
 
| title = <includeonly>{{{name|{{PAGENAMEBASE}}}}}</includeonly>
 
| title = <includeonly>{{{name|{{PAGENAMEBASE}}}}}</includeonly>
  
| image = {{#invoke:InfoboxImage|InfoboxImage|image={{{image|}}}|size={{{image_size|{{{imsize|}}}}}}|sizedefault=frameless|upright=1.23|alt={{{alt|}}}}}
+
| image = {{#invoke:InfoboxImage|InfoboxImage|image={{{image|}}}|size={{{image_size|{{{imsize|}}}}}}|sizedefault=frameless|upright={{{upright|1.23}}}|alt={{{alt|}}}}}
 
| caption = {{{caption|}}}
 
| caption = {{{caption|}}}
  
Line 11: Line 12:
 
| class1 = location
 
| class1 = location
  
| label2 = {{#if:{{{organization|}}}|Organization|Organisation}}
+
| label2 = Organization
| data2 = {{#if:{{{organization|}}}|{{{organization|}}}|{{{organisation|}}}}}
+
| data2 = {{{organization|{{{organization|}}}}}}
  
| label3 = Purpose
+
| label3 = Manager
| data3 = {{{purpose|}}}
+
| data3 = {{{manager|}}}
  
| label4 = Status
+
| label4 = Purpose
| data4 = {{{status|}}}
+
| data4 = {{{purpose|}}}
  
| header5 = {{#if:{{{cost|}}}{{{duration|}}}{{{firstflight|}}}{{{firstcrewed|}}}{{{lastflight|}}}{{{successes|}}}{{{failures|}}}{{{partialfailures|}}}{{{launchsite|}}}| Program history }}
+
| label5 = Status
 +
| data5 = {{{status|}}}
 +
 
 +
| header6 = {{#if:{{{cost|}}}{{{duration|}}}{{{firstflight|}}}{{{firstcrewed|}}}{{{lastflight|}}}{{{successes|}}}{{{failures|}}}{{{partialfailures|}}}{{{launchsite|}}}| Program history }}
  
 
<!-- start program history section -->
 
<!-- start program history section -->
  
| label6 = Cost
+
| label7 = Cost
| data6 = {{{cost|}}}
+
| data7 = {{{cost|}}}
  
| label7 = Duration
+
| label8 = Duration
| data7 = {{{duration|}}}
+
| data8 = {{{duration|}}}
  
| label8 = Maiden flight
+
| label9 = First flight
| data8 = {{{firstflight|{{{first|{{{maiden|{{{maidenflight|}}}}}}}}}}}}
+
| data9 = {{{firstflight|{{{first|{{{maiden|{{{maidenflight|}}}}}}}}}}}}
  
| label9 = First crewed flight
+
| label10 = First crewed flight
| data9 = {{{firstcrewed|}}}
+
| data10 = {{{firstcrewed|}}}
  
| label10 = Last flight
+
| label11 = Last flight
| data10 = {{{lastflight|{{{last|}}}}}}
+
| data11 = {{{lastflight|{{{last|}}}}}}
  
| label11 = Successes
+
| label12 = Successes
| data11 = {{{successes|}}}
+
| data12 = {{{successes|}}}
  
| label12 = Failures
+
| label13 = Failures
| data12 = {{{failures|}}}
+
| data13 = {{{failures|}}}
  
| label13 = Partial failures
+
| label14 = Partial failures
| data13 = {{{partialfailures|}}}
+
| data14 = {{{partialfailures|}}}
  
| label14 = Launch site(s)
+
| label15 = Launch site(s)
| data14 = {{{launchsite|}}}
+
| data15 = {{{launchsite|}}}
  
 
<!-- end Program History section -->
 
<!-- end Program History section -->
  
| header15 = {{#if:{{{vehicletype|}}}{{{crewvehicle|}}}{{{capacity|}}}{{{launcher|}}}| Vehicle information }}
+
| header16 = {{#if:{{{vehicletype|}}}{{{crewvehicle|}}}{{{capacity|}}}{{{launcher|}}}| Vehicle information }}
  
 
<!-- start vehicle section -->
 
<!-- start vehicle section -->
  
| label16 = Vehicle type
+
| label17 = Vehicle type
| data16 = {{{vehicletype|}}}
+
| data17 = {{{vehicletype|}}}
 +
 
 +
| label18 = Uncrewed vehicle(s)
 +
| data18 = {{{uncrewvehicle|}}}
  
| label17 = Crew vehicle
+
| label19 = Crewed vehicle(s)
| data17 = {{{crewvehicle|}}}
+
| data19 = {{{crewvehicle|}}}
  
| label18 = Crew capacity
+
| label20 = Crew capacity
| data18 = {{{capacity|}}}
+
| data20 = {{{capacity|}}}
  
| label19 = Launch vehicle(s)
+
| label21 = Launch vehicle(s)
| data19 = {{{launcher|}}}
+
| data21 = {{{launcher|}}}
  
 
<!-- end vehicle section -->
 
<!-- end vehicle section -->
}}{{#if:{{{vehicletype|}}}|[[Category:Rocketry articles with outdated infoboxes|{{#if:{{{vehicletype|}}}|V}}{{PAGENAME}}]]}}{{#invoke:Check for unknown parameters|check|unknown={{main other|[[Category:Pages using infobox space program with unknown parameters|_VALUE_{{PAGENAME}}]]}}|preview=Page using [[Template:Infobox space program]] with unknown parameter "_VALUE_"|ignoreblank=y| alt | capacity | caption | cost | country | crewvehicle | duration | failures | firstcrewed | firstflight | image | image_size | imsize | lastflight | launcher | launchsite | name | organisation | organization | partialfailures | purpose | status | successes | vehicletype }}<noinclude>{{Documentation}}</noinclude>
+
}}{{#if:{{{vehicletype|}}}|[[Category:Spaceflight articles with outdated infoboxes|{{#if:{{{vehicletype|}}}|V}}{{PAGENAME}}]]}}{{#invoke:Check for unknown parameters|check|unknown={{main other|[[Category:Pages using infobox space program with unknown parameters|_VALUE_{{PAGENAME}}]]}}|preview=Page using [[Template:Infobox space program]] with unknown parameter "_VALUE_"|ignoreblank=y| manager | upright | maiden | maidenflight | alt | capacity | caption | cost | country | crewvehicle | duration | failures | firstcrewed | firstflight | image | image_size | imsize | lastflight | launcher | launchsite | name | organisation | organization | partialfailures | purpose | status | successes | uncrewvehicle }}<noinclude>{{Documentation}}</noinclude>

Latest revision as of 12:23, 28 October 2020

[[Category:Infobox templates|Template:Remove first word]]

Template documentation[view] [edit] [history] [purge]

Usage

Template:Parameter names example

{{Infobox space program
| name = 
| image = 
| image_size = 
| upright = 
| alt = 
| caption = 
| country = 
| organization = 
| manager = 
| purpose = 
| status = 
| cost = 
| duration = 
| firstflight = 
| firstcrewed = 
| lastflight = 
| successes = 
| failures = 
| partialfailures = 
| launchsite = 
| uncrewvehicle = 
| crewvehicle = 
| capacity = 
| launcher = 
}}

Parameters

  • name: name of program (will use PAGENAME if omitted)
  • image: an image, typically the program insignia, if any
  • caption: caption for the image, if needed
  • country: the country in which the program was conducted
  • organization: the name of the organization which conducted the program
  • manager: current manager of the program, if the program is ongoing, otherwise use first and last manager of the program
  • purpose: goal of the program ("uncrewed satellite", "human Earth orbit", "human lunar landing", etc.)
  • status: current status of the program ("active", "completed", "abandoned", etc.)
  • cost: program cost, optional
  • duration: the beginning and ending dates for the program
  • firstflight: the date and/or designation of the first flight of the program whether crewed or uncrewed
  • firstcrewed: the date and/or designation of the first crewed flight of the program if not also the first flight of the program
  • lastflight: the date and/or designation of the last flight in the program
  • successes: the number of successful missions in the program both crewed and uncrewed
  • failures: the number of failed missions (the designations of the failed missions may be included)
  • partialfailures: the number of partial failures (the designations of the partial failure missions may be included)
  • launchsite: the locations from which the flights of the program were launched
  • crewvehicle: the uncrewed spacecraft involved in the program
  • crewvehicle: the crewed spacecraft involved in the program (e.g. "Apollo command module" or "Space Shuttle Orbiter")
  • capacity: the maximum number of crew that can (or did) occupy the spacecraft
  • launcher: the launch vehicles used in the program

Example

Apollo program
Apollo program.svg
CountryUnited States
OrganizationNASA
PurposeCrewed lunar landing
StatusCompleted
Program history
Cost
  • $25.4 billion (1973)[1]
  • $156 billion (2019)[2]
Duration1961–1972
First flight
  • SA-1
  • October 27, 1961 (1961-10-27)
First crewed flight
  • Apollo 7
  • October 11, 1968 (1968-10-11)
Last flight
Successes32
Failures2 (Apollo 1 and 13)
Partial failures1 (Apollo 6)
Launch site(s)
Vehicle information
Crewed vehicle(s)
Launch vehicle(s)
[[Category:Infobox templates|Template:Remove first word]]
{{Infobox space program
| name            = Apollo program
| image           = [[File:Apollo program.svg|frameless|upright]]
| alt             = The letter "A" printed with a depiction of a trans-lunar trajectory streaking across; the Moon and Earth are depicted on opposite sides of the "A", with Apollo's face outlined on the Moon
| country         = United States
| organization    = [[NASA]]
| purpose         = Crewed [[lunar landing]]
| cost            = {{Unbulleted list
  | $25.4 billion (1973)<ref name="ApolloCost" />
  | ${{format price|{{Inflation|US-GDP|25400000000|1966|r=2}}}} ({{Inflation/year|US-GDP}}){{Inflation/fn|US-GDP}}
  }}
| status          = Completed
| duration        = 1961–1972
| firstflight     = {{Unbulleted list
  | [[Saturn I SA-1|SA-1]]
  | {{Start date|1961|10|27}}
  }}
| firstcrewed     = {{Unbulleted list
  | [[Apollo 7]]
  | {{Start date|1968|10|11}}
  }}
| lastflight      = {{Unbulleted list
  | [[Apollo 17]]
  | {{Start date|1972|12|19}}
  }}
| successes       = 32
| failures        = 2 ([[Apollo 1]] and [[Apollo 13|13]])
| partialfailures = 1 ([[Apollo 6]])
| launchsite      = {{Unbulleted list
  | [[Cape Canaveral Air Force Station Launch Complex 34|Cape Kennedy]]
  | [[Kennedy Space Center]]
  | [[White Sands Missile Range|White Sands]]
  }}
| crewvehicle     = {{Hlist|[[Apollo command and service module|Apollo CSM]]|[[Apollo Lunar Module|Apollo LM]]}}
| launcher        = {{Hlist|[[Little Joe II]]|[[Saturn I]]|[[Saturn IB]]|[[Saturn V]]}}
}}

Microformat

Template:UF-hcal

Tracking category

See also

Template:Spaceflight infoboxes

  1. Cite error: Invalid <ref> tag; no text was provided for refs named ApolloCost
  2. Thomas, Ryland; Williamson, Samuel H. (2020). "What Was the U.S. GDP Then?". MeasuringWorth. Retrieved September 22, 2020. United States Gross Domestic Product deflator figures follow the Measuring Worth series.