Difference between revisions of "User:XZise/test4"

From Kerbal Space Program Wiki
Jump to: navigation, search
(*use old bodydata scheme;)
Line 1: Line 1:
{{#expr: abs(2*pi/(1/(((({{BodyData/Apoapsis|{{{1}}}}}+{{BodyData/Periapsis|{{{1}}}}})/2)^3/({{G}}*{{BodyData/Mass|{{BodyData/Parent|{{{1}}}}}}}))^(1/2) )-1/(((({{BodyData/Apoapsis|{{{2|Kerbin}}}}}+{{BodyData/Periapsis|{{{2|Kerbin}}}}})/2)^3/({{G}}*{{BodyData/Mass|{{BodyData/Parent|{{{2|Kerbin}}}}}}}))^(1/2) ))) }}
+
{{#ifexpr: {{BodyData|{{{1}}}|radius}}*{{#if: {{BodyData|{{BodyData|{{{1}}}|parent}}|parent}}|{{BodyData|{{BodyData|{{{1}}}|parent}}|apoapsis}}|{{BodyData|{{{1}}}|apoapsis}}}}/({{BodyData|{{BodyData|{{{1}}}|parent}}|radius}}-{{BodyData|{{{1}}}|radius}}) > {{BodyData/SOI|{{{1}}}}}|Outside|Inside}}

Revision as of 11:48, 22 September 2013

Expression error: Unrecognized punctuation character "{".