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

From Kerbal Space Program Wiki
Jump to: navigation, search
m (XZise moved page Template:BodyData/Siderial Orbit to Template:BodyData/Sidereal Orbit without leaving a redirect: typo)
 
(5 intermediate revisions by one other user not shown)
Line 1: Line 1:
<includeonly>{{OrbitPeriod|{{BodyData/Apoapsis|{{{1}}}}}|{{BodyData/Parent|{{{1}}}}}|{{BodyData/Periapsis|{{{1}}}}}}}</includeonly><noinclude>Returns the siderial orbit period of a [[Celestials|celestial body]] in seconds. It uses {{Tl|BodyData/Apoapsis}}, {{Tl|BodyData/Periapsis}} and {{Tl|BodyData/Parent}} 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}}.