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>Yarnalgo
(adding website field)
 
(29 intermediate revisions by 8 users not shown)
Line 1: Line 1:
 
{{Infobox
 
{{Infobox
| bodyclass  = vcard vevent
+
|bodystyle  = width:25em;
| title     = {{{name<includeonly>|{{PAGENAME}}</includeonly>}}}
+
|title={{{name<includeonly>|{{PAGENAMEBASE}}</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
+
|label6   = Website
| data27     = {{{retired<includeonly>|</includeonly>}}}
+
|data6     = {{{website<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  = Regime
 +
|data15    = {{{orbits<includeonly>|</includeonly>}}}
 +
}}}}
  
| header59  = {{#if:{{{dimensions|}}}{{{x_axis|{{{y_axis|{{{z_axis<includeonly>|</includeonly>}}}}}}}}}|Dimensions}}
+
| header3   = {{#if:{{{length|}}}{{{diameter|}}}{{{width|}}}{{{mass|}}}|Dimensions}}
| data60    = {{{dimensions<includeonly>|</includeonly>}}}
 
| label61   = X Axis
 
| data61    = {{#ifeq:{{{autoconvert|<includeonly>yes</includeonly>}}}|yes|{{#if:{{{x_axis|}}}|{{convert|{{{x_axis}}}|m|abbr=on}}}}|{{{x_axis<includeonly>|</includeonly>}}}}}
 
| label62    = Y Axis
 
| data62    = {{#ifeq:{{{autoconvert|<includeonly>yes</includeonly>}}}|yes|{{#if:{{{y_axis|}}}|{{convert|{{{y_axis}}}|m|abbr=on}}}}|{{{y_axis<includeonly>|</includeonly>}}}}}
 
| label63    = Z Axis
 
| data63    = {{#ifeq:{{{autoconvert|<includeonly>yes</includeonly>}}}|yes|{{#if:{{{z_axis|}}}|{{convert|{{{z_axis}}}|m|abbr=on}}}}|{{{z_axis<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; }}}}}}
+
| label4    = Length
 +
| data4      = {{{length|}}}
 +
| label5    = Diameter
 +
| data5      = {{{diameter|}}}
 +
| label6    = {{#switch:{{{winged|}}}|yes=Wingspan|#default|no=Solar array span}}
 +
| data6      = {{{span|}}}
 +
| label7    = Width
 +
| data7      = {{{width|}}}
 +
 
 +
|header8    = {{#if:{{{capacities|}}}|Capacity}}{{{capacities|}}}
 +
 
 +
|data9      =
 +
{{#if:<noinclude>A</noinclude>{{{status|}}}{{{built|}}}{{{orders|}}}{{{launched|}}}{{{operational|}}}{{{retired|}}}{{{failed|}}}{{{lost|}}}{{{first|}}}{{{last|}}}{{{lastretired|}}}|{{infobox|child=yes|header1=Production
 +
| label2    = Status
 +
| data2      = {{{status<includeonly>|</includeonly>}}}
 +
| label3    = Built
 +
| data3      = {{{built<includeonly>|</includeonly>}}}
 +
| label4    = On order
 +
| 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    = Maiden launch
 +
| data10    = {{{first<includeonly>|{{{maiden|{{{firstlaunch|{{{maidenlaunch|}}}}}}}}}</includeonly>}}}
 +
| label11    = Last launch
 +
| data11    = {{{last<includeonly>|{{{lastlaunch|}}}</includeonly>}}}
 +
| label12    = Last retirement
 +
| data12    = {{{lastretired<includeonly>|</includeonly>}}}
 +
}}}}
 +
 
 +
|data10      =
 +
{{#if:<noinclude>AA</noinclude>{{{derivedfrom|}}}{{{derivatives|}}}{{{subsatellites|}}}{{{subsatellite_of|}}}{{{flown_with|}}}|
 +
{{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>}}}
 +
|label6    = Flown with
 +
|data6      = {{{flown_with<includeonly>|</includeonly>}}}
 +
}}}}
 +
|header11    = {{{enginedata|{{{stagedata|}}}}}}
 +
|data12      =
 +
{{#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}}{{{insignia_caption<includeonly>|</includeonly>}}} }}
 +
|header13    = {{#if:{{{configuration_image<includeonly>|{{{bottom_image|}}}</includeonly>}}}|Configuration}}
 +
 
 +
| below     =
 +
{{#if:{{{configuration_image<includeonly>|{{{bottom_image|}}}</includeonly>}}}|
 +
{{#invoke:InfoboxImage|InfoboxImage|image={{{configuration_image<includeonly>|{{{bottom_image|}}}</includeonly>}}}|alt={{{configuration_image_alt<includeonly>|{{{bottom_image_alt|}}}</includeonly>}}}|size={{{configuration_image_size<includeonly>|{{{bottom_image_size|}}}</includeonly>}}}|sizedefault=frameless|upright=0.82}}<br>{{{configuration_image_caption<includeonly>|{{{bottom_image_caption|}}}</includeonly>}}} }}
 +
{{#if:{{{previous<includeonly>|{{{Preceded|}}}</includeonly>}}}{{{next<includeonly>|{{{Succeeded|}}}</includeonly>}}}|
 +
{{{!}} width="100%"
 +
{{!}}width="50%" style="text-align:left;" {{!}}{{#if:{{{previous<includeonly>|{{{Preceded|}}}</includeonly>}}}|&larr;&nbsp;{{{previous<includeonly>|{{{Preceded|}}}</includeonly>}}} }}
 +
{{!}}width="50%" style="text-align:right;"{{!}}{{#if:{{{next<includeonly>|{{{Succeeded|}}}</includeonly>}}}|{{{next<includeonly>|{{{Succeeded|}}}</includeonly>}}} &rarr; }}
 +
{{!}}}
 +
}}
 
}}<noinclude>
 
}}<noinclude>
 
{{documentation}}
 
{{documentation}}
 
</noinclude>
 
</noinclude>

Latest revision as of 16:51, 20 July 2020

{{{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}}}
Website{{{website}}}
[[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}}}
Regime{{{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}}}
Maiden 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}}}
Flown with{{{flown_with}}}
[[Category:Infobox templates|Template:Remove first word]]
[[File:{{{insignia}}}|{{{insignia_size}}}|alt={{{insignia_alt}}}|upright=0.82|{{{insignia_alt}}}]]{{{insignia_caption}}}
Configuration
[[File:{{{configuration_image}}}|{{{configuration_image_size}}}|alt={{{configuration_image_alt}}}|upright=0.82|{{{configuration_image_alt}}}]]
{{{configuration_image_caption}}}
← {{{previous}}} {{{next}}} →

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

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

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