Template:Star Data

Template page
Revision as of 00:28, 30 December 2021 by Cyclops (talk | contribs)
Type: Unknown
Radius: Unknown
Mass: Unknown
Temperature: Unknown
Luminosity: Unknown

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 templates. Text will flow around the table so provide more room for descriptions and other data.

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)