Template:Infobox space program/doc: Difference between revisions

Content deleted Content added
template shortcut
 
(47 intermediate revisions by 17 users not shown)
Line 1:
{{Documentation subpage}}
{{#ifeq:{{{UsageOnly|no}}}|yes||
<!--Categories where indicated at the bottom of this page, please; interwikis at Wikidata (see [[Wikipedia:Wikidata]])-->
{{documentation subpage}}
{{tsh|Infobox space programme}}
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE -->
{{Lua|Module:Infobox|Module:InfoboxImage|Module:Check for unknown parameters}}
 
== Usage ==
{{Parameter names example
|name
|native_name
|native_name_a
|native_name_r
|image
|image_size
|upright
|alt
|caption
|country
|organization
|manager
|purpose
|status
|cost
|duration
|firstflight
|firstcrewed
|lastflight
|successes
|failures
|partialfailures
|launchsite
|uncrewvehicle
|crewvehicle
|capacity
|launcher
}}
 
<pre>
<syntaxhighlight lang="wikitext" style="overflow:auto;">
{{Infobox space program
| name =
|country=
| native_name =
|governmental=
| native_name_a =
|organization=
| native_name_r =
|duration=
| image =
|firstflight=
| image_size =
|firstcrewedflight=
| upright =
|lastflight=
| alt =
|successes=
| caption =
|failures=
| country =
|partialfailures=
| organization = <!-- or | organisation = -->
|launchsite=
| manager =
|vehicletype=
| purpose =
|crewvehicle=
| status =
|capacity=
| cost =
|launcher=
| duration =
|previous=
| firstflight =
|subsequent=
| firstcrewed =
|concurrent=}}
| lastflight =
</pre>
| successes =
| failures =
| partialfailures =
| launchsite =
| uncrewvehicle =
| crewvehicle =
| capacity =
| launcher =
}}
</syntaxhighlight>
 
== Explanation of= Parameters ===
* '''name''': name of program (will use PAGENAME if omitted)
* country - the country in which the program was conducted
* '''native_name''': Program name in a native language using Western characters (French, German, Spanish, etc.)
* governmental - either "yes" or "no", to denote whether the program was conducted by a governmental organization
* '''native_name''': Program name in a native language with non-Western characters (Chinese, Japanese, Korean, Arabic, etc.)
* organization - the name of the organization which conducted the program
* duration'''native_name_r''': -(optional) theUse beginningin andconjunction endingwith datesabove for Romanized name of the program.
* '''image''': an image, typically the program insignia, if any
* firstflight - the date and/or designation of the first flight of the program whether manned or unmanned
* '''caption''': caption for the image, if needed
* firstcrewedflight - the date and/or designation of the first manned flight of the program if not also the first flight of the program
* '''country''': the country in which the program was conducted
* lastflight - the date and/or designation of the last flight in the program
* successes -'''organization''': the numbername of successfulthe missionsorganization inwhich conducted the program both manned and unmanned
* '''organisation''': use instead of organization to change the spelling to organisation
* failures - the number of failed missions (the designations of the failed missions may be included)
* '''manager''': current manager of the program, if the program is ongoing, otherwise use first and last manager of the program
* partialfailures - the number of partial failures (the designations of the partial failure missions may be included)
* '''purpose''': goal of the program ("uncrewed satellite", "human Earth orbit", "human lunar landing", etc.)
* launchsite - the locations from which the flights of the program were launched
* '''status''': current status of the program ("active", "completed", "abandoned", etc.)
* vehicletype - the type of craft in which the crews flew, usually either "capsule" or "reusable space plane"
* '''cost''': program cost, optional
* crewvehicle - the name of the crewed spacecraft (e.g. "[[Apollo Command Module]]", or "[[Space Shuttle Orbiter]]"
* '''duration''': the beginning and ending dates for the program
* capacity - the maximum number of crew that can (or did) occupy the spacecraft
* launcher -'''firstflight''': the namesdate and/or designation of the launchfirst vehiclesflight used inof the program whether crewed or uncrewed
* previous -'''firstcrewed''': the namedate and/or designation of the precedingfirst program,crewed ifflight noof the program isif designatednot herealso the templatefirst assumesflight "None", and will display this inof the infoboxprogram
* '''lastflight''': the date and/or designation of the last flight in the program
* subsequent - the name of the subsequent program (no default "value" is given so if none is provided none will be listed)
* '''successes''': the number of successful missions in the program both crewed and uncrewed
* concurrent - a list of program(s) that ran concurrent to the program that is the focus of the infobox, and can be programs of any nation
* '''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
* '''vehicletype''': the type(s) of vehicles involved in the program ("crewed", "uncrewed", "satellites")
* '''uncrewvehicle''': 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
* '''programme''': set to "yes" or "y" to change the header from Program history to Programme history
 
=== Example ===
{{Infobox space program
| name =Project Apollo program
| image = [[File:Apollo program.svg|frameless|upright]]
|country=[[United States]]
| 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
|governmental=Yes
| country = United States
|organization=[[National Aeronautics and Space Administration|NASA]]
| organization = [[NASA]]
|duration=1961-1972
| purpose = Crewed [[lunar landing]]
|firstflight=November 9, 1967
| cost = {{Unbulleted list
|firstcrewedflight=October 11, 1968
| $25.4 billion (1973)<ref name="ApolloCost">{{Cite book|url=https://catalog.hathitrust.org/Record/003212095|title=1974 NASA authorization hearings, Ninety-third Congress, first session, on H.R. 4567 (superseded by H.R. 7528).|date=1973|publisher=U.S. Govt. Print. Off.|___location=Washington}}</ref>
|lastflight=December 7, 1972
| ${{format price|{{Inflation|US-GDP|25400000000|1966|r=2}}}} ({{Inflation/year|US-GDP}}){{Inflation/fn|US-GDP}}
|successes=12
}}
|failures=1: [[Apollo 1]]
| status = Completed
|partialfailures=2:
| duration = 1961–1972
* [[Apollo 6]]
| firstflight = {{Unbulleted list
* [[Apollo 13]]
| [[Saturn I SA-1|SA-1]]
|launchsite=[[Kennedy Space Center]]
| {{Start date|1961|10|27}}
* [[LC-39A]]
}}
* [[LC-39B]]
| firstcrewed = {{Unbulleted list
*[[LC-37B]]
* | [[LC-34Apollo 7]]
| {{Start date|1968|10|11}}
|vehicletype=Capsule
}}
|crewvehicle=[[Apollo Command Module]]
| lastflight = {{Unbulleted list
|capacity=3
| [[Apollo 17]]
|launcher=
| {{Start date|1972|12|19}}
* [[Saturn Ib]]
}}
* [[Saturn V]]
| successes = 32
|previous=[[Project Gemini]]
| failures = 2 ([[Apollo 1]] and [[Apollo 13|13]])
|subsequent=[[Skylab]]
| partialfailures = 1 ([[Apollo 6]])
|concurrent=[[Voskhod programme|Voskhod Program]]
| launchsite = {{Unbulleted list
[[Soyuz programme|Soyuz Program]]}}
| [[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]]}}
}}
 
<syntaxhighlight lang="wikitext">
<pre style="overflow:auto; font-size:95%;border:0px solid black">
{{Infobox space program
| name =Project Apollo program
| image = [[File:Apollo program.svg|frameless|upright]]
|country=[[United States]]
| 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
|governmental=Yes
| country = United States
|organization=[[National Aeronautics and Space Administration|NASA]]
| organization = [[NASA]]
|duration=1961-1972
| purpose = Crewed [[lunar landing]]
|firstflight=November 9, 1967
| cost = {{Unbulleted list
|firstcrewedflight=October 11, 1968
| $25.4 billion (1973)<ref name="ApolloCost">{{Cite book|url=https://catalog.hathitrust.org/Record/003212095|title=1974 NASA authorization hearings, Ninety-third Congress, first session, on H.R. 4567 (superseded by H.R. 7528).|date=1973|publisher=U.S. Govt. Print. Off.|___location=Washington}}</ref>
|lastflight=December 7, 1972
| ${{format price|{{Inflation|US-GDP|25400000000|1966|r=2}}}} ({{Inflation/year|US-GDP}}){{Inflation/fn|US-GDP}}
|successes=12
}}
|failures=1: [[Apollo 1]]
| status = Completed
|partialfailures=2:
| duration = 1961–1972
* [[Apollo 6]]
| firstflight = {{Unbulleted list
* [[Apollo 13]]
| [[Saturn I SA-1|SA-1]]
|launchsite=[[Kennedy Space Center]]
| {{Start date|1961|10|27}}
* [[LC-39A]]
}}
* [[LC-39B]]
| firstcrewed = {{Unbulleted list
* [[LC-37B]]
* | [[LC-34Apollo 7]]
| {{Start date|1968|10|11}}
|vehicletype=Capsule
}}
|crewvehicle=[[Apollo Command Module]]
| lastflight = {{Unbulleted list
|capacity=3
|launcher=* [[SaturnApollo Ib17]]
| {{Start date|1972|12|19}}
* [[Saturn V]]
}}
|previous=[[Project Gemini]]
| successes = 32
|subsequent=[[Skylab]]
| failures = 2 ([[Apollo 1]] and [[Apollo 13|13]])
|concurrent=[[Voskhod programme|Voskhod Program]]
| partialfailures = 1 ([[Apollo 6]])
[[Soyuz programme|Soyuz Program}}
| launchsite = {{Unbulleted list
</pre>
| [[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]]}}
}}
</syntaxhighlight>
{{clear}}
 
== TemplateData ==
<TemplateData>
{
"description": "An infobox template for use in articles on space programs",
"format": "{{_\n| _______________ = _\n}}\n",
"params": {
"name": {
"label": "Name",
"description": "Name of the space program",
"type": "line",
"default": "Name of the page",
"example": "Apollo program"
},
"native_name": {
"suggested": true,
"label": "Native name",
"description": "Program name in a native language using Western characters (French, German, Spanish, etc.)"
},
"native_name_a": {
"label": "Direct native name",
"description": "Program name in a native language with non-Western characters (Chinese, Japanese, Korean, Arabic, etc.)",
"example": "遥感卫星"
},
"native_name_r": {
"label": "Romanized native name",
"description": "(optional) Use in conjunction with above for Romanized name of the program.",
"example": "Yáogǎn Wèixīng"
},
"image": {
"label": "Image",
"description": "an image, typically the program insignia"
},
"image_size": {
"aliases": ["imsize"],
"label": "Image size",
"description": "width of the image",
"example": "220px"
},
"country": {
"label": "Country",
"description": "the country that conducted the program, may be preceded with flagicon",
"example": "[[People's Republic of China]]"
},
"organization": {
"label": "Organization",
"description": "the name of the organization which conducted the program",
"example": "[[NASA]]"
},
"organisation": {
"label": "Organisation",
"description": "use instead of organization to change the spelling to 'organization'",
"example": "[[European Space Agency]]"
},
"manager": {
"label": "Manager",
"description": "current manager of the program, if the program is ongoing, otherwise user first and last manager of the program",
"example": "[[Joseph Francis Shea]]"
},
"purpose": {
"label": "Purpose",
"description": "goal of the program",
"example": "uncrewed satellite, human Earth orbit, reconnaissance, human lunar landing"
},
"status": {
"label": "Status",
"description": "current status of the program",
"example": "active, completed, abandoned, etc."
},
"cost": {
"label": "Cost",
"description": "cost of the program",
"example": "$2 trillion [[USD]]"
},
"duration": {
"label": "Duration",
"description": "the beginning and ending dates for the program",
"example": "12 January 1997 – 30 August 2004"
},
"firstflight": {
"aliases": ["first", "maiden", "maidenflight"],
"label": "First (maiden) flight",
"description": "the date and/or name of the first flight of the program",
"example": "1 May 2014"
},
"firstcrewed": {
"label": "First crewed flight",
"description": "the date and/or name of the first crewed flight of the program",
"example": "24 April 2022"
},
"lastflight": {
"aliases": ["last"],
"label": "Last (final) flight",
"description": "the date and/or name of the last flight of the program",
"example": "Apollo 17"
},
"successes": {
"label": "Number of successes",
"description": "the number of successes experienced in the program",
"example": "24"
},
"failures": {
"label": "Number of failures",
"description": "the number of failures experienced in the program",
"example": "6"
},
"partialfailures": {
"label": "Number of partial failures",
"description": "the number of partial failures experienced in the program",
"example": "2"
},
"launchsite": {
"label": "Launch site(s)",
"description": "the ___location(s) from which the flights of the program were launched",
"example": "[[Taiyuan Satellite Launch Center|TSLC]]"
},
"vehicletype": {
"label": "Vehicle type(s)",
"description": "the type(s) of vehicles involved in the program",
"example": "Crewed, uncrewed, satellites"
},
"uncrewvehicle": {
"label": "Uncrewed vehicle",
"description": "the uncrewed spacecraft involved in the program"
},
"crewvehicle": {
"label": "Crewed vehicle(s)",
"description": "the crewed spacecraft involved in the program",
"example": "[[Apollo command and service module|Apollo CSM]]"
},
"capacity": {
"label": "Capacity",
"description": "the maximum number of crew that can (or did) occupy the spacecraft",
"example": "4"
},
"launcher": {
"label": "Launcher(s)",
"description": "the launch vehicle(s) used in the program",
"example": "[[Little Joe II]]"
},
"programme": {
"label": "Programme",
"description": "set to 'yes' or 'y' to change the header from 'Program history' to 'Programme history'",
"example": "yes"
}
}
}
</TemplateData>
 
== Microformat ==
{{UF-hprodhcal}}
 
== Tracking category ==
* {{clc|Pages using infobox space program with unknown parameters}}
 
== See also ==
{{Spaceflight infoboxes}}
 
<includeonly><!--{{sandbox CATEGORIES AND INTERWIKIS HERE, THANKS -->other||
<!--Categories below this line, please; interwikis at Wikidata-->
[[Category:Spaceflight infobox templates|rocket]]
[[Category:Spaceflight infobox templates|Space Program]]
</includeonly>
[[Category:Templates that add a tracking category]]
}}
}}</includeonly>