Difference between revisions of "Template:Infobox space shuttle"

From blackwiki
Jump to navigation Jump to search
imported>Philip Stevens
(updated code)
imported>Thumperward
(update styling)
Line 1: Line 1:
 
{| {{WPMILHIST Infobox style|main_box}}
 
{| {{WPMILHIST Infobox style|main_box}}
!colspan="2" style="height:30px; background:cornflowerblue; text-align:center; font-size:130%; color:white;"| ''{{{name}}}''
+
|+ colspan=2 | '''''{{{name}}}'''''
 
|-
 
|-
 
|colspan="2" align="center"| {{#if:{{{image<includeonly>|</includeonly>}}}
 
|colspan="2" align="center"| {{#if:{{{image<includeonly>|</includeonly>}}}
Line 7: Line 7:
  
 
-->{{#if:{{{number<includeonly>|</includeonly>}}}
 
-->{{#if:{{{number<includeonly>|</includeonly>}}}
|<tr valign="top"><td>'''[[Orbiter Vehicle Designation|OV&nbsp;Designation]]:'''</td><td valign="middle">{{{number}}}</td></tr>}}<!--
+
|<tr valign="top"><td>'''[[Orbiter Vehicle Designation|OV&nbsp;designation]]'''</td><td valign="middle">{{{number}}}</td></tr>}}<!--
  
 
-->{{#if:{{{country<includeonly>|</includeonly>}}}
 
-->{{#if:{{{country<includeonly>|</includeonly>}}}
|<tr valign="top"><td>'''Country:'''</td><td>{{{country}}}</td></tr>}}<!--
+
|<tr valign="top"><td>'''Country'''</td><td>{{{country}}}</td></tr>}}<!--
  
 
-->{{#if:{{{contract<includeonly>|</includeonly>}}}
 
-->{{#if:{{{contract<includeonly>|</includeonly>}}}
|<tr valign="top"><td>'''Contract&nbsp;award:'''</td><td>{{{contract}}}</td></tr>}}<!--
+
|<tr valign="top"><td>'''Contract&nbsp;award'''</td><td>{{{contract}}}</td></tr>}}<!--
  
 
-->{{#if:{{{named_after<includeonly>|</includeonly>}}}
 
-->{{#if:{{{named_after<includeonly>|</includeonly>}}}
|<tr valign="top"><td>'''Named&nbsp;after:'''</td><td>{{{named_after}}}</td></tr>}}<!--
+
|<tr valign="top"><td>'''Named&nbsp;after'''</td><td>{{{named_after}}}</td></tr>}}<!--
  
 
-->{{#if:{{{first_flight<includeonly>|</includeonly>}}}
 
-->{{#if:{{{first_flight<includeonly>|</includeonly>}}}
 
|<tr valign="top">
 
|<tr valign="top">
<td>'''First&nbsp;flight:'''</td><td>{{{first_flight}}}<br/>{{{first_date|}}}</td></tr>}}<!--
+
<td>'''First&nbsp;flight'''</td><td>{{{first_flight}}}<br/>{{{first_date|}}}</td></tr>}}<!--
  
 
-->{{#if:{{{last_flight<includeonly>|</includeonly>}}}
 
-->{{#if:{{{last_flight<includeonly>|</includeonly>}}}
 
|<tr valign="top">
 
|<tr valign="top">
<td>'''Last&nbsp;flight:'''</td><td>{{{last_flight}}}<br/>{{{last_date|}}}</td></tr>}}<!--
+
<td>'''Last&nbsp;flight'''</td><td>{{{last_flight}}}<br/>{{{last_date|}}}</td></tr>}}<!--
  
 
-->{{#if:{{{Planned_Retirement<includeonly>|</includeonly>}}}
 
-->{{#if:{{{Planned_Retirement<includeonly>|</includeonly>}}}
 
|<tr valign="top">
 
|<tr valign="top">
<td>'''Planned&nbsp;Retirement:'''</td><td>{{{retirement}}}<br/>{{{date|}}}</td></tr>}}<!--
+
<td>'''Planned&nbsp;retirement'''</td><td>{{{retirement}}}<br/>{{{date|}}}</td></tr>}}<!--
  
 
-->{{#if:{{{missions<includeonly>|</includeonly>}}}
 
-->{{#if:{{{missions<includeonly>|</includeonly>}}}
|<tr valign="top"><td>'''Number&nbsp;of&nbsp;missions:'''</td><td>{{{missions}}}</td></tr>}}<!--
+
|<tr valign="top"><td>'''Number&nbsp;of&nbsp;missions'''</td><td>{{{missions}}}</td></tr>}}<!--
  
 
-->{{#if:{{{crews<includeonly>|</includeonly>}}}
 
-->{{#if:{{{crews<includeonly>|</includeonly>}}}
|<tr valign="top"><td>'''Crews:'''</td><td>{{{crews}}}</td></tr>}}<!--
+
|<tr valign="top"><td>'''Crews'''</td><td>{{{crews}}}</td></tr>}}<!--
  
 
-->{{#if:{{{time<includeonly>|</includeonly>}}}
 
-->{{#if:{{{time<includeonly>|</includeonly>}}}
|<tr valign=top><td>'''Time&nbsp;spent&nbsp;in&nbsp;space:'''</td><td>{{{time}}}</td></tr>}}<!--
+
|<tr valign=top><td>'''Time&nbsp;spent&nbsp;in&nbsp;space'''</td><td>{{{time}}}</td></tr>}}<!--
  
 
-->{{#if:{{{orbits<includeonly>|</includeonly>}}}
 
-->{{#if:{{{orbits<includeonly>|</includeonly>}}}
|<tr valign="top"><td>'''Number&nbsp;of&nbsp;orbits:'''</td><td>{{{orbits}}}</td></tr>}}<!--
+
|<tr valign="top"><td>'''Number&nbsp;of&nbsp;orbits'''</td><td>{{{orbits}}}</td></tr>}}<!--
  
 
-->{{#if:{{{distance<includeonly>|</includeonly>}}}
 
-->{{#if:{{{distance<includeonly>|</includeonly>}}}
|<tr valign="top"><td>'''Distance&nbsp;travelled:'''</td><td>{{{distance}}}</td></tr>}}<!--
+
|<tr valign="top"><td>'''Distance&nbsp;travelled'''</td><td>{{{distance}}}</td></tr>}}<!--
  
 
-->{{#if:{{{deployed<includeonly>|</includeonly>}}}
 
-->{{#if:{{{deployed<includeonly>|</includeonly>}}}
|<tr valign="top"><td>'''Satellites&nbsp;deployed:'''</td><td>{{{deployed}}}</td></tr>}}<!--
+
|<tr valign="top"><td>'''Satellites&nbsp;deployed'''</td><td>{{{deployed}}}</td></tr>}}<!--
  
 
-->{{#if:{{{dockings_mir<includeonly>|</includeonly>}}}
 
-->{{#if:{{{dockings_mir<includeonly>|</includeonly>}}}
|<tr valign="top"><td>'''[[Mir]]&nbsp;dockings:'''</td><td>{{{dockings_mir}}}</td></tr>}}<!--
+
|<tr valign="top"><td>'''[[Mir]]&nbsp;dockings'''</td><td>{{{dockings_mir}}}</td></tr>}}<!--
  
 
-->{{#if:{{{dockings_iss<includeonly>|</includeonly>}}}
 
-->{{#if:{{{dockings_iss<includeonly>|</includeonly>}}}
 
|<tr valign="top">
 
|<tr valign="top">
<td>'''[[International Space Station|ISS]]&nbsp;dockings:'''</td><td>{{{dockings_iss}}}</td></tr>}}<!--
+
<td>'''[[International Space Station|ISS]]&nbsp;dockings'''</td><td>{{{dockings_iss}}}</td></tr>}}<!--
  
 
-->{{#if:{{{status<includeonly>|</includeonly>}}}
 
-->{{#if:{{{status<includeonly>|</includeonly>}}}

Revision as of 12:43, 25 September 2008

{{{name}}}
[[Image:{{{image}}}|200px|Infobox space shuttle]]
{{{caption}}}
OV designation{{{number}}}
Country{{{country}}}
Contract award{{{contract}}}
Named after{{{named_after}}}
First flight{{{first_flight}}}
Last flight{{{last_flight}}}
Planned retirement{{{retirement}}}
Number of missions{{{missions}}}
Crews{{{crews}}}
Time spent in space{{{time}}}
Number of orbits{{{orbits}}}
Distance travelled{{{distance}}}
Satellites deployed{{{deployed}}}
Mir dockings{{{dockings_mir}}}
ISS dockings{{{dockings_iss}}}
Status:{{{status}}}
50px Template documentation[view] [edit] [history] [purge]

This infobox is used for individual Space Shuttle orbiters and Buran-class orbiters.

Usage

Full code
{{Infobox space shuttle
| name = <!-- English name(s) of the orbiter, page name if left blank -->
| native_name = <!-- Native name(s) of the orbiter -->
| native_name_lang = <!-- ISO-639-1 designation of the native language -->
| image = <!-- image of the orbiter without Image: or File: prefixes -->
| image_size = <!-- image size of the orbiter -->
| alt = <!-- image alt of the orbitere -->
| caption = <!-- image caption of the orbiter -->
| type = <!-- type of the orbiter -->
| number = <!-- construction number of the orbiter -->
| country = <!-- country who manufactured the orbiter -->
| contract = <!-- when the orbiter was contracted -->
| named_after = <!-- namesake of the orbiter -->
| status = <!-- current status of the orbiter -->
| first_flight = <!-- first flight of the orbiter -->
| first_date = <!-- range of the first flight -->
| last_flight = <!-- last flight of the orbiter -->
| last_date = <!-- range of the last flight -->
| retirement = <!-- planned flight after which the orbiter will be retired, if the orbiter is currently in service -->
| date = <!-- date of the planned retirement -->
| missions = <!-- number of missions the orbiter accomplished -->
| crews = <!-- total number of crews the orbiter carried -->
| time = <!-- total number of days the orbiter spent in space -->
| orbits = <!-- total number of orbits the orbiter orbited -->
| distance = <!-- total distance the orbiter traveled in space -->
| deployed = <!-- number of satellites the orbiter deployed -->
| dockings_mir = <!-- number of times the orbiter docked to the Mir space station -->
| dockings_iss = <!-- number of times the orbiter docked to the International Space Station -->
}}

Example

''Columbia''
Infobox space shuttle
Columbia launches on STS-109 (HST-3B) to repair the Hubble Space telescope.
OV designationOV-102
CountryUnited States
Contract awardJuly 26, 1972
Named afterColumbia (1773)
(renamed Columbia Rediviva, 1787)
First flightSTS-1
April 12, 1981 – April 14, 1981
Last flightSTS-107
January 16, 2003 – February 1, 2003
Number of missions28
Crews160
Number of orbits4,808
Distance travelled201,497,772 km (125,204,911 mi)
Satellites deployed8
Status:Destroyed (February 1, 2003)
{{Infobox space shuttle
| name =''Columbia''
| image = STS-109 launch.jpg
| caption = ''Columbia'' launches on STS-109 (HST-3B) to repair the Hubble Space telescope.
| type = [[Space Shuttle orbiter]]
| number =OV-102
| country =United States
| contract =July 26, 1972
| named_after =''[[Columbia Rediviva|Columbia]]'' (1773)<br/> (renamed ''[[Columbia Rediviva]]'', 1787)
| status =[[Space Shuttle Columbia disaster|Destroyed]] (February 1, 2003)
| first_flight =[[STS-1]]
| first_date =April 12, 1981 – April 14, 1981
| last_flight =[[STS-107]]
| last_date =January 16, 2003 – February 1, 2003
| missions =28
| crews =160
| days =300
| orbits =4,808
| distance ={{cvt|201,497,772|km}}
| deployed =8
}}

See also

Template:Spaceflight infoboxes