Difference between revisions of "Template:Infobox spacecraft class"

From blackwiki
Jump to navigation Jump to search
imported>Trurle
(Undid revision 614330425 by Trurle (talk) edited by error, no need)
imported>WDGraham
(bring format into line with Template:Infobox spaceflight, add fields from Template:Infobox spacecraft type to facilitate merger)
Line 1: Line 1:
 
{{Infobox
 
{{Infobox
| bodyclass  = vcard vevent
+
|bodystyle  = width:25em;
| title     = {{{name<includeonly>|{{PAGENAME}}</includeonly>}}}
+
|title={{{name<includeonly>|{{PAGENAME}}</includeonly>}}}
| titleclass = fn org summary
 
| image      = {{#if:{{{image|}}}|[[Image:{{{image|}}}|{{{imsize|220}}}px]]}}
 
| caption    = {{{caption|}}}
 
  
| header1    = General information
+
|image = {{#invoke:InfoboxImage|InfoboxImage|image={{{image<includeonly>|</includeonly>}}}|alt={{{image_alt<includeonly>|</includeonly>}}}|size={{{image_size<includeonly>|{{{imsize|}}}</includeonly>}}}|sizedefault=frameless|upright=1.18}}
| label2    = Manufacturer
+
|caption    = {{{image_caption<includeonly>|{{{caption|}}}</includeonly>}}}
| data2      = {{{manufacturer<includeonly>|</includeonly>}}}
 
| label3    = Country of origin
 
| data3      = {{{country<includeonly>|</includeonly>}}}
 
| label4    = [[Satellite bus|Bus]]<!--constellations/systems only-->
 
| data4      = {{{bus<includeonly>|</includeonly>}}}
 
| label5    = Applications
 
| data5      = {{{applications<includeonly>|</includeonly>}}}
 
| label6    = Orbit regimes
 
| data6      = {{{orbits<includeonly>|</includeonly>}}}
 
| label7    = Operator
 
| data7      = {{{operator<includeonly>|</includeonly>}}}
 
| label8    = Lifetime
 
| data8      = {{{lifetime<includeonly>|</includeonly>}}}
 
| label9    = Derived from
 
| data9      = {{{derivedfrom<includeonly>|</includeonly>}}}
 
| label10    = Derivatives
 
| data10    = {{{derivatives<includeonly>|</includeonly>}}}
 
  
| header21  = Production
+
|data1      = {{infobox|child=yes
| label22    = Status
+
|label1   = Manufacturer
| data22    = {{{status<includeonly>|</includeonly>}}}
+
|data1     = {{{manufacturer<includeonly>|</includeonly>}}}
| label23    = Built
+
|label2   = Designer
| data23    = {{{built<includeonly>|</includeonly>}}}
+
|data2     = {{{designer<includeonly>|</includeonly>}}}
| label24   = On order
+
|label3   = Country of origin
| data24     = {{{orders<includeonly>|</includeonly>}}}
+
|data3     = {{{country<includeonly>|</includeonly>}}}
| label25   = Launched
+
|label4   = Operator
| data25     = {{{launched<includeonly>|</includeonly>}}}
+
|data4     = {{{operator<includeonly>|</includeonly>}}}
| label26   = Operational
+
|label5   = Applications
| data26     = {{{operational<includeonly>|</includeonly>}}}
+
|data5     = {{{applications<includeonly>|</includeonly>}}}
| label27   = Retired
+
}}
| data27     = {{{retired<includeonly>|</includeonly>}}}
 
| label28   = Failed
 
| data28     = {{{failed<includeonly>|</includeonly>}}}
 
| label29    = Lost
 
| data29    = {{{lost<includeonly>|</includeonly>}}}
 
| label30    = First launch
 
| data30    = {{{first<includeonly>|</includeonly>}}}
 
| label31    = Last launch
 
| data31    = {{{last<includeonly>|</includeonly>}}}
 
| label32    = Last retirement
 
| data32    = {{{lastretired<includeonly>|</includeonly>}}}
 
  
| header43  = {{#if:{{{mass|{{{power|{{{batteries|{{{equipment<includeonly>|</includeonly>}}}}}}}}}}}}|Typical spacecraft}}
+
|data2      =  
| label44    = Average mass
+
{{#if:<noinclude>A</noinclude>{{{spacecraft_type|}}}{{{spacecraft_bus|{{{bus|}}}}}}{{{constellation|}}}{{{design_life|}}}{{{launch_mass|}}}{{{dry_mass|}}}{{{payload_capacity|}}}{{{crew_capacity|}}}{{{dimensions|}}}{{{volume|}}}{{{power|}}}{{{batteries|}}}{{{equipment|}}}{{{orbits|}}}|
| data44    = {{#ifeq:{{{autoconvert|<includeonly>yes</includeonly>}}}|yes|{{#if:{{{mass|}}}|{{convert|{{{mass}}}|kg|abbr=on}}}}|{{{mass<includeonly>|</includeonly>}}}}}
+
{{infobox|child=yes|header1=Specifications
| label45   = Volume
+
|label2    = Spacecraft type
| data45     = {{#ifeq:{{{autoconvert|<includeonly>yes</includeonly>}}}|yes|{{#if:{{{unpressurized_volume|{{{unpressurised_volume|{{{volume|}}}}}}}}}|{{convert|{{{unpressurized_volume|{{{unpressurised_volume|{{{volume}}}}}}}}}|m3|abbr=on}}}}|{{{volume<includeonly>|</includeonly>}}}}}
+
|data2    = {{{spacecraft_type<includeonly>|</includeonly>}}}
| label46    = Power
+
|label3   = [[Satellite bus|Bus]]
| data46    = {{{power<includeonly>|</includeonly>}}}
+
|data3     = {{{spacecraft_bus<includeonly>|{{{bus|}}}</includeonly>}}}
| label47    = Batteries
+
|label4    = Constellation
| data47    = {{{batteries<includeonly>|</includeonly>}}}
+
|data4    = {{{constellation<includeonly>|</includeonly>}}}
| label48    = Equipment
+
|label5    = Design life
| data48    = {{{equipment<includeonly>|</includeonly>}}}
+
|data5    = {{{design_life<includeonly>|{{{lifetime|}}}</includeonly>}}}
 +
|label6    = Launch mass
 +
|data6    = {{{launch_mass<includeonly>|{{{mass|}}}</includeonly>}}}
 +
|label7    = Dry mass
 +
|data7    = {{{dry_mass<includeonly>|</includeonly>}}}
 +
|label8    = Payload capacity
 +
|data8    = {{{payload_capacity<includeonly>|</includeonly>}}}
 +
|label9    = Crew capacity
 +
|data9    = {{{crew_capacity<includeonly>|</includeonly>}}}
 +
|label10  = Dimensions
 +
|data10    = {{{dimensions<includeonly>|</includeonly>}}}
 +
|label11  = Volume
 +
|data11    = {{{volume<includeonly>|</includeonly>}}}
 +
|label12  = Power
 +
|data12    = {{{power<includeonly>|</includeonly>}}}
 +
|label13  = Batteries
 +
|data13    = {{{batteries<includeonly>|</includeonly>}}}
 +
|label14  = Equipment
 +
|data14    = {{{equipment<includeonly>|</includeonly>}}}
 +
|label15  = Orbit regimes
 +
|data15    = {{{orbits<includeonly>|</includeonly>}}}
 +
}}}}
  
| header59  = {{#if:{{{dimensions|}}}{{{x_axis|{{{y_axis|{{{z_axis<includeonly>|</includeonly>}}}}}}}}}|Dimensions}}
+
|data3      =  
| data60     = {{{dimensions<includeonly>|</includeonly>}}}
+
{{#if:<noinclude>A</noinclude>{{{status|}}}{{{built|}}}{{{orders|}}}{{{launched|}}}{{{operational|}}}{{{retired|}}}{{{failed|}}}{{{lost|}}}{{{first|}}}{{{last|}}}{{{lastretired|}}}|{{infobox|child=yes|header1=Production
| label61   = X Axis
+
| label2    = Status
| data61     = {{#ifeq:{{{autoconvert|<includeonly>yes</includeonly>}}}|yes|{{#if:{{{x_axis|}}}|{{convert|{{{x_axis}}}|m|abbr=on}}}}|{{{x_axis<includeonly>|</includeonly>}}}}}
+
| data2     = {{{status<includeonly>|</includeonly>}}}
| label62   = Y Axis
+
| label3   = Built
| data62     = {{#ifeq:{{{autoconvert|<includeonly>yes</includeonly>}}}|yes|{{#if:{{{y_axis|}}}|{{convert|{{{y_axis}}}|m|abbr=on}}}}|{{{y_axis<includeonly>|</includeonly>}}}}}
+
| data3     = {{{built<includeonly>|</includeonly>}}}
| label63   = Z Axis
+
| label4    = On order
| data63     = {{#ifeq:{{{autoconvert|<includeonly>yes</includeonly>}}}|yes|{{#if:{{{z_axis|}}}|{{convert|{{{z_axis}}}|m|abbr=on}}}}|{{{z_axis<includeonly>|</includeonly>}}}}}
+
| data4    = {{{orders<includeonly>|</includeonly>}}}
 +
| label5    = Launched
 +
| data5    = {{{launched<includeonly>|</includeonly>}}}
 +
| label6   = Operational
 +
| data6     = {{{operational<includeonly>|</includeonly>}}}
 +
| label7    = Retired
 +
| data7    = {{{retired<includeonly>|</includeonly>}}}
 +
| label8    = Failed
 +
| data8    = {{{failed<includeonly>|</includeonly>}}}
 +
| label9   = Lost
 +
| data9     = {{{lost<includeonly>|</includeonly>}}}
 +
| label10  = First launch
 +
| data10    = {{{first<includeonly>|</includeonly>}}}
 +
| label11  = Last launch
 +
| data11    = {{{last<includeonly>|</includeonly>}}}
 +
| label12  = Last retirement
 +
| data12    = {{{lastretired<includeonly>|</includeonly>}}}
 +
}}}}
  
|below = {{hide in print|1={{#if:{{{previous<includeonly>|{{{Preceeded|}}}</includeonly>}}}|{{align|left|&larr; {{{previous<includeonly>|{{{Preceeded|}}}</includeonly>}}} }}}}{{#if:{{{next<includeonly>|{{{Succeeded|}}}</includeonly>}}}|{{align|right|{{{next<includeonly>|{{{Succeeded|}}}</includeonly>}}} &rarr; }}}}}}
+
|data4      =
 +
{{#if:<noinclude>AA</noinclude>{{{derivedfrom|}}}{{{derivatives|}}}{{{subsatellites|}}}{{{subsatellite_of|}}}|
 +
{{infobox|child=yes
 +
|header1  = Related spacecraft
 +
|label2    = Derived from
 +
|data2      = {{{derivedfrom<includeonly>|</includeonly>}}}
 +
|label3    = Derivatives
 +
|data3      = {{{derivatives<includeonly>|</includeonly>}}}
 +
|label4    = Subsatellites
 +
|data4      = {{{subsatellites<includeonly>|</includeonly>}}}
 +
|label5    = Subsatellite of
 +
|data5      = {{{subsatellite_of<includeonly>|</includeonly>}}}
 +
}}}}
 +
 
 +
| below =
 +
{{#if:{{{insignia<includeonly>|</includeonly>}}}|
 +
{{#invoke:InfoboxImage|InfoboxImage|image={{{insignia<includeonly>|</includeonly>}}}|alt={{{insignia_alt<includeonly>|</includeonly>}}}|size={{{insignia_size<includeonly>|</includeonly>}}}|sizedefault=frameless|upright=0.82}}
 +
{{#if:{{{insignia_caption<includeonly>|</includeonly>}}}|<br/><small>{{{insignia_caption}}}</small>{{#if:{{{bottom_image<includeonly>|</includeonly>}}}|<br/>}}}}}}
 +
{{#if:{{{insignia<includeonly>|</includeonly>}}}|
 +
{{#invoke:InfoboxImage|InfoboxImage|image={{{bottom_image<includeonly>|</includeonly>}}}|alt={{{bottom_image_alt<includeonly>|</includeonly>}}}|size={{{bottom_image_size<includeonly>|</includeonly>}}}|sizedefault=frameless|upright=0.82}}
 +
{{#if:{{{bottom_image_caption<includeonly>|</includeonly>}}}|<br/><small>{{{bottom_image_caption}}}</small>}}}}
 +
{{#if:{{{previous<includeonly>|{{{Preceeded|}}}</includeonly>}}}{{{next<includeonly>|{{{Succeeded|}}}</includeonly>}}}|
 +
{{{!}} width="100%"
 +
{{!}}width="50%" align="left" {{!}}{{#if:{{{previous<includeonly>|{{{Preceeded|}}}</includeonly>}}}|&larr;&nbsp;{{{previous<includeonly>|{{{Preceeded|}}}</includeonly>}}} }}
 +
{{!}}width="50%" align="right"{{!}}{{#if:{{{next<includeonly>|{{{Succeeded|}}}</includeonly>}}}|{{{next<includeonly>|{{{Succeeded|}}}</includeonly>}}} &rarr; }}
 +
{{!}}}
 +
}}
 
}}<noinclude>
 
}}<noinclude>
 
{{documentation}}
 
{{documentation}}
 
</noinclude>
 
</noinclude>

Revision as of 14:16, 5 July 2014

{{{name}}}
[[File:{{{image}}}|{{{image_size}}}|alt={{{image_alt}}}|upright=1.18|{{{image_alt}}}]]
{{{image_caption}}}
Manufacturer{{{manufacturer}}}
Designer{{{designer}}}
Country of origin{{{country}}}
Operator{{{operator}}}
Applications{{{applications}}}
[[Category:Infobox templates|Template:Remove first word]]
Specifications
Spacecraft type{{{spacecraft_type}}}
Bus{{{spacecraft_bus}}}
Constellation{{{constellation}}}
Design life{{{design_life}}}
Launch mass{{{launch_mass}}}
Dry mass{{{dry_mass}}}
Payload capacity{{{payload_capacity}}}
Crew capacity{{{crew_capacity}}}
Dimensions{{{dimensions}}}
Volume{{{volume}}}
Power{{{power}}}
Batteries{{{batteries}}}
Equipment{{{equipment}}}
Orbit regimes{{{orbits}}}
[[Category:Infobox templates|Template:Remove first word]]
Production
Status{{{status}}}
Built{{{built}}}
On order{{{orders}}}
Launched{{{launched}}}
Operational{{{operational}}}
Retired{{{retired}}}
Failed{{{failed}}}
Lost{{{lost}}}
First launch{{{first}}}
Last launch{{{last}}}
Last retirement{{{lastretired}}}
[[Category:Infobox templates|Template:Remove first word]]
Related spacecraft
Derived from{{{derivedfrom}}}
Derivatives{{{derivatives}}}
Subsatellites{{{subsatellites}}}
Subsatellite of{{{subsatellite_of}}}
[[Category:Infobox templates|Template:Remove first word]]
[[File:{{{insignia}}}|{{{insignia_size}}}|alt={{{insignia_alt}}}|upright=0.82|{{{insignia_alt}}}]]


{{{insignia_caption}}}
[[File:{{{bottom_image}}}|{{{bottom_image_size}}}|alt={{{bottom_image_alt}}}|upright=0.82|{{{bottom_image_alt}}}]]
{{{bottom_image_caption}}}

← {{{previous}}} {{{next}}} →

[[Category:Infobox templates|Template:Remove first word]]

Usage

{{Infobox spacecraft class
| name                 = 
| image                = 
| image_size           = 
| image_alt            = 
| image_caption        = 
 
| manufacturer         = 
| designer             = 
| country              = 
| operator             = 
| applications         = 
| website              = 

<!--Specifications-->
| spacecraft_type      = 
| spacecraft_bus       = 
| constellation        = 
| design_life          = 
| launch_mass          = 
| dry_mass             = 
| payload_capacity     = 
| crew_capacity        = 
| volume               = 
| power                = 
| batteries            = 
| equipment            = 
| orbits               = 

<!--Dimensions-->
| length               = 
| diameter             = 
| width                = 
| winged               = 
| span                 = 

<!----Payloads---->
|capacities            = 
  {{Infobox rocket/payload
  |location            = 
  |kilos               = 
  }}

<!--Production-->
| status               = 
| built                = 
| orders               = 
| launched             = 
| operational          = 
| retired              = 
| failed               = 
| lost                 = 
| first                = 
| last                 = 
| lastretired          = 

<!--Engine details-->
| stagedata           = 
{{Infobox rocket/stage
| name                 = 
| engines              = 
| thrust               = 
| SI                   = 
| time                 = 
| fuel                 = 
}}

<!--Related spacecraft-->
| derivedfrom          = 
| derivatives          = 
| subsatellites        = 
| subsatellite_of      = 
| flown_with           = 

<!--insignia-->
| insignia             = 
| insignia_size        = 
| insignia_alt         = 
| insignia_caption     = 

<!--Configuration image-->
| configuration_image         = 
| configuration_image_size    = 
| configuration_image_alt     = 
| configuration_image_caption = 

| previous             = 
| next                 = 
}}

Obsolete (legacy) parameters

These parameters are supported by the template to allow it to display properly on articles that have not yet been converted to the new format. They should not be introduced into new articles/transclusions.

| dimensions           = 

Description

  • name: Proper name of the spacecraft.
  • image: Image of the spacecraft.
    • image_size: Width of the image.
    • image_alt: Short description of the image's appearance, for visually impaired readers; see WP:ALT.
    • image_caption: Short descriptive caption of the image.
  • insignia: Image of a spacecraft patch, logo, seal, etc.
    • insignia_size: Same as "image_size"; default width is 160px, though figure can be higher or lower.
    • insignia_alt: Same as "image_alt".
    • insignia_caption: Short descriptive caption of the image.
  • configuration_image: Blueprint, schematic, or other image that clearly shows the configuration of the spacecraft.
    • configuration_size: Same as "image_size".
    • configuration_alt: Same as "image_alt".
    • configuration_caption: Short descriptive caption of the image.

See also

Template:Spaceflight infoboxes