Difference between revisions of "Template:Galaxybox character"

From blackwiki
Jump to navigation Jump to search
imported>Woohookitty
imported>Sumanch
Line 4: Line 4:
 
|-
 
|-
 
! style="background-color: #AFC;" colspan="2" | Characteristics
 
! style="background-color: #AFC;" colspan="2" | Characteristics
{{#if:{{{class|}}}|<tr valign=top><td>'''[[Stellar classification|Spectral type]]'''</td><td>{{{class}}}</td></tr>}}<!--
+
{{#if:{{{g_type|}}}|<tr valign=top><td>'''[[Galaxy morphological classification|Type]]'''</td><td>{{{g_type}}}</td></tr>}}<noinclude>
-->{{#if:{{{u-b|}}}|<tr valign=top><td>'''U-B [[color index]]'''</td><td>{{{u-b}}}</td></tr>}}<!--
 
-->{{#if:{{{b-v|}}}|<tr valign=top><td>'''B-V [[color index]]'''</td><td>{{{b-v}}}</td></tr>}}<!--
 
-->{{#if:{{{v-r|}}}|<tr valign=top><td>'''V-R [[color index]]'''</td><td>{{{v-r}}}</td></tr>}}<!--
 
-->{{#if:{{{r-i|}}}|<tr valign=top><td>'''R-I [[color index]]'''</td><td>{{{r-i}}}</td></tr>}}<!--
 
-->{{#if:{{{variable|}}}|<tr valign=top><td>'''[[Variable star|Variable type]]'''</td><td>{{{variable}}}</td></tr>}}<noinclude>
 
 
|}
 
|}
 
<br clear="all" />
 
<br clear="all" />
Line 16: Line 11:
  
 
<pre>{{Galaxybox character
 
<pre>{{Galaxybox character
| class = <!--Stellar class-->
+
| g_type = <!--Galaxy morphological classification-->
| r-i = <!--R-I color-->
 
| v-r = <!--V-R color-->
 
| b-v = <!--B-V color-->
 
| u-b = <!--U-B color-->
 
| variable = <!--Variability type-->
 
 
}}</pre>
 
}}</pre>
  

Revision as of 12:12, 9 July 2008

Characteristics


This is part of a group of templates that are used to display astronomical information related to a specific star. It should always be preceded by a {{Galaxybox begin}} template. The template can then be used as follows:

{{Galaxybox character
| g_type = <!--Galaxy morphological classification-->
}}

Any of the arguments can be omitted if desired. The corresponding line will then be omitted from the infobox. The template can also be preceded or followed by other Galaxybox templates:

The list should then be closed with a {{Galaxybox end}} template.