Difference between revisions of "Template:StarColor"

From Traveller Wiki - Science-Fiction Adventure in the Far future
Jump to navigation Jump to search
 
(19 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{#switch: {{#sub:{{{1}}}|0|1}}|M=red|K=Orange|G=Yellow-White|F=White|A=White|B=Blue-White|O=Blue|None}}<noinclude>
+
{{#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=
Converts a star description (e.g. G2 V) into it appropriate color (e.g. Yellow-White). The full table is:
+
{{#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).  
 +
 
 +
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 K stars: Orange
+
* Type BD stars: Brown Dwarf
* Type G stars: Yellow-White
+
* Type BH stars: Black Hole
* Type F stars: White
+
* Type D stars: White Dwarf
* Type A stars: White
+
* Type NS stars: Neutron Star
* Type B stars: Blue-White
+
 
* Type O stars: Blue
+
----
 +
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.
 +
: - [[User:Maksim-Smelchak|Maksim-Smelchak]] ([[User talk:Maksim-Smelchak|talk]]) 08:26, 18 September 2016 (EDT)
 +
 
 +
 
 
[[Category: Templates|StarColor]]
 
[[Category: Templates|StarColor]]
 
</noinclude>
 
</noinclude>

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:

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)