Difference between revisions of "Template:StarData"

From Traveller Wiki - Science-Fiction Adventure in the Far future
Jump to navigation Jump to search
 
(6 intermediate revisions by the same user not shown)
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
+
  |habit_zone_inner = float
  |jump_shadow_orbit = Integer
+
  |habit_zone_outer = float
|jump_shadow_au = float
+
  |category = String
  |mdrive_limit_orbit = Integer
 
|mdrive_limit_au = float
 
 
}}
 
}}
  
Line 22: Line 21:
 
: 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
+
  |category = Category of the body (Main Sequence, Giant, Supergiant, Stellar Remnant)
|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>
  
{|
+
{| class="wikitable"
! Type !! Mass !! Diameter !! Temperature!! Luminosity !! Habit orbit !! Habit AU !! Jump orbit !! Jump AU !! M-Drive Orbit !! M-Drive AU
+
! Type !! Mass (M<sub>sol</sub>) !! Diameter (AU) !! Surface Temperature (K) !! Luminosity (L<sub>sol</sub>) !! Min Safe Distance (AU) !! Habitable Zone (AU) !! Category
 +
! Habitable Zone Orbit
 +
! Jump shadow (AU)
 +
! Jump shadow (orbit)
 +
! M-Drive limit (AU)
 +
! M-Drive limit (orbit)
 
|-</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}}} || {{{habit zone inner}}} - {{{habit zone outer}}} || {{{category}}}
 +
| {{AU to Orbit|{{#expr:({{{habit zone inner|0}}}+{{{habit zone outer|0}}})/2 }} }}
 +
| {{#expr:{{{diameter|0}}} * 100}}
 +
| {{AU to Orbit|{{#expr:{{{diameter|0}}} * 100}} }}
 +
| {{#expr:{{{diameter|0}}} * 1000}}
 +
| {{AU to Orbit|{{#expr:{{{diameter|0}}} * 1000}} }}
 
|-<noinclude>
 
|-<noinclude>
|}</noinclude><includeonly>
+
{{StarData|type=M9 VI|mass=0.058|diameter=0.00049|temperature min=1900|temperature max=2400|luminosity=0.00006|safe distance=0.00064|habit zone inner=0.01|habit zone outer=0.01|category=Main Sequence}}
 +
</noinclude><includeonly>
 
{{#cargo_store:
 
{{#cargo_store:
 
  _table=StarData
 
  _table=StarData
Line 49: Line 58:
 
  |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|}}}
+
  |habit_zone_inner = {{{habit zone inner}}}
  |jump_shadow_orbit = {{{jump shadow orbit}}}
+
  |habit_zone_outer = {{{habit zone outer}}}
  |jump_shadow_au = {{{jump shadow au|}}}
+
  |category = {{{category}}}
|mdrive_limit_orbit = {{{mdrive orbit}}}
 
|mdrive_limit_au = {{{mdrive au|}}}
 
 
}}</includeonly>
 
}}</includeonly>

Latest revision as of 16:05, 22 August 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)
 |category = Category of the body (Main Sequence, Giant, Supergiant, Stellar Remnant)
}}
Type Mass (Msol) Diameter (AU) Surface Temperature (K) Luminosity (Lsol) Min Safe Distance (AU) Habitable Zone (AU) Category Habitable Zone Orbit Jump shadow (AU) Jump shadow (orbit) M-Drive limit (AU) M-Drive limit (orbit)
{{{type}}} {{{mass}}} {{{diameter}}} {{{temperature min}}} - {{{temperature max}}} {{{luminosity}}} {{{safe distance}}} {{{habit zone inner}}} - {{{habit zone outer}}} {{{category}}}  * 0  * 0  *
M9 VI 0.058 0.00049 1900 - 2400 0.00006 0.00064 0.01 - 0.01 Main Sequence  * 0.049  * 0.49 1