Difference between revisions of "Template:Infobox star"

From blackwiki
Jump to navigation Jump to search
imported>Mike Peel
(Still testing)
imported>Mike Peel
(Adding parameters)
Line 2: Line 2:
 
|+ '''{{{name|For instructions on use, see [[Template:Infobox Star]]}}}'''
 
|+ '''{{{name|For instructions on use, see [[Template:Infobox Star]]}}}'''
 
{{#if: {{{image|}}} | <tr> <td align="center" colspan="2">{{{image}}} {{#if: {{{caption|}}} | <br><small>{{{caption}}}}}</small></td> </tr>}}<!--
 
{{#if: {{{image|}}} | <tr> <td align="center" colspan="2">{{{image}}} {{#if: {{{caption|}}} | <br><small>{{{caption}}}}}</small></td> </tr>}}<!--
{{subst:User:Mike Peel/line|var=equinox|name=[[Equinox (astronomy){{!}}Equinox]]}}
+
 
 +
-->{{#if: {{{observation_data|}}} | <tr><th style="background-color: {{{bgcolour|}}}" colspan="2" align="center">Observational data</td></tr><!--
 +
-->{{#if: {{{equinox|}}} | <tr> <th>[[Equinox (astronomy){{!}}Equinox]]:</th> <td>{{{equinox}}}</td> </tr>}}<!--
 +
-->{{#if: {{{constellation|}}} | <tr> <th>[[Constellation]]:</th> <td>{{{constellation}}}</td> </tr>}}<!--
 +
-->{{#if: {{{name1|}}} | <tr> <th colspan=2 align=center>{{{name1}}}</th></tr>}}<!--
 +
-->{{#if: {{{ra1|}}} | <tr> <th>[[Right ascention]]:</th> <td>{{{ra1}}}</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: {{{absolute_magnitude1|}}} | <tr> <th>[[Absolute magnitude]]:</th> <td>{{{apparent_magnitude1}}}</td> </tr>}}<!--
 +
-->{{#if: {{{name2|}}} | <tr> <th colspan=2 align=center>{{{name2}}}</th></tr>}}<!--
 +
-->{{#if: {{{ra2|}}} | <tr> <th>[[Right ascention]]:</th> <td>{{{ra2}}}</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: {{{absolute_magnitude2|}}} | <tr> <th>[[Absolute magnitude]]:</th> <td>{{{apparent_magnitude2}}}</td> </tr>}}<!--
 +
}}<!--
  
 
-->
 
-->
Line 8: Line 22:
 
<noinclude>
 
<noinclude>
 
{{Infobox Star
 
{{Infobox Star
  | name=(name)
+
| bgcolour = yellow
  | image=(image)
+
  | name = (name)
  | caption=(caption)
+
  | image = (image)
  | equinox=(equinox)
+
  | caption = (caption)
 +
  | equinox = (equinox)
 +
| constellation = (constellation)
 +
| name1 = (first name)
 +
| ra1 = {{RA}}1
 +
| dec1 = {{DEC}}1
 +
| apparent_magnitude1 = (app mag1)
 +
| absolute_magnitude1 = (abs mag1)
 +
| name2 = (second name)
 +
| ra2 = {{RA}}2
 +
| dec2 = {{DEC}}2
 +
| apparent_magnitude2 = (app mag2)
 +
| absolute_magnitude2 = (abs mag2)
 
}}
 
}}
 
</noinclude>
 
</noinclude>

Revision as of 13:49, 21 January 2007

For instructions on use, see Template:Infobox Star {{#if: |
Observational data
  1. REDIRECT Template:Starbox begin