Difference between revisions of "Template:StationaryOrbit/Row"

From Kerbal Space Program Wiki
Jump to: navigation, search
(!handle infinity value by Kerbol;)
m (*full name template was moved too;)
 
(5 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
|-
 
|-
| [[{{{1}}}{{if lang}}|{{{1}}}]] <!-- todo: transcriptions -->
+
| {{Body data/full name|{{{1}}}}}
| {{OrbitAltitude|period={{BodyData|{{{1}}}|sidrot}}|mass={{BodyData|{{{1}}}|mass}}|radius={{BodyData|{{{1}}}|radius}}|factor=k}} {{#ifeq: {{BodyData|{{{1}}}|soi}}|∞||{{#ifexpr: {{OrbitAltitude/Core|{{BodyData|{{{1}}}|sidrot}}|{{BodyData|{{{1}}}|mass}}|{{BodyData|{{{1}}}|radius}}}} > {{BodyData|{{{1}}}|soi}}|†}}}} {{#if: {{{2|}}}|‡}}
+
{{StationaryOrbit/Row/Core|{{OrbitAltitude/Core|b={{{1}}}|3=0}}|{{Body data|{{{1}}}|radius}}|{{Body data/SOI|{{{1}}}}}|{{{2|}}}|{{{3|}}}}}
| {{OrbitAltitude|period={{#expr: {{BodyData|{{{1}}}|sidrot}} / 2}}|mass={{BodyData|{{{1}}}|mass}}|radius={{BodyData|{{{1}}}|radius}}|factor=k}} {{#ifeq: {{BodyData|{{{1}}}|soi}}|∞||{{#ifexpr: {{OrbitAltitude/Core|{{#expr: {{BodyData|{{{1}}}|sidrot}} / 2}}|{{BodyData|{{{1}}}|mass}}|{{BodyData|{{{1}}}|radius}}}} > {{BodyData|{{{1}}}|soi}}|†}}}} {{#if: {{{3|}}}|}}
+
| {{#if: {{Body data|{{{1}}}|parent}}|{{#ifexpr: Abs({{Body data|{{{1}}}|sidrot}} - {{Body data/Sidereal orbit|{{{1}}}}}) < 1|{{Yes}}|{{No}}}}|}}

Latest revision as of 11:55, 27 August 2014

|- | [[{{{1}}}|]] ({{{1}}}) | 0.00 km Expression error: Unexpected < operator. | 0.00 km Expression error: Unexpected < operator. | 0.00 km Expression error: Unexpected < operator. | 0.00 km Expression error: Unexpected < operator. | Expression error: Unrecognized punctuation character "{".