Jump to content

Template:Infobox spaceflight/sandbox: Difference between revisions

From Wikipedia, the free encyclopedia
Content deleted Content added
meh
test
 
(20 intermediate revisions by 6 users not shown)
Line 1: Line 1:
<includeonly>{{Infobox
<includeonly>{{Infobox

|bodystyle = width:25em;
|bodyclass=ib-spaceflight
|headerstyle = background: #ddf;
|templatestyles = Infobox spaceflight/styles.css
|title={{{name|{{PAGENAMEBASE}}}}}
|title={{{name|{{PAGENAMEBASE}}}}}


|image = {{#invoke:InfoboxImage|InfoboxImage|image={{{image|}}}|alt={{{image_alt|}}}|size={{{image_size|}}}|sizedefault=frameless|upright=1.18}}
|image = {{#invoke:InfoboxImage|InfoboxImage|image={{{image|}}}|alt={{{image_alt|}}}|size={{{image_size|}}}|sizedefault=frameless|upright={{{image_upright|1.18}}}}}
|caption = {{{image_caption|}}}
|caption = {{{image_caption|}}}


Line 11: Line 12:


|data3 = {{infobox|child=yes
|data3 = {{infobox|child=yes

|headerstyle = background: #ddf;
|label1 = Mission type
|label1 = Mission type
|data1 = {{{mission_type|}}}
|data1 = {{{mission_type|}}}
Line 20: Line 21:
|label4 = [[International Designator|COSPAR ID]]
|label4 = [[International Designator|COSPAR ID]]
<!-- Grab COSPAR_ID from Wikidata (P247); link to NASA database if it matches infobox string, otherwise keep infobox string unadorned for cases where several IDs are displayed, e.g [[Apollo 11]] -->
<!-- Grab COSPAR_ID from Wikidata (P247); link to NASA database if it matches infobox string, otherwise keep infobox string unadorned for cases where several IDs are displayed, e.g [[Apollo 11]] -->
|data4 = {{#if: {{{COSPAR_ID|}}} | {{#ifeq:{{#property:P247}}|{{{COSPAR_ID}}}|{{cospar|{{#property:P247}}}}|{{{COSPAR_ID}}}}} | {{cospar|{{#property:P247}}}} }}
|data4 = {{#if:{{#property:P247}}|{{#ifeq:{{#property:P247}}|{{#if:{{{COSPAR_ID|}}}|{{{COSPAR_ID}}}|{{#property:P247}}}}|{{Cospar|{{#property:P247}}}}<span class="ib-edit-wd">{{EditAtWikidata|pid=P247}}</span>|{{{COSPAR_ID|}}}}}|{{{COSPAR_ID|}}}}}
|label5 = [[Satellite Catalog Number|SATCAT {{abbr|no.|number}}]]
|label5 = [[Satellite Catalog Number|SATCAT {{abbr|no.|number}}]]
|data5 = {{#if: {{{SATCAT|}}} | {{{SATCAT}}} | {{wd|property|edit@end|P377}} }}
|data5 = {{#if: {{{SATCAT|}}} | {{{SATCAT}}} | {{wd|property|edit@end|P377}} }}
Line 28: Line 29:
|data7 = {{{mission_duration|}}}
|data7 = {{{mission_duration|}}}
|label8 = Distance travelled
|label8 = Distance travelled
|data8 = {{{distance_travelled|}}}
|data8 = {{{distance_travelled|}}}
|label9 = Orbits completed
|label9 = Orbits completed
|data9 = {{{orbits_completed|}}}
|data9 = {{{orbits_completed|}}}
Line 38: Line 39:


|data4 = {{#if:{{{spacecraft|}}}{{{spacecraft_type|}}}{{{spacecraft_bus|}}}{{{manufacturer|}}}{{{launch_mass|}}}{{{BOL_mass|}}}{{{landing_mass|}}}{{{dry_mass|}}}{{{payload_mass|}}}{{{dimensions|}}}{{{power|}}}|{{infobox|child=yes
|data4 = {{#if:{{{spacecraft|}}}{{{spacecraft_type|}}}{{{spacecraft_bus|}}}{{{manufacturer|}}}{{{launch_mass|}}}{{{BOL_mass|}}}{{{landing_mass|}}}{{{dry_mass|}}}{{{payload_mass|}}}{{{dimensions|}}}{{{power|}}}|{{infobox|child=yes
|headerstyle = background: #ddf;
|header1=Spacecraft properties
|header1=Spacecraft properties
|label2 = Spacecraft
|label2 = Spacecraft
Line 65: Line 65:


|data5 = {{#if:{{{space_station|}}}{{{start_date|{{{arrival_craft|{{{departure_craft|{{{end_date|}}}}}}}}}}}}|{{infobox|child=yes
|data5 = {{#if:{{{space_station|}}}{{{start_date|{{{arrival_craft|{{{departure_craft|{{{end_date|}}}}}}}}}}}}|{{infobox|child=yes
|headerstyle = background: #ddf;
|header1 = Expedition
|header1 = Expedition
|label2 = Space Station
|label2 = Space station
|data2 = {{{space_station|}}}
|data2 = {{{space_station|}}}
|label3 = Began
|label3 = Began
Line 79: Line 78:
}}}}
}}}}


|data6 = {{#if:{{{crew_members|}}}{{{crew_launching|}}}{{{crew_landing|}}}{{{crew_callsign|}}}{{{crew_expedition|}}}{{{crew_EVAs|}}}{{{crew_EVA_duration|}}}|{{infobox|child=yes|headerstyle = background: #ddf;|header1=Crew
|data6 = {{#if:{{{crew_members|}}}{{{crew_launching|}}}{{{crew_landing|}}}{{{crew_callsign|}}}{{{crew_expedition|}}}{{{crew_EVAs|}}}{{{crew_EVA_duration|}}}|{{infobox|child=yes|header1=Crew
|label2 = Crew size
|label2 = Crew size
|data2 = {{{crew_size|}}}
|data2 = {{{crew_size|}}}
Line 98: Line 97:
}}}}
}}}}


|data7 = {{#if:{{{entered_service|}}}{{{launch_date|{{{launch_rocket|{{{launch_site|{{{launch_contractor|}}}}}}}}}}}}|{{infobox|child=yes|headerstyle = background: #ddf;|header1=Start of mission
|data7 = {{#if:{{{entered_service|}}}{{{launch_date|{{{launch_rocket|{{{launch_site|{{{launch_contractor|}}}}}}}}}}}}|{{infobox|child=yes
|header1=Start of mission
|label2 = Launch date
|label2 = Launch date
|data2 = {{{launch_date|}}}
|data2 = {{{launch_date|}}}
Line 115: Line 115:
}}}}
}}}}


|data8 = {{#if:{{{disposal_type|}}}{{{declared|}}}{{{destroyed|}}}{{{deactivated|}}}{{{last_contact|}}}{{{decay_date|}}}{{{landing_date|}}}{{{landing_site|}}}{{{distance|}}}|{{infobox|child=yes|headerstyle = background: #ddf;|header1=End of mission
|data8 = {{#if:{{{disposal_type|}}}{{{declared|}}}{{{destroyed|}}}{{{deactivated|}}}{{{last_contact|}}}{{{decay_date|}}}{{{landing_date|}}}{{{landing_site|}}}{{{distance|}}}|{{infobox|child=yes
|header1=End of mission
|label2 = Disposal
|label2 = Disposal
|data2 = {{{disposal_type|}}}
|data2 = {{{disposal_type|}}}
Line 140: Line 141:
|data9 = {{#if:{{{orbit_reference|}}}{{{orbit_regime|}}}{{{orbit_longitude|}}}{{{orbit_slot|}}}{{{orbit_semimajor|}}}{{{orbit_eccentricity|}}}{{{orbit_altitude|}}}{{{orbit_periapsis|}}}{{{orbit_apoapsis|}}}{{{orbit_inclination|}}}{{{orbit_period|}}}{{{orbit_repeat|}}}{{{orbit_epoch|}}}{{{orbits_daily|}}}|
|data9 = {{#if:{{{orbit_reference|}}}{{{orbit_regime|}}}{{{orbit_longitude|}}}{{{orbit_slot|}}}{{{orbit_semimajor|}}}{{{orbit_eccentricity|}}}{{{orbit_altitude|}}}{{{orbit_periapsis|}}}{{{orbit_apoapsis|}}}{{{orbit_inclination|}}}{{{orbit_period|}}}{{{orbit_repeat|}}}{{{orbit_epoch|}}}{{{orbits_daily|}}}|
{{infobox|child=yes
{{infobox|child=yes
|headerstyle = background: #ddf;
|header1 = Orbital parameters
|header1 = Orbital parameters
|label2 = Reference&nbsp;system
|label2 = Reference&nbsp;system
Line 156: Line 156:
|label8 = Altitude
|label8 = Altitude
|data8 = {{{orbit_altitude|}}}
|data8 = {{{orbit_altitude|}}}
|label9 = [[apsis|Peri{{{apsis|apsis}}}]]
|label9 = [[apsis|Peri{{{apsis|apsis}}} altitude]]
|data9 = {{{orbit_periapsis|}}}
|data9 = {{{orbit_periapsis|}}}
|label10 = [[apsis|Ap{{#ifeq:{{{apsis|}}}|helion||o}}{{{apsis|apsis}}}]]
|label10 = [[apsis|Ap{{#ifeq:{{{apsis|}}}|helion||o}}{{{apsis|apsis}}} altitude]]
|data10 = {{{orbit_apoapsis|}}}
|data10 = {{{orbit_apoapsis|}}}
|label11 = [[orbital inclination|Inclination]]
|label11 = [[orbital inclination|Inclination]]
Line 187: Line 187:




|data12 = {{#if:{{{payload_items|}}}{{{cargo_mass|}}}{{{cargo_mass_press|}}}{{{cargo_mass_unpress|}}}{{{cargo_mass_fuel|}}}{{{cargo_mass_gaseous|}}}{{{cargo_mass_water|}}}|{{infobox|child=yes|headerstyle = background: #ddf;
|data12 = {{#if:{{{payload_items|}}}{{{cargo_mass|}}}{{{cargo_mass_press|}}}{{{cargo_mass_unpress|}}}{{{cargo_mass_fuel|}}}{{{cargo_mass_gaseous|}}}{{{cargo_mass_water|}}}|{{infobox|child=yes
|header1 = {{#if:{{{payload_items|}}}|Payload|Cargo}}
|header1 = {{#if:{{{payload_items|}}}|Payload|Cargo}}
|data2 = {{{payload_items|}}}
|data2 = {{{payload_items|}}}
|label3 = Mass
|label3 = Mass
Line 205: Line 205:




|data13 = {{#if:{{{telescope_type|}}}{{{telescope_diameter|}}}{{{telescope_wavelength|}}}{{{telescope_focal_length|}}}{{{telescope_area|}}}{{{telescope_name|}}}|{{infobox|child=yes|headerstyle = background: #ddf;|header1=Main {{{instrument_type|telescope}}}
|data13 = {{#if:{{{telescope_type|}}}{{{telescope_diameter|}}}{{{telescope_wavelength|}}}{{{telescope_focal_length|}}}{{{telescope_area|}}}{{{telescope_name|}}}|{{infobox|child=yes
|header1=Main {{{instrument_type|telescope}}}
|label2 = Name
|label2 = Name
|data2 = {{{telescope_name|}}}
|data2 = {{{telescope_name|}}}
Line 215: Line 216:
|data5 = {{{telescope_focal_length|}}}
|data5 = {{{telescope_focal_length|}}}
|label6 = Focal ratio
|label6 = Focal ratio
|data6 = {{{telescope_focal_ratio|}}}
|data6 = {{{telescope_focal_ratio|}}}
|label7 = Collecting area
|label7 = Collecting area
|data7 = {{{telescope_area|}}}
|data7 = {{{telescope_area|}}}
Line 224: Line 225:
}}}}
}}}}


|data14 = {{#if:{{{trans_band|}}}{{{trans_frequency|}}}{{{trans_bandwidth|}}}{{{trans_capacity|}}}{{{trans_coverage|}}}{{{trans_TWTA|}}}{{{trans_EIRP|}}}{{{trans_HPBW|}}}|{{infobox|child=yes|headerstyle = background: #ddf;|header1=Transponders
|data14 = {{#if:{{{trans_band|}}}{{{trans_frequency|}}}{{{trans_bandwidth|}}}{{{trans_capacity|}}}{{{trans_coverage|}}}{{{trans_TWTA|}}}{{{trans_EIRP|}}}{{{trans_HPBW|}}}|{{infobox|child=yes
|header1=Transponders
|label2 = Band
|label2 = Band
|data2 = {{{trans_band|}}}
|data2 = {{{trans_band|}}}
Line 246: Line 248:


| below =
| below =
{{#if:{{{insignia|}}}|{{#invoke:InfoboxImage|InfoboxImage|image={{{insignia|}}}|alt={{{insignia_alt|}}}|size={{{insignia_size|}}}|sizedefault=frameless|upright=0.82}}{{#if:{{{insignia_caption|}}}
{{#if:{{{insignia|}}}|{{#invoke:InfoboxImage|InfoboxImage|image={{{insignia|}}}|alt={{{insignia_alt|}}}|size={{{insignia_size|}}}|sizedefault=frameless|upright={{{insignia_upright|0.82}}}}}{{#if:{{{insignia_caption|}}}
|<br/>{{{insignia_caption}}}{{#if:{{{crew_photo|}}}|<br/>}}}}}}
|<br/>{{{insignia_caption}}}{{#if:{{{crew_photo|}}}|<br/>}}}}}}
{{#if:{{{crew_photo|}}}|{{#invoke:InfoboxImage|InfoboxImage|image={{{crew_photo|}}}|alt={{{crew_photo_alt|}}}|size={{{crew_photo_size|}}}|sizedefault=frameless}}{{#if:{{{crew_photo_caption|}}}
{{#if:{{{crew_photo|}}}|{{#invoke:InfoboxImage|InfoboxImage|image={{{crew_photo|}}}|alt={{{crew_photo_alt|}}}|size={{{crew_photo_size|}}}|sizedefault=frameless|upright={{{crew_photo_upright|1}}}}}{{#if:{{{crew_photo_caption|}}}
|<br/>{{{crew_photo_caption}}} }}
|<br/>{{{crew_photo_caption}}} }}
}}{{succession links|above = border-top:1px #aaa solid
}}{{succession links|abovestyle = border-top:1px #aaa solid
| above = {{{programme|}}}
| above = {{{programme|}}}
| left = {{{previous_mission|}}}
| left = {{{previous_mission|}}}
| right = {{{next_mission|}}}
| right = {{{next_mission|}}}
}}{{succession links|centerstyle = border-top:1px #aaa solid
}}{{#if:programme2 | {{clear}} {{succession links|abovestyle = border-top:1px #aaa solid
| center = {{{programme2|}}}
| above = {{{programme2|}}}
| left = {{{previous_mission2|}}}
| left = {{{previous_mission2|}}}
| right = {{{next_mission2|}}}
| right = {{{next_mission2|}}}
}} | }} }}{{#if:{{{auto|}}}|{{Orbit}}}}{{#invoke:Check for unknown parameters|check|unknown={{main other|[[Category:Pages using infobox spaceflight with unknown parameters|_VALUE_{{PAGENAME}}]]}}|preview=Page using [[Template:Infobox spaceflight]] with unknown parameter "_VALUE_"|ignoreblank=y| apsis | arrival_craft | auto | BOL_mass | cargo_mass | cargo_mass_fuel | cargo_mass_gas | cargo_mass_gaseous | cargo_mass_press | cargo_mass_unpress | cargo_mass_water | COSPAR_ID | crew_callsign | crew_EVA_duration | crew_EVAs | crew_expedition | crew_landing | crew_launching | crew_members | crew_photo | crew_photo_alt | crew_photo_caption | crew_photo_size | crew_photo_upright | crew_size | deactivated | decay_date | decay_field | declared | departure_craft | deployment_date | deployment_from | destroyed | dimensions | disposal_type | distance | distance_travelled | docking | dry_mass | end_date | entered_service | Harvard_designation | image | image_alt | image_caption | image_size | image_upright | insignia | insignia_alt | insignia_caption | insignia_size | insignia_upright | instrument_type | instruments | instruments_list | interplanetary | landing_date | landing_mass | landing_site | last_contact | launch_contractor | launch_date | launch_mass | launch_rocket | launch_site | manufacturer | mission_duration | mission_type | name | names_list | next_mission | next_mission2 | operator | orbit_altitude | orbit_apoapsis | orbit_arg_periapsis | orbit_eccentricity | orbit_epoch | orbit_inclination | orbit_longitude | orbit_mean_anomaly | orbit_mean_motion | orbit_periapsis | orbit_period | orbit_RAAN | orbit_reference | orbit_regime | orbit_repeat | orbit_rev_number | orbit_semimajor | orbit_slot | orbit_velocity | orbits_completed | orbits_daily | payload_items | payload_mass | power | previous_mission | previous_mission2 | programme | programme2 | recovery_by | recovery_date | SATCAT | space_station | spacecraft | spacecraft_bus | spacecraft_type | start_date | suborbital_apogee | suborbital_range | telescope_area | telescope_diameter | telescope_focal_length | telescope_focal_ratio | telescope_name | telescope_resolution | telescope_type | telescope_wavelength | trans_band | trans_bandwidth | trans_capacity | trans_coverage | trans_EIRP | trans_frequency | trans_HPBW | trans_TWTA | website }}</includeonly><noinclude>
}} }}</includeonly><noinclude>
{{documentation}}
{{Documentation}}
</noinclude>
</noinclude>

Latest revision as of 13:23, 1 August 2024