Template:Star Data: Difference between revisions

Template page
No edit summary
No edit summary
Line 1: Line 1:
{|
{|
|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}}}
|-
|-
|style="text-align:right; vertical-align: top; padding-right: 5px;"|''Location:''
|style="text-align:right; vertical-align: top; padding-right: 5px;"|'''Location:'''
|style="vertical-align: top;"|{{{loc|Unknown}}}
|style="vertical-align: top;"|{{{loc|Unknown}}}
|}<noinclude>
|}<noinclude>

Revision as of 06:23, 30 December 2021

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

Documentation

Any value not given will default to unknown.

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
|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}} (0.86 of Sol)
|mass={{Exp|1.38|30}} kg (0.70 of Sol)
|temp=3900 K
|lum={{Exp|5.88|25}} (0.15 of Sol)
|loc=3 ly from the [[Hubroid Star System]] / 7 ly from the [[Sigma Tamelos Sector]] in the [[Beeria Sector]]
}}

This code creates:

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