Difference between revisions of "Template:Infobox space shuttle"

From blackwiki
Jump to navigation Jump to search
imported>Sardanaphalus
(category)
imported>Philip Stevens
(updated code)
Line 1: Line 1:
{| class="infobox bordered" style="width:23em; font-size:90%; text-align:left;" cellpadding="4"
+
{| {{WPMILHIST Infobox style|main_box}}
 
!colspan="2" style="height:30px; background:cornflowerblue; text-align:center; font-size:130%; color:white;"| ''{{{name}}}''
 
!colspan="2" style="height:30px; background:cornflowerblue; text-align:center; font-size:130%; color:white;"| ''{{{name}}}''
 
|-
 
|-
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&nbsp;</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>}}}
|<tr valign="top"><td>Status</td><td>{{{status}}}</td></tr>}}
+
|<tr valign="top"><td>'''Status:'''</td><td>{{{status}}}</td></tr>}}
  
 
|}<noinclude>
 
|}<noinclude>
 
+
{{documentation}}
 
 
<!--Categories-->
 
[[Category:Space exploration infobox templates|Space Shuttle]]
 
[[Category:Transportation infobox templates|Space Shuttle]]
 
[[Category:Space Shuttle program|τ]]
 
 
 
<!--Other languages-->
 
[[bg:Шаблон:Инфо совалка]]
 
[[el:Πρότυπο:Στοιχεία διαστημικού λεωφορείου]]
 
[[fr:Modèle:Missions navette spatiale]]
 
[[hu:Sablon:Űrrepülőgép]]
 
[[ta:வார்ப்புரு:தகவற்சட்டம் விண்ணோடம்]]
 
[[zh:Template:Infobox Space Shuttle]]
 
 
</noinclude>
 
</noinclude>

Revision as of 11:05, 12 March 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 Designation:OV-102
Country:United States
Contract award:July 26, 1972
Named after:Columbia (1773)
(renamed Columbia Rediviva, 1787)
First flight:STS-1
April 12, 1981 – April 14, 1981
Last flight:STS-107
January 16, 2003 – February 1, 2003
Number of missions:28
Crews:160
Number of orbits:4,808
Distance travelled:201,497,772 km (125,204,911 mi)
Satellites deployed:8
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