Template:Infobox space program/doc: Difference between revisions

Content deleted Content added
Add example cost
template shortcut
 
(22 intermediate revisions by 11 users not shown)
Line 1:
{{Documentation subpage}}
<!--Categories where indicated at the bottom of this page, please; interwikis at Wikidata (see [[Wikipedia:Wikidata]])-->
{{tsh|Infobox space programme}}
{{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
|cost
|status
|cost
|duration
|firstflight
Line 20 ⟶ 29:
|partialfailures
|launchsite
|uncrewvehicle
|vehicletype
|crewvehicle
|capacity
Line 26 ⟶ 35:
}}
 
<syntaxhighlight lang="wikitext" style="overflow:auto;">
== Usage ==
<pre style="overflow:auto;">
{{Infobox space program
| name =
| native_name =
|image=
| native_name_a =
|image_size=
| native_name_r =
|alt=
| image =
|caption=
| image_size =
|country=
| upright =
|organization=
| alt =
|purpose=
| caption =
|cost=
| country =
|status=
| organization = <!-- or | organisation = -->
|duration=
| manager =
|firstflight=
| purpose =
|firstcrewed=
| status =
|lastflight=
| cost =
|successes=
| duration =
|failures=
| firstflight =
|partialfailures=
| firstcrewed =
|launchsite=
| lastflight =
|vehicletype=
| successes =
|crewvehicle=
| failures =
|capacity=
| partialfailures =
|launcher=
| launchsite =
| uncrewvehicle =
| crewvehicle =
| capacity =
| launcher =
}}
</syntaxhighlight>
</pre>
 
=== Parameters ===
* '''name -''': name of program (will use PAGENAME if omitted)
* '''native_name''': Program name in a native language using Western characters (French, German, Spanish, etc.)
* image - an image, typically the program insignia, if any
* '''native_name''': Program name in a native language with non-Western characters (Chinese, Japanese, Korean, Arabic, etc.)
* caption - caption for the image, if needed
* '''native_name_r''': (optional) Use in conjunction with above for Romanized name of the program.
* country - the country in which the program was conducted
* '''image''': an image, typically the program insignia, if any
* organization - the name of the organization which conducted the program
* '''caption''': caption for the image, if needed
* purpose - goal of the program ("unmanned satellite", "manned Earth orbit", "manned lunar landing", etc.)
* '''country''': the country in which the program was conducted
* cost - program cost, optional
* '''organization''': the name of the organization which conducted the program
* status - current status of the program ("active", "completed", "abandoned", etc.)
* '''organisation''': use instead of organization to change the spelling to organisation
* duration - the beginning and ending dates for the program
* '''manager''': current manager of the program, if the program is ongoing, otherwise use first and last manager of the program
* firstflight - the date and/or designation of the first flight of the program whether manned or unmanned
* '''purpose''': goal of the program ("uncrewed satellite", "human Earth orbit", "human lunar landing", etc.)
* firstcrewed - the date and/or designation of the first manned flight of the program if not also the first flight of the program
* '''status''': current status of the program ("active", "completed", "abandoned", etc.)
* lastflight - the date and/or designation of the last flight in the program
* '''cost''': program cost, optional
* successes - the number of successful missions in the program both manned and unmanned
* '''duration''': the beginning and ending dates for the program
* failures - the number of failed missions (the designations of the failed missions may be included)
* partialfailures -'''firstflight''': the numberdate ofand/or partialdesignation failuresof (the designationsfirst flight of the partial failureprogram missionswhether maycrewed beor included)uncrewed
* launchsite -'''firstcrewed''': the locationsdate fromand/or whichdesignation of the flightsfirst crewed flight of the program wereif launchednot also the first flight of the program
* '''lastflight''': the date and/or designation of the last flight in the program
* vehicletype - the type of craft in which the crews flew, usually either "capsule" or "reusable space plane"
* '''successes''': the number of successful missions in the program both crewed and uncrewed
* crewvehicle - the name of the crewed spacecraft (e.g. "[[Apollo Command Module]]" or "[[Space Shuttle Orbiter]]")
* capacity -'''failures''': the maximum number of crewfailed that canmissions (orthe did)designations occupyof the spacecraftfailed missions may be included)
* '''partialfailures''': the number of partial failures (the designations of the partial failure missions may be included)
* launcher - the names of the launch vehicles used in the program
* '''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 insignia.pngsvg|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
|image_size=250
| country = United States
|caption=
| organization = [[NASA]]
|country=[[United States]]
| purpose = Crewed [[lunar landing]]
|status=Completed
| cost = {{Unbulleted list
|organization=[[National Aeronautics and Space Administration|NASA]]
| $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>
|purpose=Manned [[Moon landing|lunar landing]]
| ${{format price|{{Inflation|US-GDP|25400000000|1966|r=2}}}} ({{Inflation/year|US-GDP}}){{Inflation/fn|US-GDP}}
|cost=$25.4 billion (1973)
}}
|duration=1961-1972
| status = Completed
|firstflight=February 26, 1966: [[AS-201]]
| duration = 1961–1972
|firstcrewed=October 11, 1968: [[Apollo 7]]
| firstflight = {{Unbulleted list
|lastflight=December 7, 1972
| [[Saturn I SA-1|SA-1]]
|successes=12
| {{Start date|1961|10|27}}
|failures=2:
}}
* [[Apollo 1]]
| firstcrewed = {{Unbulleted list
* [[Apollo 13]]
| [[Apollo 7]]
|partialfailures=1:
| {{Start date|1968|10|11}}
* [[Apollo 6]]
}}
|launchsite=[[Kennedy Space Center]]
| lastflight = {{Unbulleted list
* [[LC-39A]]
* | [[LC-39BApollo 17]]
| {{Start date|1972|12|19}}
* [[LC-37B]]
}}
* [[LC-34]]
| successes = 32
|vehicletype=Capsule
| failures = 2 ([[Apollo 1]] and [[Apollo 13|13]])
|crewvehicle=[[Apollo Command/Service Module|Command/Service Module]]<br>
| partialfailures = 1 ([[Apollo 6]])
[[Apollo Lunar Module|Lunar Module]]
| launchsite = {{Unbulleted list
|capacity=3
| [[Cape Canaveral Air Force Station Launch Complex 34|Cape Kennedy]]
|launcher=* [[Saturn IB]]
* | [[SaturnKennedy Space VCenter]]
| [[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]]}}
}}
 
<pre style="overflow:auto; font-size:95%;border:1px solid black">
<syntaxhighlight lang="wikitext">
{{Infobox space program
| name =Project Apollo program
| image = [[File:Apollo program insignia.pngsvg|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
|image_size=250
| country = United States
|caption=
| organization = [[NASA]]
|country=[[United States]]
| purpose = Crewed [[lunar landing]]
|status=Completed
| cost = {{Unbulleted list
|organization=[[National Aeronautics and Space Administration|NASA]]
| $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>
|purpose=Manned [[Moon landing|lunar landing]]
| ${{format price|{{Inflation|US-GDP|25400000000|1966|r=2}}}} ({{Inflation/year|US-GDP}}){{Inflation/fn|US-GDP}}
|cost=$25.4 billion (1973)
}}
|duration=1961-1972
| status = Completed
|firstflight=February 26, 1966: [[AS-201]]
| duration = 1961–1972
|firstcrewed=October 11, 1968: [[Apollo 7]]
| firstflight = {{Unbulleted list
|lastflight=December 7, 1972
| [[Saturn I SA-1|SA-1]]
|successes=12
| {{Start date|1961|10|27}}
|failures=2:
}}
* [[Apollo 1]]
| firstcrewed = {{Unbulleted list
* [[Apollo 13]]
| [[Apollo 7]]
|partialfailures=1:
| {{Start date|1968|10|11}}
* [[Apollo 6]]
}}
|launchsite=[[Kennedy Space Center]]
| lastflight = {{Unbulleted list
* [[LC-39A]]
* | [[LC-39BApollo 17]]
| {{Start date|1972|12|19}}
* [[LC-37B]]
}}
* [[LC-34]]
| successes = 32
|vehicletype=Capsule
| failures = 2 ([[Apollo 1]] and [[Apollo 13|13]])
|crewvehicle=[[Apollo Command/Service Module|Command/Service Module]]<br>
| partialfailures = 1 ([[Apollo 6]])
[[Apollo Lunar Module|Lunar Module]]
| launchsite = {{Unbulleted list
|capacity=3
| [[Cape Canaveral Air Force Station Launch Complex 34|Cape Kennedy]]
|launcher=* [[Saturn IB]]
* | [[SaturnKennedy Space VCenter]]
| [[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>
</pre>
{{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-hcal}}
 
== Tracking category ==
* {{clc|Pages using infobox space program with unknown parameters}}
 
== See also ==
{{Spaceflight infoboxes}}
 
<includeonly>{{#ifeq:{{SUBPAGENAME}}|sandbox other| |
<!--Categories below this line, please; interwikis at Wikidata-->
[[Category:Spaceflight infobox templates|Space Program]]
[[Category:Templates that add a tracking category]]
}}</includeonly>