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

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