Difference between revisions of "Template:Infobox individual space vehicle"

From blackwiki
Jump to navigation Jump to search
imported>Soumya-8974
imported>Terasail
(Added parameter "class" to the infobox)
Line 1: Line 1:
{{Infobox
+
<includeonly>{{Infobox
 
| headerstyle = background: #ddf;
 
| headerstyle = background: #ddf;
 
| subheaderstyle2 = background: #ddf;
 
| subheaderstyle2 = background: #ddf;
Line 13: Line 13:
 
|  label2  = Type
 
|  label2  = Type
 
|  data2  = {{{type|}}}
 
|  data2  = {{{type|}}}
|  label3  = Named after
+
|  label3 = Class
data3 = {{{named_after|}}}
+
|  data3  = {{{class|}}}
label4 = Manufacturer
+
|  label4 = Named after
data4 = {{{manufacturer|}}}
+
data4 = {{{named_after|}}}
label5 = Construction number
+
label5 = Manufacturer
data5 = {{{construction_number|}}}
+
data5 = {{{manufacturer|}}}
label6 = Manufactured
+
label6 = Construction number
data6 = {{{construction_date|}}}
+
data6 = {{{construction_number|}}}
label7 = Registration
+
label7 = Manufactured
data7 = {{{civil_registration|}}}
+
data7 = {{{construction_date|}}}
data8 = {{#if:{{{dimensions|}}}{{{length|}}}{{{diameter|}}}{{{height|}}}{{{launch_mass|}}}{{{landing_mass|}}}{{{power|}}}|{{Infobox|child=yes
+
label8 = Registration
 +
data8 = {{{civil_registration|}}}
 +
data9 = {{#if:{{{dimensions|}}}{{{length|}}}{{{diameter|}}}{{{height|}}}{{{launch_mass|}}}{{{landing_mass|}}}{{{power|}}}|{{Infobox|child=yes
 
| headerstyle = background: #ddf;
 
| headerstyle = background: #ddf;
 
| header1 = Technical details
 
| header1 = Technical details
Line 44: Line 46:
 
}}
 
}}
 
}}
 
}}
data9 = {{#if:{{{first_flight|}}}{{{first_flight_date|}}}{{{launch_date|}}}{{{launch_site|}}}{{{landing_site|}}}{{{landing_date|}}}{{{owners|}}}{{{last_flight|}}}{{{last_flight_date|}}}{{{flights|}}}{{{total_hours|}}}{{{distance_traveled|}}}{{{distance_travelled|}}}{{{orbits_completed|}}}{{{status|}}}{{{vehicles_carried|}}}{{{fate|}}}{{{preserved_at|}}}|{{Infobox|child=yes
+
data10 = {{#if:{{{first_flight|}}}{{{first_flight_date|}}}{{{launch_date|}}}{{{launch_site|}}}{{{landing_site|}}}{{{landing_date|}}}{{{owners|}}}{{{last_flight|}}}{{{last_flight_date|}}}{{{flights|}}}{{{total_hours|}}}{{{distance_traveled|}}}{{{distance_travelled|}}}{{{orbits_completed|}}}{{{status|}}}{{{vehicles_carried|}}}{{{fate|}}}{{{preserved_at|}}}|{{Infobox|child=yes
 
| headerstyle = background: #ddf;
 
| headerstyle = background: #ddf;
 
| header1 = Flight history
 
| header1 = Flight history
Line 77: Line 79:
 
}}
 
}}
 
}}
 
}}
| header10 = {{#if:{{{instruments|}}}|Instruments}}
+
| header11 = {{#if:{{{instruments|}}}|Instruments}}
data11 = {{{instruments|}}}
+
data12 = {{{instruments|}}}
  
 
| below          = {{#if:{{{insignia|}}}|{{#invoke:InfoboxImage|InfoboxImage|image={{{insignia|}}}|alt={{{insignia_alt|}}}|size={{{insignia_size|}}}|sizedefault=frameless|upright={{{insignia_upright|0.82}}}}}{{#if:{{{insignia_caption|}}}
 
| below          = {{#if:{{{insignia|}}}|{{#invoke:InfoboxImage|InfoboxImage|image={{{insignia|}}}|alt={{{insignia_alt|}}}|size={{{insignia_size|}}}|sizedefault=frameless|upright={{{insignia_upright|0.82}}}}}{{#if:{{{insignia_caption|}}}
Line 91: Line 93:
 
}}
 
}}
 
}}
 
}}
}}<noinclude>
+
}}</includeonly><noinclude>
 
{{doc}}
 
{{doc}}
 
</noinclude>
 
</noinclude>

Revision as of 15:16, 24 September 2020

Template documentation[view] [edit] [history] [purge]

This template is an offshoot of {{Infobox aircraft career}}, {{Infobox space shuttle}}, and {{Infobox spaceflight}}.

Usage

Template:Parameter names example

{{Infobox individual space vehicle
| name                = <!-- vehicle's name, avoid stating class and manufacturer unless name used by other manufacturers -->
| native_name         = <!-- vehicle's native name, if different from the English name -->
| mission             = <!-- the mission the vehicle is part of, usually only relevant for a vehicle not intended to be reused -->
| image               = <!-- omit the "file" prefix -->
| caption             = <!-- image caption -->
| alt                 = <!-- alt text for main image -->
| other names         = <!--other names (nicknames, nose art names) this vehicle is known by-->
| type                = <!--type of vehicle-->
| class               = <!--class of vehicle-->
| manufacturer        = <!-- may differ from the main/original manufacturer of this vehicle's type -->
| construction_number = <!-- manufacturer's construction number -->
| construction_date   = <!-- either roll-out date or span of time for lengthy projects, whichever seems more appropriate -->
| civil_registration  = <!-- any civil registrations carried by this vehicle -->
| dimensions          = <!-- dimensions of the vehicle, use only for miscellaneous details of the vehicle dimensions -->
| length              = <!-- length of the vehicle -->
| diameter            = <!-- diameter of the vehicle -->
| height              = <!-- height of the vehicle -->
| dry_mass            = <!-- dry mass of the vehicle -->
| launch_mass         = <!-- launch mass of the vehicle -->
| landing_mass        = <!-- landing mass of the vehicle -->
| power               = <!-- power of the vehicle -->
| first_flight        = <!-- first flight -->
| first_flight_date   = <!-- date of first flight -->
| launch_date         = <!-- launch date if the vehicle is not intended to be reused -->
| launch_site         = <!-- launch site of the vehicle -->
| owners              = <!-- owners or operators, whether government agencies, private individuals, companies, or military services -->
| last_flight         = <!-- last flight -->
| last_flight_date    = <!-- date of last flight -->
| landing_date        = <!-- landing date if the vehicle is not intended to be reused -->
| landing_site        = <!-- landing site of the vehicle -->
| flights             = <!-- number of flights made by this vehicle, usually only relevant for a vehicle intended to be reused -->
| total_hours         = <!-- total number of hours flown by this vehicle -->
| distance_travelled  = <!-- total distance travelled by this vehicle, that could be either travelling through space or on an extraterrestrial body -->
| distance_traveled   = <!-- American alias of the above -->
| orbits_completed    = <!-- number of orbits flown by this vehicle -->
| dockings            = <!-- total dockings to a space vehicle, likewise for "dockings2" -->
| docking_target      = <!-- the space vehicle the vehicle has been docked to, likewise for "docking2_target" -->
| status              = <!-- status for an vehicle still in service -->
| fate                = <!-- fate/disposition of this vehicle -->
| preservation        = <!-- where this vehicle is currently preserved (if it is) -->
| instruments         = <!--a list of instruments on the vehicle-->
| insignia            = <!--omit the "file" prefix-->
| insignia_size       = <!--include px/em; defaults to 180px-->
| insignia_upright    = <!--insignia scaling factor, preferred over insignia_size-->
| insignia_alt        = <!--image alt text-->
| insignia_caption    = <!--image caption-->
}}

See also

Template:Spaceflight infoboxes