Difference between revisions of "Template:Infobox star"
Jump to navigation
Jump to search
imported>Mike Peel (Adding parameters) |
imported>Mike Peel (Fixing code) |
||
| Line 7: | Line 7: | ||
-->{{#if: {{{constellation|}}} | <tr> <th>[[Constellation]]:</th> <td>{{{constellation}}}</td> </tr>}}<!-- | -->{{#if: {{{constellation|}}} | <tr> <th>[[Constellation]]:</th> <td>{{{constellation}}}</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 | + | -->{{#if: {{{ra1|}}} | <tr> <th>[[Right ascension]]:</th> <td>{{{ra1}}}</td> </tr>}}<!-- |
-->{{#if: {{{dec1|}}} | <tr> <th>[[Declination]]:</th> <td>{{{dec1}}}</td> </tr>}}<!-- | -->{{#if: {{{dec1|}}} | <tr> <th>[[Declination]]:</th> <td>{{{dec1}}}</td> </tr>}}<!-- | ||
-->{{#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: {{{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 | + | -->{{#if: {{{ra2|}}} | <tr> <th>[[Right ascension]]:</th> <td>{{{ra2}}}</td> </tr>}}<!-- |
-->{{#if: {{{dec2|}}} | <tr> <th>[[Declination]]:</th> <td>{{{dec2}}}</td> </tr>}}<!-- | -->{{#if: {{{dec2|}}} | <tr> <th>[[Declination]]:</th> <td>{{{dec2}}}</td> </tr>}}<!-- | ||
-->{{#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>}}<!-- | ||
| + | --> | ||
}}<!-- | }}<!-- | ||
| Line 29: | Line 30: | ||
| constellation = (constellation) | | constellation = (constellation) | ||
| name1 = (first name) | | name1 = (first name) | ||
| − | | ra1 = {{RA}} | + | | ra1 = {{RA|h|m|s}} |
| − | | dec1 = {{DEC}} | + | | dec1 = {{DEC|d|m|s}} |
| apparent_magnitude1 = (app mag1) | | apparent_magnitude1 = (app mag1) | ||
| absolute_magnitude1 = (abs mag1) | | absolute_magnitude1 = (abs mag1) | ||
| name2 = (second name) | | name2 = (second name) | ||
| − | | ra2 = {{RA}} | + | | ra2 = {{RA|h|m|s}} |
| − | | dec2 = {{DEC}} | + | | dec2 = {{DEC|d|m|s}} |
| apparent_magnitude2 = (app mag2) | | apparent_magnitude2 = (app mag2) | ||
| absolute_magnitude2 = (abs mag2) | | absolute_magnitude2 = (abs mag2) | ||
}} | }} | ||
</noinclude> | </noinclude> | ||
Revision as of 13:51, 21 January 2007
- REDIRECT Template:Starbox begin