Difference between revisions of "Template:StarData"

From Traveller Wiki - Science-Fiction Adventure in the Far future
Jump to navigation Jump to search
(Created page with "<noinclude>{{#cargo_declare: _table=StarData |type=String |mass = float |temperature = integer |luminosity = float |habit_zone_orbit = Integer |habit_zone_au = float |...")
 
Line 3: Line 3:
 
  |type=String
 
  |type=String
 
  |mass = float
 
  |mass = float
 +
|diameter = float
 
  |temperature = integer
 
  |temperature = integer
 
  |luminosity = float
 
  |luminosity = float
Line 9: Line 10:
 
  |jump_shadow_orbit = Integer
 
  |jump_shadow_orbit = Integer
 
  |jump_shadow_au = float
 
  |jump_shadow_au = float
 +
|mdrive_limit_orbit = Integer
 +
|mdrive_limit_au = float
 
}}
 
}}
  
Line 23: Line 26:
 
  |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
 
  |temperature = Surface temperature in Kelvin
 
  |temperature = 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)
Line 29: Line 33:
 
  |jump shadow orbit = orbit number of the jump shadow (100D) of the star
 
  |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
 
  |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 !! temperature!! Luminosity !! Habit orbit !! Habit AU !! Jump orbit !! Jump AU
+
! Type !! Mass !! !! Diameter !! Temperature!! Luminosity !! Habit orbit !! Habit AU !! Jump orbit !! Jump AU !! M-Drive Orbit !! M-Drive AU
 
|-</noinclude>
 
|-</noinclude>
| {{{type}}} || {{{mass}}} || {{{temperature}}} || {{{luminosity}}} || {{{habit zone orbit}}} || {{{habit zone au}}} || {{{jump shadow orbit}}} || {{{jump shadow au}}}
+
| {{{type}}} || {{{mass}}} || {{{diameter}}} || {{{temperature}}} || {{{luminosity}}} || {{{habit zone orbit}}} || {{{habit zone au}}} || {{{jump shadow orbit}}} || {{{jump shadow au}}} || {{{mdrive orbit}}} || {{{mdrive au}}}
 
|-
 
|-
 
<noinclude>
 
<noinclude>
Line 43: Line 49:
 
  |type = {{{type}}}
 
  |type = {{{type}}}
 
  |mass = {{{mass}}}
 
  |mass = {{{mass}}}
 +
|diameter = {{{diameter}}}
 
  |temperature = {{{temperature}}}
 
  |temperature = {{{temperature}}}
 
  |luminosity = {{{luminosity}}}
 
  |luminosity = {{{luminosity}}}
Line 49: Line 56:
 
  |jump_shadow_orbit = {{{jump shadow orbit}}}
 
  |jump_shadow_orbit = {{{jump shadow orbit}}}
 
  |jump_shadow_au = {{{jump shadow au|}}}
 
  |jump_shadow_au = {{{jump shadow au|}}}
 +
|mdrive_limit_orbit = {{{mdrive orbit}}}
 +
|mdrive_limit_au = {{{mdrive au|}}}
 
}}}</includeonly>
 
}}}</includeonly>

Revision as of 18:17, 28 June 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.
{{{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 = Surface temperature in Kelvin
 |luminosity = Brightness of the star in solar brightness (i.e. Sol = 1)
 |habit zone orbit = orbit number of the habitable zone around this star
 |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
}}
Type Mass Diameter Temperature Luminosity Habit orbit Habit AU Jump orbit Jump AU M-Drive Orbit M-Drive AU
{{{type}}} {{{mass}}} {{{diameter}}} {{{temperature}}} {{{luminosity}}} {{{habit zone orbit}}} {{{habit zone au}}} {{{jump shadow orbit}}} {{{jump shadow au}}} {{{mdrive orbit}}} {{{mdrive au}}}