Template:Star Data: Difference between revisions

Template page
(Created page with "{| |style="text-align:right; vertical-align: top; padding-right: 5px;"|''Type:'' |style="vertical-align: top;"|{{{type|Unknown}}} |- |style="text-align:right; vertical-align:...")
 
No edit summary
Line 16: Line 16:
|}<noinclude>
|}<noinclude>
== Documentation ==
== Documentation ==
Any value not given will default to unknown, except the name which if specified will be a header but if not present the header will be omitted.  For planetary classes see the [[Planet Classification]] page.
Any value not given will default to unknown.


Template is used as follows:
Template is used as follows:

Revision as of 00:21, 30 December 2021

Type: Unknown
Radius: Unknown
Mass: Unknown
Temperature: Unknown
Luminosity: 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
}}

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)
}}

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)