Difference between revisions of "Template:Infobox space program"
Jump to navigation
Jump to search
[[Category:Infobox templates|Template:Remove first word]]
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 = | + | | label2 = Organization |
| − | | data2 = | + | | data2 = {{{organization|{{{organization|}}}}}} |
| − | | label3 = | + | | label3 = Manager |
| − | | data3 = {{{ | + | | data3 = {{{manager|}}} |
| − | | label4 = | + | | label4 = Purpose |
| − | | data4 = {{{ | + | | data4 = {{{purpose|}}} |
| − | | | + | | 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 --> | ||
| − | | | + | | label7 = Cost |
| − | | | + | | data7 = {{{cost|}}} |
| − | | | + | | label8 = Duration |
| − | | | + | | data8 = {{{duration|}}} |
| − | | | + | | label9 = First flight |
| − | | | + | | data9 = {{{firstflight|{{{first|{{{maiden|{{{maidenflight|}}}}}}}}}}}} |
| − | | | + | | label10 = First crewed flight |
| − | | | + | | data10 = {{{firstcrewed|}}} |
| − | | | + | | label11 = Last flight |
| − | | | + | | data11 = {{{lastflight|{{{last|}}}}}} |
| − | | | + | | label12 = Successes |
| − | | | + | | data12 = {{{successes|}}} |
| − | | | + | | label13 = Failures |
| − | | | + | | data13 = {{{failures|}}} |
| − | | | + | | label14 = Partial failures |
| − | | | + | | data14 = {{{partialfailures|}}} |
| − | | | + | | label15 = Launch site(s) |
| − | | | + | | data15 = {{{launchsite|}}} |
<!-- end Program History section --> | <!-- end Program History section --> | ||
| − | | | + | | header16 = {{#if:{{{vehicletype|}}}{{{crewvehicle|}}}{{{capacity|}}}{{{launcher|}}}| Vehicle information }} |
<!-- start vehicle section --> | <!-- start vehicle section --> | ||
| − | | | + | | label17 = Vehicle type |
| − | | | + | | data17 = {{{vehicletype|}}} |
| + | |||
| + | | label18 = Uncrewed vehicle(s) | ||
| + | | data18 = {{{uncrewvehicle|}}} | ||
| − | | | + | | label19 = Crewed vehicle(s) |
| − | | | + | | data19 = {{{crewvehicle|}}} |
| − | | | + | | label20 = Crew capacity |
| − | | | + | | data20 = {{{capacity|}}} |
| − | | | + | | label21 = Launch vehicle(s) |
| − | | | + | | data21 = {{{launcher|}}} |
<!-- end vehicle section --> | <!-- end vehicle section --> | ||
| − | }}{{#if:{{{vehicletype|}}}|[[Category: | + | }}{{#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]]
| This template uses Lua: |
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
| Country | United States |
|---|---|
| Organization | NASA |
| Purpose | Crewed lunar landing |
| Status | Completed |
| Program history | |
| Cost | |
| Duration | 1961–1972 |
| First flight |
|
| First crewed flight |
|
| Last flight |
|
| Successes | 32 |
| Failures | 2 (Apollo 1 and 13) |
| Partial failures | 1 (Apollo 6) |
| Launch site(s) | |
| Vehicle information | |
| Crewed vehicle(s) | |
| Launch vehicle(s) | |
{{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
Tracking category
See also
Template:Spaceflight infoboxes
| The above documentation is transcluded from Template:Infobox space program/doc. (edit | history) Editors can experiment in this template's sandbox (edit | diff) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |
- ↑ Cite error: Invalid
<ref>tag; no text was provided for refs namedApolloCost - ↑ 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.