Template:AU to Orbit

From Traveller Wiki - Science-Fiction Adventure in the Far future
Jump to navigation Jump to search

This template converts an AU value between 0 and 100,000, with floating point supported, to an orbit number. This is according to the Orbital Distances table from the T5 Core Rules book. This setup assumes an orbital setup as determined by the orbits of Terra.

{{AU to Orbit|N}}
0.56 AU is Orbit: 2
2.8 AU is Orbit: 5