Difference between revisions of "Template:Infobox star"
Jump to navigation
Jump to search
imported>David1010 |
|||
| Line 9: | Line 9: | ||
-->{{#if: {{{dec|}}} | <tr> <th>[[Declination]]:</th> <td>{{{dec}}}</td> </tr>}}<!-- | -->{{#if: {{{dec|}}} | <tr> <th>[[Declination]]:</th> <td>{{{dec}}}</td> </tr>}}<!-- | ||
-->{{#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>{{{ | + | -->{{#if: {{{absolute_magnitude|}}} | <tr> <th>[[Absolute magnitude]]:</th> <td>{{{absolute_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>}}<!-- | ||
| Line 15: | Line 15: | ||
-->{{#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>{{{ | + | -->{{#if: {{{absolute_magnitude1|}}} | <tr> <th>[[Absolute magnitude]]:</th> <td>{{{absolute_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>}}<!-- | ||
| Line 21: | Line 21: | ||
-->{{#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>{{{ | + | -->{{#if: {{{absolute_magnitude2|}}} | <tr> <th>[[Absolute magnitude]]:</th> <td>{{{absolute_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 00:47, 22 February 2013
File:Test Template Info-Icon - Version (2).svg Template documentation
- 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. |
be-x-old:Шаблён:Зорка ka:თარგი:ინფოდაფა ვარსკვლავი ru:Шаблон:Звезда tt:Калып:Йолдыз