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

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