Difference between revisions of "Template:Infobox star"

From blackwiki
Jump to navigation Jump to search
imported>Dr. Submillimeter
(Change "equinox" to "epoch")
Line 1: Line 1:
{| class="infobox" style="width: {{{width|20em}}}; text-align: left; font-size: 90%" cellspacing="2"
+
<includeonly>{| class="infobox" style="width: {{{width|20em}}}; text-align: left; font-size: 90%" cellspacing="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>}}<!--
Line 20: Line 20:
  
 
-->
 
-->
|}
+
|}</includeonly><noinclude>
<noinclude>
+
 
 +
{{documentation|content=
 +
 
 +
<pre>
 +
{{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)
 +
}}
 +
</pre>
 +
 
 
{{Infobox Star
 
{{Infobox Star
 
  | bgcolour = yellow
 
  | bgcolour = yellow
Line 41: Line 65:
 
  | absolute_magnitude2 = (abs mag2)
 
  | absolute_magnitude2 = (abs mag2)
 
}}
 
}}
 +
 +
}}
 +
 +
[[Category:Astronomy infobox templates|{{PAGENAME}}]]
 +
 
</noinclude>
 
</noinclude>

Revision as of 05:49, 30 November 2011


Template documentation
{{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)
}}
  1. REDIRECT Template:Starbox begin