Difference between revisions of "Template:Celestial period table/row"

From Kerbal Space Program Wiki
Jump to: navigation, search
(+automatic refresh (first row can be previewed); -second parameter for Body data/Sidereal orbit (none is read); +first two rows (name and parent); *prepared for moving it into a subpage;)
Line 1: Line 1:
<includeonly>{{Formatnum|{{#expr:{{Body data/Sidereal orbit|{{{1}}}|{{Body data|{{{1}}}|parent}}}}/3600}}|2}} || {{Formatnum|{{#expr:{{Body data/Sidereal orbit|{{{1}}}|Kerbol}}/21600}}|2}} || {{Formatnum|{{#expr:{{Body data/Sidereal orbit|{{{1}}}|{{Body data|{{{1}}}|parent}}}}/{{Body data/Sidereal orbit|Mun|Kerbin}}}}|3}} || {{Formatnum|{{#expr:{{Body data/Sidereal orbit|{{{1}}}|{{Body data|{{{1}}}|parent}}}}/{{Body data/Sidereal orbit|Kerbin|Kerbol}}}}|4}} || {{Formatnum|{{#expr:{{Body data/Sidereal orbit|{{{1}}}|{{Body data|{{{1}}}|parent}}}}/86400}}|3}} || {{Formatnum|{{#expr:{{Body data/Sidereal orbit|{{{1}}}|{{Body data|{{{1}}}|parent}}}}/2629800}}|4}} || {{Formatnum|{{#expr:{{Body data/Sidereal orbit|{{{1}}}|{{Body data|{{{1}}}|parent}}}}/31557600}}|4}} || {{Formatnum|{{#expr:3600/{{Body data/Sidereal orbit|{{{1}}}|{{Body data|{{{1}}}|parent}}}}}}|8}} || {{Formatnum|{{#expr:21600/{{Body data/Sidereal orbit|{{{1}}}|{{Body data|{{{1}}}|parent}}}}}}|4}} || {{Formatnum|{{#expr:{{Body data/Sidereal orbit|Mun|Kerbin}}/{{Body data/Sidereal orbit|{{{1}}}|{{Body data|{{{1}}}|parent}}}}}}|4}} || {{Formatnum|{{#expr:{{Body data/Sidereal orbit|Kerbin|Kerbol}}/{{Body data/Sidereal orbit|{{{1}}}|{{Body data|{{{1}}}|parent}}}}}}|3}} || {{Formatnum|{{#expr:86400/{{Body data/Sidereal orbit|{{{1}}}|{{Body data|{{{1}}}|parent}}}}}}|4}} || {{Formatnum|{{#expr:2629800/{{Body data/Sidereal orbit|{{{1}}}|{{Body data|{{{1}}}|parent}}}}}}|4}} || {{Formatnum|{{#expr:31557600/{{Body data/Sidereal orbit|{{{1}}}|{{Body data|{{{1}}}|parent}}}}}}|2}}
+
<noinclude>{| class="wikitable"
|-
 
</includeonly>
 
<noinclude>Returns the row of the {{Tl|celestial period table}}
 
 
 
like
 
 
 
{| class="wikitable"
 
 
|-
 
|-
 
! rowspan="2" | {{Celestial/Dict|Celestial Body}} !! rowspan="2" | {{Celestial/Dict|Parent}} !! rowspan="2" | {{Dict|Hours}} !! colspan="3" | Kerbin !! colspan="3" | {{Celestial/Dict|Earth}} !! rowspan="2" | {{lang|en=Revolutions<br />per Hour|hu=Óránkénti<br />keringés}} !! colspan="3" | {{lang|en=Revolutions per Kerbin|hu=Keringés/Kerbini}} !! colspan="3" class="unsortable" | {{lang|en=Revolutions per Earth|hu=Keringés/Földi}}
 
! rowspan="2" | {{Celestial/Dict|Celestial Body}} !! rowspan="2" | {{Celestial/Dict|Parent}} !! rowspan="2" | {{Dict|Hours}} !! colspan="3" | Kerbin !! colspan="3" | {{Celestial/Dict|Earth}} !! rowspan="2" | {{lang|en=Revolutions<br />per Hour|hu=Óránkénti<br />keringés}} !! colspan="3" | {{lang|en=Revolutions per Kerbin|hu=Keringés/Kerbini}} !! colspan="3" class="unsortable" | {{lang|en=Revolutions per Earth|hu=Keringés/Földi}}
Line 12: Line 5:
 
! {{Dict|Days}} !! {{Dict|Months}} !! {{Dict|Years}} !! {{Dict|Days}} !! {{Dict|Months}} !! {{Dict|Years}} !! {{Dict|Day}} !! {{Dict|Month}} !! {{Dict|Year}} !! {{Dict|Day}} !! {{Dict|Month}} !! {{Dict|Year}}
 
! {{Dict|Days}} !! {{Dict|Months}} !! {{Dict|Years}} !! {{Dict|Days}} !! {{Dict|Months}} !! {{Dict|Years}} !! {{Dict|Day}} !! {{Dict|Month}} !! {{Dict|Year}} !! {{Dict|Day}} !! {{Dict|Month}} !! {{Dict|Year}}
 
|-
 
|-
| {{Body data/full name|Moho}} || {{Body data/full name|Kerbol}} || {{Row of celestial period table|Moho}}
+
</noinclude>| {{#ifeq: {{Body data|{{{1<noinclude>|Eve</noinclude>}}}|parent}}|Kerbol||style="padding-left:1em" {{!}}}} {{Body data/full name|{{{1<noinclude>|Eve</noinclude>}}}}}
| {{Body data/full name|Eve}} || {{Celestial/Dict|Kerbol}} || {{Row of celestial period table|Eve}}
+
| {{Body data/full name|{{Body data|{{{1<noinclude>|Eve</noinclude>}}}|parent}}}}
| {{Body data/full name|Gilly}} || {{Celestial/Dict|Eve}} || {{Row of celestial period table|Gilly}}
+
| {{Formatnum|{{#expr:{{Body data/Sidereal orbit|{{{1<noinclude>|Eve</noinclude>}}}}}/3600}}|2}}
 +
| {{Formatnum|{{#expr:{{Body data/Sidereal orbit|{{{1<noinclude>|Eve</noinclude>}}}}}/21600}}|2}}
 +
| {{Formatnum|{{#expr:{{Body data/Sidereal orbit|{{{1<noinclude>|Eve</noinclude>}}}}}/{{Body data/Sidereal orbit|Mun|Kerbin}}}}|3}}
 +
| {{Formatnum|{{#expr:{{Body data/Sidereal orbit|{{{1<noinclude>|Eve</noinclude>}}}}}/{{Body data/Sidereal orbit|Kerbin|Kerbol}}}}|4}}
 +
| {{Formatnum|{{#expr:{{Body data/Sidereal orbit|{{{1<noinclude>|Eve</noinclude>}}}}}/86400}}|3}}
 +
| {{Formatnum|{{#expr:{{Body data/Sidereal orbit|{{{1<noinclude>|Eve</noinclude>}}}}}/2629800}}|4}}
 +
| {{Formatnum|{{#expr:{{Body data/Sidereal orbit|{{{1<noinclude>|Eve</noinclude>}}}}}/31557600}}|4}}
 +
| {{Formatnum|{{#expr:3600/{{Body data/Sidereal orbit|{{{1<noinclude>|Eve</noinclude>}}}}}}}|8}}
 +
| {{Formatnum|{{#expr:21600/{{Body data/Sidereal orbit|{{{1<noinclude>|Eve</noinclude>}}}}}}}|4}}
 +
| {{Formatnum|{{#expr:{{Body data/Sidereal orbit|Mun|Kerbin}}/{{Body data/Sidereal orbit|{{{1<noinclude>|Eve</noinclude>}}}}}}}|4}}
 +
| {{Formatnum|{{#expr:{{Body data/Sidereal orbit|Kerbin|Kerbol}}/{{Body data/Sidereal orbit|{{{1<noinclude>|Eve</noinclude>}}}}}}}|3}}
 +
| {{Formatnum|{{#expr:86400/{{Body data/Sidereal orbit|{{{1<noinclude>|Eve</noinclude>}}}}}}}|4}}
 +
| {{Formatnum|{{#expr:2629800/{{Body data/Sidereal orbit|{{{1<noinclude>|Eve</noinclude>}}}}}}}|4}}
 +
| {{Formatnum|{{#expr:31557600/{{Body data/Sidereal orbit|{{{1<noinclude>|Eve</noinclude>}}}}}}}|2}}
 +
|-
 +
<noinclude>
 +
{{Celestial period table/row|Gilly}}
 
|}
 
|}
 +
 +
Returns the row of the {{Tl|celestial period table}}
 +
 +
[[Category:Metatemplates]]
 
</noinclude>
 
</noinclude>

Revision as of 11:06, 7 March 2015

Celestial Body Parent Hours Kerbin Earth Revolutions
per Hour
Revolutions per Kerbin Revolutions per Earth
Days Months Years Days Months Years Day Month Year Day Month Year
Eve Kerbol 1 571.67 261.94 40.710 0.6148 65.486 2.1515 0.1793 0.00063627 0.0038 0.0246 1.627 0.0153 0.4648 5.58
Gilly Eve 107.94 17.99 2.796 0.0422 4.498 0.1478 0.0123 0.00926433 0.0556 0.3577 23.685 0.2223 6.7676 81.21

Returns the row of the {{celestial period table}}