Difference between revisions of "Template:OrbitVelocity"

From Kerbal Space Program Wiki
Jump to: navigation, search
(+support BodyData directly and new parameters from the core template;)
m (!defaults period and mass to the given body;)
Line 1: Line 1:
<includeonly>{{formatnum|{{OrbitVelocity/Core|{{{1|{{{period|{{{period_s}}}}}}}}}|{{{2|{{{mass|{{{mass_kg}}}}}}}}}|b={{{body|{{{b|}}}}}}|f={{{factor|{{{f|}}}}}}|pf={{{period factor|{{{pf|}}}}}}}}|2}}&nbsp;{{Dict|{{{factor|{{{f|}}}}}}}}{{Dict|m}}/{{Dict|s}}{{#if: {{{period_s|}}}{{{mass_kg|}}}{{{round|}}}{{{suffix|}}}|[[Category:OrbitVelocity with old parameters]]}}</includeonly><noinclude>This template calculates the velocity of an orbit. To calculate further with the orbit's velocity use {{Tl|OrbitVelocity/Core}}.
+
<includeonly>{{formatnum|{{OrbitVelocity/Core|{{{1|{{{period|{{{period_s|}}}}}}}}}|{{{2|{{{mass|{{{mass_kg|}}}}}}}}}|b={{{body|{{{b|}}}}}}|f={{{factor|{{{f|}}}}}}|pf={{{period factor|{{{pf|}}}}}}}}|2}}&nbsp;{{Dict|{{{factor|{{{f|}}}}}}}}{{Dict|m}}/{{Dict|s}}{{#if: {{{period_s|}}}{{{mass_kg|}}}{{{round|}}}{{{suffix|}}}|[[Category:OrbitVelocity with old parameters]]}}</includeonly><noinclude>This template calculates the velocity of an orbit. To calculate further with the orbit's velocity use {{Tl|OrbitVelocity/Core}}.
  
 
All usages with the old parameter names will be sorted into the category [[:Category:OrbitVelocity with old parameters]].
 
All usages with the old parameter names will be sorted into the category [[:Category:OrbitVelocity with old parameters]].

Revision as of 10:29, 17 September 2013

This template calculates the velocity of an orbit. To calculate further with the orbit's velocity use {{OrbitVelocity/Core}}.

All usages with the old parameter names will be sorted into the category Category:OrbitVelocity with old parameters.

Parameters

Template:Parameter Table

Examples

Usage Produces
{{OrbitVelocity | period=64980 | mass=4.515e21}}
307.72 m/s
{{OrbitVelocity | 64980 | 4.515e21}}
307.72 m/s