Difference between revisions of "Template:Infobox space shuttle"

From blackwiki
Jump to navigation Jump to search
imported>Sardanaphalus
(category)
imported>Soumya-8974
 
(22 intermediate revisions by 12 users not shown)
Line 1: Line 1:
{| class="infobox bordered" style="width:23em; font-size:90%; text-align:left;" cellpadding="4"
+
<includeonly>
!colspan="2" style="height:30px; background:cornflowerblue; text-align:center; font-size:130%; color:white;"| ''{{{name}}}''
+
{{Infobox
|-
+
| bodyclass = vevent
|colspan="2" align="center"| {{#if:{{{image<includeonly>|</includeonly>}}}
+
| title  = {{{name|{{PAGENAMEBASE}}}}}
|[[Image:{{{image}}}|200px|{{PAGENAME}}]]<br/>
+
| above  = {{#if:{{{native_name|}}}|{{lang|{{{native_name_lang}}}|{{{native_name|}}}}}}}
<small>{{{caption<includeonly>|</includeonly>}}}</small>}}<!--
+
| aboveclass = summary
 
+
| image    = {{#invoke:InfoboxImage|InfoboxImage|image={{{image|}}}|size={{{image size|{{{image_size|{{{imagesize|}}}}}}}}}|alt={{{alt|}}}}}  
-->{{#if:{{{number<includeonly>|</includeonly>}}}
+
| caption = {{{caption|}}}
|<tr valign="top"><td>[[Orbiter Vehicle Designation|OV&nbsp;Designation]]</td><td valign="middle">{{{number}}}</td></tr>}}<!--
+
| label1  = Type
 
+
| data1  = {{{type|}}}
-->{{#if:{{{country<includeonly>|</includeonly>}}}
+
| label2  = {{#switch:{{{type|}}}|Space Shuttle|[[Space Shuttle]]|Space Shuttle orbiter|[[Space Shuttle orbiter]]=[[Orbiter Vehicle Designation|OV designation]]|#default=Construction number}}
|<tr valign="top"><td>Country</td><td>{{{country}}}</td></tr>}}<!--
+
| data2  = {{{number|}}}
 
+
| label3  = Country
-->{{#if:{{{contract<includeonly>|</includeonly>}}}
+
| data3  = {{{country|}}}
|<tr valign="top"><td>Contract&nbsp;award</td><td>{{{contract}}}</td></tr>}}<!--
+
| label4  = Contract award
 
+
| data4  = {{{contract|}}}
-->{{#if:{{{named_after<includeonly>|</includeonly>}}}
+
| label5  = Named after
|<tr valign="top"><td>Named&nbsp;after</td><td>{{{named_after}}}</td></tr>}}<!--
+
| data5  = {{{named_after|}}}
 
+
| label6  = Status
-->{{#if:{{{first_flight<includeonly>|</includeonly>}}}
+
| data6  = {{{status|}}}
|<tr valign="top">
+
| label7  = First flight
<td>First&nbsp;flight</td><td>{{{first_flight}}}<br/>{{{first_date|}}}</td></tr>}}<!--
+
| data7  = {{{first_flight|}}}{{#if:{{{first_date|}}}|<br />{{{first_date}}} }}
 
+
| label8  = Last flight
-->{{#if:{{{last_flight<includeonly>|</includeonly>}}}
+
| data8  = {{{last_flight|}}}{{#if:{{{last_date|}}}|<br />{{{last_date}}} }}
|<tr valign="top">
+
| label9  = Planned retirement
<td>Last&nbsp;flight</td><td>{{{last_flight}}}<br/>{{{last_date|}}}</td></tr>}}<!--
+
| data9  = {{{retirement|}}}{{#if:{{{date|}}}|<br />{{{date}}} }}
 
+
| label10  = {{abbr|No.|Number}} of missions
-->{{#if:{{{Planned_Retirement<includeonly>|</includeonly>}}}
+
| data10  = {{{missions|}}}
|<tr valign="top">
+
| label11 = Crew members
<td>Planned&nbsp;Retirement</td><td>{{{retirement}}}<br/>{{{date|}}}</td></tr>}}<!--
+
| data11  = {{{crews|}}}
 
+
| label12 = Days spent in space
-->{{#if:{{{missions<includeonly>|</includeonly>}}}
+
| data12  = {{{days|{{{time|}}}}}}
|<tr valign="top"><td>Number&nbsp;of&nbsp;missions</td><td>{{{missions}}}</td></tr>}}<!--
+
| label13 = {{abbr|No.|Number}} of orbits
 
+
| data13  = {{{orbits|}}}
-->{{#if:{{{crews<includeonly>|</includeonly>}}}
+
| label14 = Distance travelled
|<tr valign="top"><td>Crews</td><td>{{{crews}}}</td></tr>}}<!--
+
| data14  = {{{distance|}}}
 
+
| label15 = Satellites deployed
-->{{#if:{{{time<includeonly>|</includeonly>}}}
+
| data15  = {{{deployed|}}}
|<tr valign=top><td>Time&nbsp;spent&nbsp;in&nbsp;space&nbsp;</td><td>{{{time}}}</td></tr>}}<!--
+
| label16 = ''[[Mir]]'' dockings
 
+
| data16  = {{{dockings_mir|}}}
-->{{#if:{{{orbits<includeonly>|</includeonly>}}}
+
| label17 = [[International Space Station|ISS]] dockings
|<tr valign="top"><td>Number&nbsp;of&nbsp;orbits</td><td>{{{orbits}}}</td></tr>}}<!--
+
| data17  = {{{dockings_iss|}}}
 
+
}}</includeonly><noinclude>{{documentation}}</noinclude>
-->{{#if:{{{distance<includeonly>|</includeonly>}}}
 
|<tr valign="top"><td>Distance&nbsp;travelled</td><td>{{{distance}}}</td></tr>}}<!--
 
 
 
-->{{#if:{{{deployed<includeonly>|</includeonly>}}}
 
|<tr valign="top"><td>Satellites&nbsp;deployed</td><td>{{{deployed}}}</td></tr>}}<!--
 
 
 
-->{{#if:{{{dockings_mir<includeonly>|</includeonly>}}}
 
|<tr valign="top"><td>[[Mir]]&nbsp;dockings</td><td>{{{dockings_mir}}}</td></tr>}}<!--
 
 
 
-->{{#if:{{{dockings_iss<includeonly>|</includeonly>}}}
 
|<tr valign="top">
 
<td>[[International Space Station|ISS]]&nbsp;dockings</td><td>{{{dockings_iss}}}</td></tr>}}<!--
 
 
 
-->{{#if:{{{status<includeonly>|</includeonly>}}}
 
|<tr valign="top"><td>Status</td><td>{{{status}}}</td></tr>}}
 
 
 
|}<noinclude>
 
 
 
 
 
<!--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>
 

Latest revision as of 09:16, 7 August 2020

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
File:STS-109 launch.jpg
Columbia launches on STS-109 (HST-3B) to repair the Hubble Space telescope.
TypeSpace Shuttle orbiter
OV designationOV-102
CountryUnited States
Contract awardJuly 26, 1972
Named afterColumbia (1773)
(renamed Columbia Rediviva, 1787)
StatusDestroyed (February 1, 2003)
First flightSTS-1
April 12, 1981 – April 14, 1981
Last flightSTS-107
January 16, 2003 – February 1, 2003
No. of missions28
Crew members160
Days spent in space300
No. of orbits4,808
Distance travelled201,497,772 km (125,204,911 mi)
Satellites deployed8
[[Category:Infobox templates|Template:Remove first word]]
{{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