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

From Kerbal Space Program Wiki
Jump to: navigation, search
m (*use new bodydata template;)
 
(3 intermediate revisions by one other user not shown)
Line 1: Line 1:
<includeonly>{{OrbitPeriod|{{BodyData|{{{1}}}|apoapsis}}|{{BodyData|{{{1}}}|parent}}|{{BodyData|{{{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|BodyData}} for the given body and redirects it to {{Tl|OrbitPeriod}}.
+
<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:Templates]]
+
[[Category:BodyData Math Templates|Sidereal orbit]]</noinclude>
[[Category:BodyData Math Templates|Siderial 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}}.