Difference between revisions of "Template:Body data/Sidereal orbit"

From Kerbal Space Program Wiki
Jump to: navigation, search
m (*moved template;)
 
Line 1: Line 1:
<includeonly>{{Body data/orbit period|{{Body data|{{{1}}}|apoapsis}}|{{Body data|{{{1}}}|parent}}|{{Body data|{{{1}}}|periapsis}}}}</includeonly><noinclude>Returns the siderial orbit period of a [[celestial body]] in seconds. It uses the <tt>apoapsis</tt>, <tt>periapsis</tt> and <tt>parent</tt> parameter of {{Tl|Body data}} for the given body and redirects it to {{Tl|Body data/orbit period}}.
+
<includeonly>{{Body data/orbit period|{{Body data|{{{1}}}|semi-major axis}}|{{Body data|{{{1}}}|parent}}}}</includeonly><noinclude>Returns the siderial orbit period of a [[celestial body]] in seconds. It uses the <tt>semi-major axis</tt> and <tt>parent</tt> parameter of {{Tl|Body data}} for the given body and redirects it to {{Tl|Body data/orbit period}}.
  
 
[[Category:BodyData Math Templates|Sidereal orbit]]</noinclude>
 
[[Category:BodyData Math Templates|Sidereal orbit]]</noinclude>

Latest revision as of 14:47, 28 August 2017

Returns the siderial orbit period of a celestial body in seconds. It uses the semi-major axis and parent parameter of {{Body data}} for the given body and redirects it to {{Body data/orbit period}}.