Difference between revisions of "Template:Infobox spaceflight/IP"

From blackwiki
Jump to navigation Jump to search
imported>Wbm1058
(bypass redirects)
imported>Wbm1058
(check if data parameters were specified, to prevent false-positive {{ error }} transclusions)
Line 17: Line 17:
 
  |data2  = {{{component<includeonly>|</includeonly>}}}
 
  |data2  = {{{component<includeonly>|</includeonly>}}}
 
  |label3 = {{#switch:{{{type|<noinclude>demo</noinclude>}}}
 
  |label3 = {{#switch:{{{type|<noinclude>demo</noinclude>}}}
  |impactor_flyby|lander_flyby|flyby=Closest approach|orbiter=Orbital insertion|lander_impact|impactor=Impact date|atmospheric=Atmospheric entry|lander=Landing date|rover=Landing date|demo=Closest approach/<br/>Orbital insertion/<br/>Impact date/<br/>Atmospheric entry/<br/>Landing date|{{error|Invalid parameter}} }}
+
  |impactor_flyby|lander_flyby|flyby=Closest approach|orbiter=Orbital insertion|lander_impact|impactor=Impact date|atmospheric=Atmospheric entry|lander=Landing date|rover=Landing date|demo=Closest approach/<br/>Orbital insertion/<br/>Impact date/<br/>Atmospheric entry/<br/>Landing date|{{#if:{{{arrival_date|}}}|{{error|Invalid parameter}}}} }}
 
  |data3  = {{{arrival_date<includeonly>|</includeonly>}}}
 
  |data3  = {{{arrival_date<includeonly>|</includeonly>}}}
  |label4 = {{#switch:{{{type|<noinclude>demo</noinclude>}}}|orbiter=Departed orbit|lander=Return launch|atmospheric=Impact date|demo=Departed orbit/<br/>Return launch|{{error|"departure_date" should not be set for missions of this nature}}}}
+
  |label4 = {{#switch:{{{type|<noinclude>demo</noinclude>}}}|orbiter=Departed orbit|lander=Return launch|atmospheric=Impact date|demo=Departed orbit/<br/>Return launch|{{#if:{{{departure_date|}}}|{{error|"departure_date" should not be set for missions of this nature}}}}}}
 
  |data4  = {{{departure_date<includeonly>|</includeonly>}}}
 
  |data4  = {{{departure_date<includeonly>|</includeonly>}}}
  
  |label5 = {{#switch:{{{type|<noinclude>demo</noinclude>}}}|orbiter=Impact site<!--end of mission-->|impactor=Impact site|atmospheric=Impact site|lander=Landing site|lander_impact=Impact site|rover=Landing site|demo=Impact site/<br/>Landing site|{{error|"location" should not be set for flyby missions}}}}
+
  |label5 = {{#switch:{{{type|<noinclude>demo</noinclude>}}}|orbiter=Impact site<!--end of mission-->|impactor=Impact site|atmospheric=Impact site|lander=Landing site|lander_impact=Impact site|rover=Landing site|demo=Impact site/<br/>Landing site|{{#if:{{{location|}}}|{{error|"location" should not be set for flyby missions}}}}}}
 
  |data5  = {{{location<includeonly>|</includeonly>}}}
 
  |data5  = {{{location<includeonly>|</includeonly>}}}
  
  |label6 = {{#switch:{{{type|<noinclude>demo</noinclude>}}}|impactor_flyby|lander_flyby|flyby=Distance|orbiter={{error|Please use orbital parameters instead of "distance"}}|rover=Distance covered|demo=Distance/<br/>Distance covered|{{error|"distance" should not be set for missions of this nature}}}}
+
  |label6 = {{#switch:{{{type|<noinclude>demo</noinclude>}}}|impactor_flyby|lander_flyby|flyby=Distance|orbiter={{#if:{{{distance|}}}|{{error|Please use orbital parameters instead of "distance"}}}}|rover=Distance covered|demo=Distance/<br/>Distance covered|{{#if:{{{distance|}}}|{{error|"distance" should not be set for missions of this nature}}}}}}
 
  |data6  = {{{distance<includeonly>|</includeonly>}}}
 
  |data6  = {{{distance<includeonly>|</includeonly>}}}
  

Revision as of 11:23, 27 May 2015

{{{object}}} {{{type}}}
Spacecraft component{{{component}}}
Closest approach/
Orbital insertion/
Impact date/
Atmospheric entry/
Landing date
{{{arrival_date}}}
Departed orbit/
Return launch
{{{departure_date}}}
Impact site/
Landing site
{{{location}}}
Distance/
Distance covered
{{{distance}}}
Sample mass{{{sample_mass}}}
Surface EVAs{{{surface_EVAs}}}
EVA duration{{{surface_EVA_time}}}
Orbit parameters
Peri{{{apsis}}}{{{periapsis}}}
Apo{{{apsis}}}{{{apoapsis}}}
Inclination{{{inclination}}}