Difference between revisions of "Template:StarColor"
Jump to navigation
Jump to search
| Line 1: | Line 1: | ||
| − | {{#switch: {{#sub:{{{1}}}|0|1}}|M=Red|K=Orange|G=Yellow|F=Yellow-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|B=Blue-White|O=Blue|D=White Dwarf|None}}<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: | ||
| Line 10: | Line 10: | ||
* Type B stars: Blue-White | * Type B stars: Blue-White | ||
* Type O stars: Blue | * Type O stars: Blue | ||
| + | * Type D stars: White Dwarf | ||
[[Category: Templates|StarColor]] | [[Category: Templates|StarColor]] | ||
</noinclude> | </noinclude> | ||
Revision as of 14:49, 19 July 2015
None
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 O stars: Blue
- Type D stars: White Dwarf