Jump to content

Template:Infobox individual space vehicle: Difference between revisions

From Wikipedia, the free encyclopedia
Content deleted Content added
No edit summary
Add support for "programme=" with {{infobox spaceflight}} semantics. This will enable display of prev/next like "class=" does, but won't display the programme anywhere else.
 
(39 intermediate revisions by 9 users not shown)
Line 1: Line 1:
{{Infobox
<includeonly>{{Infobox
| headerstyle = background: #ddf;
| name = Infobox individual space vehicle
| subheaderstyle2 = background: #ddf;
| above = {{{name|}}}
| subheader = {{#if:{{{mission|}}}|Part of {{{mission|}}} }}
| above = {{{name|{{PAGENAMEBASE}}}}}
| subheader = {{{native_name|}}}
| subheader2 = {{#if:{{{mission|}}} | Part of {{{mission}}} }}
| image = {{#invoke:InfoboxImage|InfoboxImage|image={{{image|}}}|alt={{{image_alt|}}}|sizedefault=frameless|upright={{{image_size|1.2}}}}}
| caption = {{{caption|}}}


| label1 = Type
| image = {{#invoke:InfoboxImage|InfoboxImage|image={{{image|}}}|alt={{{alt|}}}|size={{{image_size|}}}|sizedefault=frameless|upright=1.18}}
| caption = {{{caption|}}}
| data1 = {{{type|}}}
| label2 = Class
| data2 = {{{class|}}}
| label3 = [[Eponym]]
| data3 = {{{eponym|}}}
| label4 = Other name(s)
| data4 = {{{other_names|}}}
| label5 = Serial {{abbr|no.|number}}
| data5 = {{{serial|}}}
| label6 = [[International Designator|COSPAR ID]]
| data6 = {{{COSPAR|}}}
| label7 = [[Satellite Catalog Number|SATCAT {{abbr|no.|number}}]]
| data7 = {{{SATCAT|}}}
| label8 = Owner
| data8 = {{{owner|}}}
| label9 = Manufacturer
| data9 = {{{manufacturer|}}}


| header10 = {{#if:{{{dimensions|}}}{{{dry_mass|}}}{{{launch_mass|}}}{{{communication|}}}{{{power|}}}{{{rocket|}}} | Specifications }}
| label1 = Other name(s)
| label11 = Dimensions
| data1 = {{{other_names|}}}
| data11 = {{{dimensions|}}}
| label2 = Type
| label12 = Dry mass
| data2 = {{{type|}}}
| label3 = Named after
| data12 = {{{dry_mass|}}}
| label13 = Launch mass
| data3 = {{{named_after|}}}
| data13 = {{{launch_mass|}}}
| label4 = Manufacturer
| label14 = Communication
| data4 = {{{manufacturer|}}}
| data14 = {{{communication|}}}
| label5 = Construction number
| label15 = Power
| data5 = {{{construction_number|}}}
| label6 = Manufactured
| data15 = {{{power|}}}
| label16 = Rocket
| data6 = {{{construction_date|}}}
| label7 = Registration
| data16 = {{{rocket|}}}
| data7 = {{{civil_registration|}}}
| header8 = {{#if:{{{length|}}}{{{diameter|}}}{{{launch_mass|}}}{{{landing_mass|}}}{{{power|}}}|Technical details}}
| label9 = Length
| data9 = {{{length|}}}
| label10 = Diameter
| data10 = {{{diameter|}}}
| label11 = Launch mass
| data11 = {{{launch_mass|}}}
| label12 = Landing mass
| data12 = {{{landing_mass|}}}
| label13 = Power
| data13 = {{{power|}}}
| header14 = {{#if:{{{first_flight|}}}{{{first_flight_date|}}}{{{only_flight|}}}{{{owners|}}}{{{last_flight|}}}{{{last_flight_date|}}}{{{flights|}}}{{{total_hours|}}}{{{distance_traveled|}}}|{{{distance_travelled|}}}{{{orbits_completed|}}}{{{status|}}}{{{vehicles_carried|}}}{{{fate|}}}{{{preserved_at|}}}|Flight history}}
| label15 = First flight
| data15 = {{{first_flight|}}}{{#if:{{{first_flight_date|}}}|<br>{{{first_flight_date|}}} }}
| label16 = Only flight
| data16 = {{{only_flight|}}}
| label17 = Owners and operators
| data17 = {{{owners|}}}
| label18 = Last flight
| data18 = {{{last_flight|}}}{{#if:{{{last_flight_date|}}}|<br>{{{last_flight_date|}}} }}
| label19 = Flights
| data19 = {{{flights|}}}
| label20 = Total hours
| data20 = {{{total_hours|}}}
| label21 = {{#if:{{{distance_traveled|}}}|Distance traveled|Distance travelled}}
| data21 = {{#if:{{{distance_traveled|}}}|{{{distance_traveled|}}}|{{{distance_travelled|}}} }}
| label22 = Orbits completed
| data22 = {{{orbits_completed|}}}
| label23 = Status
| data23 = {{{status|}}}
| label24 = Vehicles carried
| data24 = {{{vehicles_carried|}}}
| label25 = Fate
| data25 = {{{fate|}}}
| label26 = Preserved at
| data26 = {{{preserved_at|}}}


| header17 = {{#if:{{{instruments|}}} | Instruments }}
| below = {{succession links|abovestyle = border-top:1px #aaa solid
| above = {{{succession|}}}
| data18 = {{{instruments|}}}

| left = {{{previous_vehicle|}}}
| header19 = {{#if:{{{launched|}}}{{{launched_from|}}}{{{deployed|}}}{{{deployed_from|}}}{{{location|}}}{{{first_flight_date|}}}{{{first_flight|}}}{{{last_flight_date|}}}{{{last_flight|}}}{{{flights|}}}{{{time|}}}{{{traveled|}}}{{{travelled|}}}{{{orbits|}}}{{{fate|}}}| History }}
| right = {{{next_vehicle|}}}
| label20 = Launched
}}{{#if:{{{succession2|}}} | &nbsp; {{succession links|abovestyle = border-top:1px #aaa solid
| data20 = {{#if:{{{launched_from|}}} | {{Unbulleted list|{{{launched|}}}|from {{{launched_from|}}}}} | {{{launch|}}} }}
| above = {{{succession2|}}}
| label21 = Deployed
| left = {{{previous_vehicle2|}}}
| data21 = {{#if:{{{deployed_from|}}} | {{Unbulleted list|{{{deployed|}}}|from {{{deployed_from|}}}}} | {{{deployed|}}} }}
| right = {{{next_vehicle2|}}}
| label22 = Location
}}
| data22 = {{#if:{{{fate|}}} | | {{{location|}}} }}
}}
| label23 = First flight
}}
| data23 = {{#if:{{{first_flight_date|}}} | {{Unbulleted list|{{{first_flight_date|}}}|{{{first_flight|}}}}} | {{{first_flight|}}} }}
<noinclude>
| label24 = Last flight
{{doc}}
| data24 = {{#if:{{{last_flight_date|}}} | {{Unbulleted list|{{{last_flight_date|}}}|{{{last_flight|}}}}} | {{{last_flight|}}} }}
</noinclude>
| label25 = Flights
| data25 = {{{flights|}}}
| label26 = Flight time
| data26 = {{{time|}}}
| label27 = {{#if:{{{traveled|}}} | Traveled | Travelled }}
| data27 = {{#if:{{{traveled|}}} | {{{traveled|}}} | {{{travelled|}}} }}
| label28 = Orbits
| data28 = {{{orbits|}}}
| label29 = Fate
| data29 = {{{fate|}}}
| label30 = Location
| data30 = {{#if:{{{fate|}}} | {{{location|}}} }}

| header31 = {{#if:{{{class|{{{programme|}}}}}} | {{#if:{{{previous|}}}{{{next|}}} | {{{class|{{{programme|}}}}}}s }} }}
| below = {{#if:{{{class|{{{programme|}}}}}} | {{#if:{{{previous|}}}{{{next|}}} | {{succession links|left={{{previous|}}}|right={{{next|}}}}} }} }}
}}</includeonly><noinclude>{{Documentation}}</noinclude>

Latest revision as of 05:07, 6 January 2022