Difference between revisions of "Template:OrbitVelocity"
From Kerbal Space Program Wiki
m (!defaults period and mass to the given body;) |
m (*more specific categories; -old parameters;) |
||
Line 1: | Line 1: | ||
− | <includeonly>{{formatnum|{{OrbitVelocity/Core|{{{1|{{{period| | + | <includeonly>{{formatnum|{{OrbitVelocity/Core|{{{1|{{{period|}}}}}}|{{{2|{{{mass|}}}}}}|b={{{body|{{{b|}}}}}}|f={{{factor|{{{f|}}}}}}|pf={{{period factor|{{{pf|}}}}}}}}|2}} {{Dict|{{{factor|{{{f|}}}}}}}}{{Dict|m}}/{{Dict|s}}</includeonly><noinclude>This template calculates the velocity of an orbit. To calculate further with the orbit's velocity use {{Tl|OrbitVelocity/Core}}. |
− | |||
− | |||
== Parameters == | == Parameters == | ||
{{Parameter Table|name=both|parameters= | {{Parameter Table|name=both|parameters= | ||
− | {{Parameter Row|period|name2=1|Period of the orbit in seconds | + | {{Parameter Row|period|name2=1|Period of the orbit in seconds}} |
− | {{Parameter Row|mass|name2=2|Mass of central body in kilograms | + | {{Parameter Row|mass|name2=2|Mass of central body in kilograms}} |
{{Parameter Row|factor|name2=f|Factor in which the velocity should be shown. Available values: None (m/s), '''k''' (km/s), '''M''' (Mm/s), '''G''' (Gm/s).|None}} | {{Parameter Row|factor|name2=f|Factor in which the velocity should be shown. Available values: None (m/s), '''k''' (km/s), '''M''' (Mm/s), '''G''' (Gm/s).|None}} | ||
{{Parameter Row|body|name2=b|Uses the sidereal rotation period and mass as default from the given body. Can be overwritten.|Not set (makes the first two parameters mandatory)}} | {{Parameter Row|body|name2=b|Uses the sidereal rotation period and mass as default from the given body. Can be overwritten.|Not set (makes the first two parameters mandatory)}} | ||
Line 22: | Line 20: | ||
|} | |} | ||
− | [[Category: | + | [[Category:Calculating templates]] |
+ | [[Category:Translating templates]]</noinclude> |
Revision as of 16:27, 26 January 2014
This template calculates the velocity of an orbit. To calculate further with the orbit's velocity use {{OrbitVelocity/Core}}.
Parameters
Examples
Usage | Produces |
---|---|
{{OrbitVelocity | period=64980 | mass=4.515e21}} |
307.72 m/s |
{{OrbitVelocity | 64980 | 4.515e21}} |
307.72 m/s |