Difference between revisions of "Template:StarData"

From Traveller Wiki - Science-Fiction Adventure in the Far future
Jump to navigation Jump to search
Line 4: Line 4:
 
  |mass = float
 
  |mass = float
 
  |diameter = float
 
  |diameter = float
  |temperature = integer
+
  |temperature_min = integer
 +
|temperature_max = integer
 
  |luminosity = float
 
  |luminosity = float
  |habit_zone_orbit = Integer
+
  |safe_distance = float
|habit_zone_au = float
 
|jump_shadow_orbit = Integer
 
|jump_shadow_au = float
 
|mdrive_limit_orbit = Integer
 
|mdrive_limit_au = float
 
 
}}
 
}}
  
Line 22: Line 18:
 
: See also [[Template:Primary]] - gives the color of the star based on the type.  
 
: See also [[Template:Primary]] - gives the color of the star based on the type.  
 
: See also [[Template:StarColor]] - gives a text of the color of the star on type.
 
: See also [[Template:StarColor]] - gives a text of the color of the star on type.
 +
: See also [[Template:AU to Orbit]] - converts the AU calculations to T5 Orbit numbers.
 +
 
<pre>
 
<pre>
{{{StarData
+
{{StarData
 
  |type = Stellar Type (e.g. G2 V)
 
  |type = Stellar Type (e.g. G2 V)
 
  |mass = Mass of the star in solar masses (i.e. Sol = 1)
 
  |mass = Mass of the star in solar masses (i.e. Sol = 1)
 
  |diameter = Diameter of the star in AU
 
  |diameter = Diameter of the star in AU
  |temperature = Surface temperature in Kelvin
+
  |temperature min = minimum surface temperature in Kelvin
 +
|temperature max = maximum surface temperature in Kelvin
 
  |luminosity = Brightness of the star in solar brightness (i.e. Sol = 1)
 
  |luminosity = Brightness of the star in solar brightness (i.e. Sol = 1)
  |habit zone orbit = orbit number of the habitable zone around this star
+
  |safe distance = Safe travel distance from the star (1000K black body distance in AU)
|habit zone au = orbital distance of the habitable zone is AU, to the center of the zone
 
|jump shadow orbit = orbit number of the jump shadow (100D) of the star
 
|jump shadow au = distance in AU of the jump shadow (100D) of the star
 
|mdrive orbit = orbit number of the Maneuver drive limit (1000D) of the star
 
|mdrive au = distance in AU of the Maneuver drive limit (1000D) of the star
 
 
}}
 
}}
 
</pre>
 
</pre>
  
 
{|
 
{|
! Type !! Mass !! Diameter !! Temperature!! Luminosity !! Habit orbit !! Habit AU !! Jump orbit !! Jump AU !! M-Drive Orbit !! M-Drive AU
+
! Type !! Mass !! Diameter !! Temperature !! Luminosity !! Min Safe Distance
 
|-</noinclude>
 
|-</noinclude>
| {{{type}}} || {{{mass}}} || {{{diameter}}} || {{{temperature}}} || {{{luminosity}}} || {{{habit zone orbit}}} || {{{habit zone au}}} || {{{jump shadow orbit}}} || {{{jump shadow au}}} || {{{mdrive orbit}}} || {{{mdrive au}}}
+
| {{{type}}} || {{{mass}}} || {{{diameter}}} || {{{temperature min}}} - {{{temperature max}}} || {{{luminosity}}} || {{{safe distance}}}
 
|-<noinclude>
 
|-<noinclude>
 
|}</noinclude><includeonly>
 
|}</noinclude><includeonly>
Line 49: Line 43:
 
  |mass = {{{mass}}}
 
  |mass = {{{mass}}}
 
  |diameter = {{{diameter}}}
 
  |diameter = {{{diameter}}}
  |temperature = {{{temperature}}}
+
  |temperature_min = {{{temperature min}}}
 +
|temperature_max = {{{temperature max}}}
 
  |luminosity = {{{luminosity}}}
 
  |luminosity = {{{luminosity}}}
  |habit_zone_orbit = {{{habit zone orbit}}}
+
  |safe_distance = {{{safe distance}}}
|habit_zone_au = {{{habit zone au|}}}
 
|jump_shadow_orbit = {{{jump shadow orbit}}}
 
|jump_shadow_au = {{{jump shadow au|}}}
 
|mdrive_limit_orbit = {{{mdrive orbit}}}
 
|mdrive_limit_au = {{{mdrive au|}}}
 
 
}}</includeonly>
 
}}</includeonly>

Revision as of 02:52, 15 July 2020

This template defines the table "StarData". View table. This is a data template to enter data about each type of star. This is a cargo template, used to capture data, but not format the results.

Data formatting is done through <other templates>.

See also Template:Primary - gives the color of the star based on the type.
See also Template:StarColor - gives a text of the color of the star on type.
See also Template:AU to Orbit - converts the AU calculations to T5 Orbit numbers.
{{StarData
 |type = Stellar Type (e.g. G2 V)
 |mass = Mass of the star in solar masses (i.e. Sol = 1)
 |diameter = Diameter of the star in AU
 |temperature min = minimum surface temperature in Kelvin
 |temperature max = maximum surface temperature in Kelvin
 |luminosity = Brightness of the star in solar brightness (i.e. Sol = 1)
 |safe distance = Safe travel distance from the star (1000K black body distance in AU)
}}
Type Mass Diameter Temperature Luminosity Min Safe Distance
{{{type}}} {{{mass}}} {{{diameter}}} {{{temperature min}}} - {{{temperature max}}} {{{luminosity}}} {{{safe distance}}}