Difference between revisions of "Template:StarColor"
Jump to navigation
Jump to search
| (2 intermediate revisions by 2 users not shown) | |||
| Line 1: | Line 1: | ||
| − | {{#switch: {{#sub:{{{1}}}|0|1}}|M=Red|K=Orange|G=Yellow|F=Yellow-White|A=White|O=Blue|D=White Dwarf|B= | + | {{#switch: {{#sub:{{{1}}}|0|1}}|M=Red|K=Orange|G=Yellow|F=Yellow-White|A=White|O=Blue|N=Neutron Star (Blue)|D=White Dwarf (White)|B= |
{{#switch: {{#sub:{{{1}}}|1|1}}|0|1|2|3|4|5|6|7|8|9=Blue-White|D=Brown Dwarf|H=Black Hole}} }}<noinclude> | {{#switch: {{#sub:{{{1}}}|1|1}}|0|1|2|3|4|5|6|7|8|9=Blue-White|D=Brown Dwarf|H=Black Hole}} }}<noinclude> | ||
| − | |||
From the [[wikipedia:Stellar_classification|Stellar Classification at Wikipedia]], the template converts a star description (e.g. G2 V) into it appropriate color (e.g. Yellow). | From the [[wikipedia:Stellar_classification|Stellar Classification at Wikipedia]], the template converts a star description (e.g. G2 V) into it appropriate color (e.g. Yellow). | ||
The full table is: | The full table is: | ||
| + | * Type O stars: Blue | ||
| + | * Type B stars: Blue-White | ||
| + | * Type A stars: White | ||
| + | * Type F stars: Yellow-White | ||
| + | * Type G stars: Yellow | ||
| + | * Type K stars: Orange | ||
* Type M stars: Red | * Type M stars: Red | ||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
* Type BD stars: Brown Dwarf | * Type BD stars: Brown Dwarf | ||
* Type BH stars: Black Hole | * Type BH stars: Black Hole | ||
| − | |||
* Type D stars: White Dwarf | * Type D stars: White Dwarf | ||
| + | * Type NS stars: Neutron Star | ||
---- | ---- | ||
Latest revision as of 18:23, 30 June 2020
From the Stellar Classification at Wikipedia, the template converts a star description (e.g. G2 V) into it appropriate color (e.g. Yellow).
The full table is:
- Type O stars: Blue
- Type B stars: Blue-White
- Type A stars: White
- Type F stars: Yellow-White
- Type G stars: Yellow
- Type K stars: Orange
- Type M stars: Red
- Type BD stars: Brown Dwarf
- Type BH stars: Black Hole
- Type D stars: White Dwarf
- Type NS stars: Neutron Star
Used by:
- Template:MonostellarSystem x=50%
- Template:BinaryStarSystem x=45%
- Template:TrinaryStarSystem x=5%
- Template:QuaternaryStarSystem X<1%
- Template:QuinaryStarSystem X<1% Quintinary
- Template:SextenaryStarSystem X<1%
- Template:SeptenaryStarSystem X<1%
NOTE:
- Traveller currently has no star system bigger than six stars (sextenary) at the moment according to T5SS data.
- - Maksim-Smelchak (talk) 08:26, 18 September 2016 (EDT)