Difference between revisions of "Template:StarColor"

From Traveller Wiki - Science-Fiction Adventure in the Far future
Jump to navigation Jump to search
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-White|F=White|A=White|B=Blue-White|O=Blue|None}}<noinclude>
 
Converts a star description (e.g. G2 V) into it appropriate color (e.g. Yellow-White). The full table is:
 
Converts a star description (e.g. G2 V) into it appropriate color (e.g. Yellow-White). The full table is:
 
* Type M stars: Red
 
* Type M stars: Red

Revision as of 11:30, 18 May 2015

None Converts a star description (e.g. G2 V) into it appropriate color (e.g. Yellow-White). The full table is:

  • Type M stars: Red
  • Type K stars: Orange
  • Type G stars: Yellow-White
  • Type F stars: White
  • Type A stars: White
  • Type B stars: Blue-White
  • Type O stars: Blue