Content deleted Content added
m →Example: example needs to show closing brackets |
template shortcut |
||
(25 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
|status
|cost
|duration
|firstflight
Line 18 ⟶ 29:
|partialfailures
|launchsite
|uncrewvehicle
|crewvehicle
|capacity
Line 24 ⟶ 35:
}}
<syntaxhighlight lang="wikitext" style="overflow:auto;">
{{Infobox space program
| name =
| native_name =
| native_name_a =
| native_name_r =
| image =
| image_size =
| upright =
|
| caption =
| country =
| organization = <!-- or | organisation = -->
| manager =
| purpose =
| status =
| cost =
| duration =
| firstflight =
| firstcrewed =
| lastflight =
| successes =
| failures =
| partialfailures =
| launchsite =
| uncrewvehicle =
| crewvehicle =
| capacity =
| launcher =
}}
</syntaxhighlight>
=== Parameters ===
* '''name
* '''native_name''': Program name in a native language using Western characters (French, German, Spanish, etc.)
* '''native_name''': Program name in a native language with non-Western characters (Chinese, Japanese, Korean, Arabic, etc.)
* '''native_name_r''': (optional) Use in conjunction with above for Romanized name of the program.
* '''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
*
* '''organisation''': use instead of organization to change the spelling to organisation
*
* '''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
*
* '''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
*
* '''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 =
| image = [[File:Apollo program
| 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">{{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>
| ${{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
| {{Start date|1961|10|27}}
}}
| firstcrewed = {{Unbulleted list
| [[Apollo 7]]
| {{Start date|1968|10|11}}
}}
| lastflight = {{Unbulleted list
| {{Start date|1972|12|19}}
}}
| successes = 32
| failures = 2 ([[Apollo 1]] and [[Apollo 13|13]])
|
| 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]]}}
}}
<syntaxhighlight lang="wikitext">
{{Infobox space program
| name =
| image = [[File:Apollo program
| 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">{{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>
| ${{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
| {{Start date|1961|10|27}}
}}
| firstcrewed = {{Unbulleted list
| [[Apollo 7]]
| {{Start date|1968|10|11}}
}}
| lastflight = {{Unbulleted list
| {{Start date|1972|12|19}}
}}
| successes = 32
| failures = 2 ([[Apollo 1]] and [[Apollo 13|13]])
|
| 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]]}}
}}
</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-hcal}}
== Tracking category ==
* {{clc|Pages using infobox space program with unknown parameters}}
== See also ==
{{Spaceflight infoboxes}}
<includeonly>{{
<!--Categories below this line, please; interwikis at Wikidata-->
[[Category:Spaceflight infobox templates|Space Program]]
[[Category:Templates that add a tracking category]]
}}</includeonly>
|