Difference between revisions of "Template:Infobox star"
Jump to navigation
Jump to search
Template documentation
| Line 6: | Line 6: | ||
-->{{#if: {{{epoch|}}} | <tr> <th>[[Epoch (astronomy){{!}}Epoch]]:</th> <td>{{{epoch}}}</td> </tr>}}<!-- | -->{{#if: {{{epoch|}}} | <tr> <th>[[Epoch (astronomy){{!}}Epoch]]:</th> <td>{{{epoch}}}</td> </tr>}}<!-- | ||
-->{{#if: {{{constellation|}}} | <tr> <th>[[Constellation]]:</th> <td>{{{constellation}}}</td> </tr>}}<!-- | -->{{#if: {{{constellation|}}} | <tr> <th>[[Constellation]]:</th> <td>{{{constellation}}}</td> </tr>}}<!-- | ||
| + | -->{{#if: {{{ra|}}} | <tr> <th>[[Right ascension]]:</th> <td>{{{ra}}}</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: {{{absolute_magnitude|}}} | <tr> <th>[[Absolute magnitude]]:</th> <td>{{{apparent_magnitude}}}</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 24: | Line 28: | ||
{{documentation|content= | {{documentation|content= | ||
| + | ;Double star | ||
<pre> | <pre> | ||
{{Infobox Star | {{Infobox Star | ||
| Line 54: | Line 59: | ||
| epoch = (epoch) | | epoch = (epoch) | ||
| constellation = (constellation) | | 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 | ||
| + | <pre> | ||
| + | {{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) | ||
| + | }} | ||
| + | </pre> | ||
| + | |||
| + | {{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 | ||
| + | <pre> | ||
| + | {{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) | ||
| + | }} | ||
| + | </pre> | ||
| + | |||
| + | {{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) | ||
| name1 = (first name) | | name1 = (first name) | ||
| ra1 = {{RA|h|m|s}} | | ra1 = {{RA|h|m|s}} | ||
Revision as of 05:57, 30 November 2011
- Double star
{{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)
}}
- REDIRECT Template:Starbox begin
- Single star
{{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)
}}
- REDIRECT Template:Starbox begin
- Binary star
{{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)
}}
- REDIRECT Template:Starbox begin
| 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. |