Template:Star Data: Difference between revisions

Template page
No edit summary
No edit summary
 
(6 intermediate revisions by the same user not shown)
Line 1: Line 1:
{|<‎includeonly>style="float:right; margin-right: 10px;"‎</includeonly>
{|
|style="text-align:right; vertical-align: top; padding-right: 5px;"|''Type:''
|style="text-align:right; vertical-align: top; padding-right: 5px;"|'''Type:'''
|style="vertical-align: top;"|{{{type|Unknown}}}
|style="vertical-align: top;"|{{{type|Unknown}}}
|-
|-
|style="text-align:right; vertical-align: top; padding-right: 5px;"|''Radius:''
|style="text-align:right; vertical-align: top; padding-right: 5px;"|'''Radius:'''
|style="vertical-align: top;"|{{{radius|Unknown}}}
|style="vertical-align: top;"|{{{radius|Unknown}}}
|-
|-
|style="text-align:right; vertical-align: top; padding-right: 5px;"|''Mass:''
|style="text-align:right; vertical-align: top; padding-right: 5px;"|'''Mass:'''
|style="vertical-align: top;"|{{{mass|Unknown}}}
|style="vertical-align: top;"|{{{mass|Unknown}}}
|-
|-
|style="text-align:right; vertical-align: top; padding-right: 5px;"|''Temperature:''
|style="text-align:right; vertical-align: top; padding-right: 5px;"|'''Temperature:'''
|style="vertical-align: top;"|{{{temp|Unknown}}}
|style="vertical-align: top;"|{{{temp|Unknown}}}
|-
|-
|style="text-align:right; vertical-align: top; padding-right: 5px;"|''Luminosity:''
|style="text-align:right; vertical-align: top; padding-right: 5px;"|'''Luminosity:'''
|style="vertical-align: top;"|{{{lum|Unknown}}}
|style="vertical-align: top;"|{{{lum|Unknown}}}
{{#if:{{{hab|}}}|<tr><td style="text-align:right; vertical-align: top; padding-right: 5px;">'''Ecosphere:'''</td><td style="vertical-align: top;">{{{hab|Unknown}}}</td></tr>}}
|-
|style="text-align:right; vertical-align: top; padding-right: 5px;"|'''Location:'''
|style="vertical-align: top;"|{{{loc|Unknown}}}
|}<noinclude>
|}<noinclude>
== Documentation ==
== Documentation ==
Any value not given will default to unknown. The table is included as a floating table that is right-justified, similar to the [[Template:Character Box]] and similar templatesText will flow around the table so provide more room for descriptions and other data.
Any value not given will default to unknown, except the habitability which will only appear if it is specified, otherwise it will be omitted.
 
As a side-note, habitability can be calculated in a few ways, see [http://depts.washington.edu/naivpl/sites/default/files/hz_0.shtml#overlay-context=content/hz-calculator here] and [https://www.planetarybiology.com/calculating_habitable_zone.html here] for most starsWolfram Alpha can derive a lot of values for luminosity and temperature from a spectral class.


Template is used as follows:
Template is used as follows:
Line 26: Line 32:
|temp=  Temperature of the Star
|temp=  Temperature of the Star
|lum=    Luminosity of the Star
|lum=    Luminosity of the Star
|hab=    The habitable zone or ecosphere of the Star
|loc=    Location of the Star / Star System
}}
}}
</pre>
</pre>
Line 34: Line 42:
{{Star Data
{{Star Data
|type=K6V Orange Main Sequence Star
|type=K6V Orange Main Sequence Star
|radius={{Exp|5.98|5}} (0.86 of Sol)
|radius={{Exp|5.98|5}} km (0.86 of Sol)
|mass={{Exp|1.38|30}} kg (0.70 of Sol)
|mass={{Exp|1.38|30}} kg (0.70 of Sol)
|temp=3900 K
|temp=3900 K
|lum={{Exp|5.88|25}} (0.15 of Sol)
|lum={{Exp|5.88|25}} W (0.15 of Sol)
|hab=Between 0.315 and 0.799 AU
|loc=[[Beeria Sector]]<br>3 ly from the [[Hubroid Star System]]<br>7 ly from the [[Sigma Tamelos Sector]]
}}
}}
</pre>
</pre>
Line 44: Line 54:
{{Star Data
{{Star Data
|type=K6V Orange Main Sequence Star
|type=K6V Orange Main Sequence Star
|radius={{Exp|5.98|5}} (0.86 of Sol)
|radius={{Exp|5.98|5}} km (0.86 of Sol)
|mass={{Exp|1.38|30}} kg (0.70 of Sol)
|mass={{Exp|1.38|30}} kg (0.70 of Sol)
|temp=3900 K
|temp=3900 K
|lum={{Exp|5.88|25}} (0.15 of Sol)
|lum={{Exp|5.88|25}} W (0.15 of Sol)
|hab=Between 0.315 and 0.799 AU
|loc=[[Beeria Sector]]<br>3 ly from the [[Hubroid Star System]]<br>7 ly from the [[Sigma Tamelos Sector]]
}}
}}
‎</noinclude>
‎</noinclude>

Latest revision as of 22:15, 31 December 2021

Type: Unknown
Radius: Unknown
Mass: Unknown
Temperature: Unknown
Luminosity: Unknown
Location: Unknown

Documentation

Any value not given will default to unknown, except the habitability which will only appear if it is specified, otherwise it will be omitted.

As a side-note, habitability can be calculated in a few ways, see here and here for most stars. Wolfram Alpha can derive a lot of values for luminosity and temperature from a spectral class.

Template is used as follows:

{{Star Data
|type=   Type of Star (Spectral Class / Type)
|radius= Radius / Size of Star
|mass=   Mass of the Star
|temp=   Temperature of the Star
|lum=    Luminosity of the Star
|hab=    The habitable zone or ecosphere of the Star
|loc=    Location of the Star / Star System
}}

Example

The following code is for an example star:

{{Star Data
|type=K6V Orange Main Sequence Star
|radius={{Exp|5.98|5}} km (0.86 of Sol)
|mass={{Exp|1.38|30}} kg (0.70 of Sol)
|temp=3900 K
|lum={{Exp|5.88|25}} W (0.15 of Sol)
|hab=Between 0.315 and 0.799 AU
|loc=[[Beeria Sector]]<br>3 ly from the [[Hubroid Star System]]<br>7 ly from the [[Sigma Tamelos Sector]]
}}

This code creates:

Type: K6V Orange Main Sequence Star
Radius: 5.98 x 105 km (0.86 of Sol)
Mass: 1.38 x 1030 kg (0.70 of Sol)
Temperature: 3900 K
Luminosity: 5.88 x 1025 W (0.15 of Sol)
Ecosphere:Between 0.315 and 0.799 AU
Location: Beeria Sector
3 ly from the Hubroid Star System
7 ly from the Sigma Tamelos Sector