Difference between revisions of "Template:Infobox star"
Jump to navigation
Jump to search
Template documentation
| Line 10: | Line 10: | ||
-->{{#if: {{{apparent_magnitude|}}} | <tr> <th>[[Apparent magnitude]]:</th> <td>{{{apparent_magnitude}}}</td> </tr>}}<!-- | -->{{#if: {{{apparent_magnitude|}}} | <tr> <th>[[Apparent magnitude]]:</th> <td>{{{apparent_magnitude}}}</td> </tr>}}<!-- | ||
-->{{#if: {{{absolute_magnitude|}}} | <tr> <th>[[Absolute magnitude]]:</th> <td>{{{apparent_magnitude}}}</td> </tr>}}<!-- | -->{{#if: {{{absolute_magnitude|}}} | <tr> <th>[[Absolute magnitude]]:</th> <td>{{{apparent_magnitude}}}</td> </tr>}}<!-- | ||
| − | -->{{#if: {{{spectral_type|}}}{{{luminosity_class|}}} | <tr> <th>[[Spectral type]]/[[Luminosity class]]:</th> <td>{{{spectral_type}}}{{{luminosity_class}}}</td> </tr><!-- | + | -->{{#if: {{{spectral_type|}}}{{{luminosity_class|}}} | <tr> <th>[[Spectral type]]/[[Luminosity class]]:</th> <td>{{{spectral_type|}}}{{{luminosity_class|}}}</td> </tr>}}<!-- |
-->{{#if: {{{name1|}}} | <tr> <th colspan=2 align=center>{{{name1}}}</th></tr>}}<!-- | -->{{#if: {{{name1|}}} | <tr> <th colspan=2 align=center>{{{name1}}}</th></tr>}}<!-- | ||
-->{{#if: {{{ra1|}}} | <tr> <th>[[Right ascension]]:</th> <td>{{{ra1}}}</td> </tr>}}<!-- | -->{{#if: {{{ra1|}}} | <tr> <th>[[Right ascension]]:</th> <td>{{{ra1}}}</td> </tr>}}<!-- | ||
| Line 16: | Line 16: | ||
-->{{#if: {{{apparent_magnitude1|}}} | <tr> <th>[[Apparent magnitude]]:</th> <td>{{{apparent_magnitude1}}}</td> </tr>}}<!-- | -->{{#if: {{{apparent_magnitude1|}}} | <tr> <th>[[Apparent magnitude]]:</th> <td>{{{apparent_magnitude1}}}</td> </tr>}}<!-- | ||
-->{{#if: {{{absolute_magnitude1|}}} | <tr> <th>[[Absolute magnitude]]:</th> <td>{{{apparent_magnitude1}}}</td> </tr>}}<!-- | -->{{#if: {{{absolute_magnitude1|}}} | <tr> <th>[[Absolute magnitude]]:</th> <td>{{{apparent_magnitude1}}}</td> </tr>}}<!-- | ||
| − | -->{{#if: {{{spectral_type1|}}}{{{luminosity_class1|}}} | <tr> <th>[[Spectral type]]/[[Luminosity class]]:</th> <td>{{{spectral_type1}}}{{{luminosity_class1}}}</td> </tr><!-- | + | -->{{#if: {{{spectral_type1|}}}{{{luminosity_class1|}}} | <tr> <th>[[Spectral type]]/[[Luminosity class]]:</th> <td>{{{spectral_type1|}}}{{{luminosity_class1|}}}</td> </tr>}}<!-- |
-->{{#if: {{{name2|}}} | <tr> <th colspan=2 align=center>{{{name2}}}</th></tr>}}<!-- | -->{{#if: {{{name2|}}} | <tr> <th colspan=2 align=center>{{{name2}}}</th></tr>}}<!-- | ||
-->{{#if: {{{ra2|}}} | <tr> <th>[[Right ascension]]:</th> <td>{{{ra2}}}</td> </tr>}}<!-- | -->{{#if: {{{ra2|}}} | <tr> <th>[[Right ascension]]:</th> <td>{{{ra2}}}</td> </tr>}}<!-- | ||
| Line 22: | Line 22: | ||
-->{{#if: {{{apparent_magnitude2|}}} | <tr> <th>[[Apparent magnitude]]:</th> <td>{{{apparent_magnitude2}}}</td> </tr>}}<!-- | -->{{#if: {{{apparent_magnitude2|}}} | <tr> <th>[[Apparent magnitude]]:</th> <td>{{{apparent_magnitude2}}}</td> </tr>}}<!-- | ||
-->{{#if: {{{absolute_magnitude2|}}} | <tr> <th>[[Absolute magnitude]]:</th> <td>{{{apparent_magnitude2}}}</td> </tr>}}<!-- | -->{{#if: {{{absolute_magnitude2|}}} | <tr> <th>[[Absolute magnitude]]:</th> <td>{{{apparent_magnitude2}}}</td> </tr>}}<!-- | ||
| − | -->{{#if: {{{spectral_type2|}}}{{{luminosity_class2|}}} | <tr> <th>[[Spectral type2]]/[[Luminosity class2]]:</th> <td>{{{spectral_type2}}}{{{luminosity_class2}}}</td> </tr><!-- | + | -->{{#if: {{{spectral_type2|}}}{{{luminosity_class2|}}} | <tr> <th>[[Spectral type2]]/[[Luminosity class2]]:</th> <td>{{{spectral_type2|}}}{{{luminosity_class2|}}}</td> </tr>}}<!-- |
--> | --> | ||
}}<!-- | }}<!-- | ||
Revision as of 06:08, 30 November 2011
- Double star
- REDIRECT Template:Starbox begin
{{Infobox Star
| bgcolour = yellow
| name = (name)
| image = (image)
| caption = (caption)
| observation_data = yes
| epoch = (epoch)
| constellation = (constellation)
| name1 = (first name)
| ra1 = {{RA|h|m|s}}
| dec1 = {{DEC|d|m|s}}
| apparent_magnitude1 = (app mag1)
| absolute_magnitude1 = (abs mag1)
| name2 = (second name)
| ra2 = {{RA|h|m|s}}
| dec2 = {{DEC|d|m|s}}
| apparent_magnitude2 = (app mag2)
| absolute_magnitude2 = (abs mag2)
}}
- Single star
- REDIRECT Template:Starbox begin
{{Infobox Star
| bgcolour = yellow
| name = (name)
| image = (image)
| caption = (caption)
| observation_data = yes
| epoch = (epoch)
| constellation = (constellation)
| ra = {{RA|h|m|s}}
| dec = {{DEC|d|m|s}}
| apparent_magnitude = (app mag)
| absolute_magnitude = (abs mag)
}}
- Binary star
- REDIRECT Template:Starbox begin
{{Infobox Star
| bgcolour = yellow
| name = (name)
| image = (image)
| caption = (caption)
| observation_data = yes
| epoch = (epoch)
| constellation = (constellation)
| ra = {{RA|h|m|s}} // system coordinates
| dec = {{DEC|d|m|s}} // system coordinates
| apparent_magnitude = (app mag) // system magnitude
| absolute_magnitude = (abs mag) // system magnitude
| name1 = (first name)
| ra1 = {{RA|h|m|s}}
| dec1 = {{DEC|d|m|s}}
| apparent_magnitude1 = (app mag1)
| absolute_magnitude1 = (abs mag1)
| name2 = (second name)
| ra2 = {{RA|h|m|s}}
| dec2 = {{DEC|d|m|s}}
| apparent_magnitude2 = (app mag2)
| absolute_magnitude2 = (abs mag2)
}}
| The above documentation is transcluded from Template:Infobox star/doc. (edit | history) Editors can experiment in this template's sandbox (edit | diff) and testcases (edit) pages. Subpages of this template. |