Difference between revisions of "Kerbol System/Table/Row"

From Kerbal Space Program Wiki
Jump to: navigation, search
m (*use Dict for the units; *FullName usage;)
m (using same rounding for inclination and pressure as in Template:Infobox/Body)
 
(4 intermediate revisions by 2 users not shown)
Line 3: Line 3:
 
{{!}} {{#if: {{Body data|{{Body data|{{{1}}}|parent}}|parent}}|{{Body data/full name|{{{1}}}|<br>}}|'''{{Body data/full name|{{{1}}}|<br>}}'''}}
 
{{!}} {{#if: {{Body data|{{Body data|{{{1}}}|parent}}|parent}}|{{Body data/full name|{{{1}}}|<br>}}|'''{{Body data/full name|{{{1}}}|<br>}}'''}}
 
{{!}} {{Body data|{{{1}}}|parent}}
 
{{!}} {{Body data|{{{1}}}|parent}}
{{!}} {{Formatnum/SortCell|{{#expr: ({{Body data|{{{1}}}|apoapsis}}+{{Body data|{{{1}}}|periapsis}})/2000}}|2}}&nbsp;{{Dict|km}}
+
{{!}} {{Formatnum/SortCell|{{#expr: {{Body data|{{{1}}}|semi-major axis}}/1000}}|2}}&nbsp;{{Dict|km}}
{{!}} {{#expr: 1 - 2/({{Body data|{{{1}}}|apoapsis}}/{{Body data|{{{1}}}|periapsis}}+1) round 2}}
+
{{!}} {{#expr: {{Body data|{{{1}}}|eccentricity}} round 2}}
{{!}} {{Body data|{{{1}}}|orbinc}}&nbsp;°
+
{{!}} {{#expr: {{Body data|{{{1}}}|orbinc}} round 3}}&nbsp;°
 
{{!}} data-sort-value="{{Body data/Sidereal orbit|{{{1}}}}}" {{!}} {{Formatnum|{{Body data/Sidereal orbit|{{{1}}}}}|1}}&nbsp;{{Dict|s}}
 
{{!}} data-sort-value="{{Body data/Sidereal orbit|{{{1}}}}}" {{!}} {{Formatnum|{{Body data/Sidereal orbit|{{{1}}}}}|1}}&nbsp;{{Dict|s}}
 
<br>{{ExpandTime|{{Body data/Sidereal orbit|{{{1}}}}}}}|
 
<br>{{ExpandTime|{{Body data/Sidereal orbit|{{{1}}}}}}}|
Line 14: Line 14:
 
{{!}} —
 
{{!}} —
 
{{!}} —}}
 
{{!}} —}}
| data-sort-value="{{Body data|{{{1}}}|mass}}" | {{sigfigs|{{Body data|{{{1}}}|mass}}|4}}&nbsp;{{Dict|k}}{{Dict|g}}
+
| data-sort-value="{{Body data/Mass|{{{1}}}}}" | {{sigfigs|{{Body data/Mass|{{{1}}}}}|4}}&nbsp;{{Dict|k}}{{Dict|g}}
 
| data-sort-value="{{Body data/Gravity|{{{1}}}}}" | {{#expr: {{Body data/Gravity|{{{1}}}}} round 3}}&nbsp;{{Dict|m}}/{{Dict|s}}²
 
| data-sort-value="{{Body data/Gravity|{{{1}}}}}" | {{#expr: {{Body data/Gravity|{{{1}}}}} round 3}}&nbsp;{{Dict|m}}/{{Dict|s}}²
 
<br>({{#expr: {{Body data/Gravity|{{{1}}}}}/9.81 round 3}}&nbsp;''g'')
 
<br>({{#expr: {{Body data/Gravity|{{{1}}}}}/9.81 round 3}}&nbsp;''g'')
Line 22: Line 22:
 
| {{#if: {{Body data/SOI|{{{1}}}}}|{{Formatnum/SortCell|{{#expr: {{Body data/SOI|{{{1}}}}}/1000}}|2}}&nbsp;{{Dict|km}}
 
| {{#if: {{Body data/SOI|{{{1}}}}}|{{Formatnum/SortCell|{{#expr: {{Body data/SOI|{{{1}}}}}/1000}}|2}}&nbsp;{{Dict|km}}
 
|∞}}
 
|∞}}
| {{#ifexpr: {{#if: {{Body data|{{{1}}}|pressure}}|{{Body data|{{{1}}}|pressure}}|0}} > 0|{{Body data|{{{1}}}|pressure}}&nbsp;{{Dict|atm}}
+
| {{#ifexpr: {{#if: {{Body data|{{{1}}}|pressure}}|{{Body data|{{{1}}}|pressure}}|0}} > 0|{{#expr: {{Body data|{{{1}}}|pressure}} round 6 }}&nbsp;{{Dict|atm}}
|data-sort-value="0" {{!}} {{No}}}}
+
|data-sort-value="0" {{No}}}}

Latest revision as of 15:15, 6 May 2023

|- | [[{{{1}}}|]]
({{{1}}}) | {{:{{{1}}}/Param|parent|}} | data-sort-value="Expression error: Unrecognized punctuation character "{"." | 0.00 km | Expression error: Unrecognized punctuation character "{". | Expression error: Unrecognized punctuation character "{". ° | data-sort-value="Expression error: Unrecognized punctuation character "{"." | 0.0 s
Expression error: Unexpected < operator. Expression error: Unexpected < operator. Expression error: Unexpected < operator. Expression error: Unexpected < operator. s | data-sort-value="Expression error: Unrecognized punctuation character "{"." | Expression error: Unexpected < operator. kg | data-sort-value="Expression error: Unexpected < operator." | Expression error: Unexpected < operator. m/s²
(Expression error: Unexpected < operator. g) | data-sort-value="{{:{{{1}}}/Param|radius|}}" | 0 m | data-sort-value="{{:{{{1}}}/Param|sidrot|}}" | 0 s
Expression error: Unrecognized punctuation character "{". Expression error: Unrecognized punctuation character "{". Expression error: Unrecognized punctuation character "{". Expression error: Unrecognized punctuation character "{". s | data-sort-value="Expression error: Unexpected < operator." | 0.00 km | Expression error: Unrecognized punctuation character "{".