Difference between revisions of "Template:StarColor"

From Traveller Wiki - Science-Fiction Adventure in the Far future
Jump to navigation Jump to search
Line 2: Line 2:
 
{{#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). The full table is:
+
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 M stars: Red
 
* Type M stars: Red
 
* Type K stars: Orange
 
* Type K stars: Orange
Line 20: Line 21:
 
* [[Template:TrinaryStarSystem]]
 
* [[Template:TrinaryStarSystem]]
 
* [[Template:QuaternaryStarSystem]]
 
* [[Template:QuaternaryStarSystem]]
 
+
* [[Template:QuiniaryStarSystem]]
 +
* [[Template:SextenaryStarSystem]]
  
 
[[Category: Templates|StarColor]]
 
[[Category: Templates|StarColor]]
 
</noinclude>
 
</noinclude>

Revision as of 12:24, 18 September 2016


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 M stars: Red
  • Type K stars: Orange
  • Type G stars: Yellow
  • Type F stars: Yellow-White
  • Type A stars: White
  • Type B stars: Blue-White
  • Type BD stars: Brown Dwarf
  • Type BH stars: Black Hole
  • Type O stars: Blue
  • Type D stars: White Dwarf

Used by: