Template:Star

From Nanya

(Difference between revisions)
m
 
(11 intermediate revisions not shown)
Line 1: Line 1:
-
{| class="toccolours" style="float: right; clear: right; margin: 0 0 1em 1em;"
+
{{Main Header}}
-
|+ style="margin-left: inherit;" | '''{{{name}}}''' <noinclude>
+
-
|}
+
-
<br clear="all" />
+
<table border="0" cellspacing="0" cellpadding="4" style="float:right; margin:0 0 .5em 1em; width:250px; background:#3300CC; border-collapse:collapse; border:1px solid #999; font-size:smaller; line-height:1.5; ">
-
----
+
<tr style="text-align:center; background:#3300CC; color:#000;">
-
This template is part of a group of templates that are used to display astronomical information related to a specific star or stellar system. The {{tl|Star begin}} is always first in the list. It can be used as follows:
+
<td colspan="2" style="padding:0; color:#FFF; background:#3300CC">{{{image}}}</td>
 +
</tr><tr style="background:#3300CC; color:#FFF; font-size:larger;">
 +
<th colspan="2">{{{name}}}</th>
 +
</tr> <tr><th colspan="2" style="text-align:left; font-weight:normal; color:#FFF; background:#33CCCC;">'''Observation data'''</th></tr> {{t|1=<tr style="vertical-align: top; background: #CCFFFF"><td>Coordinates</td><td>{{{coordinates}}}}}</td></tr>  {{t|1=<tr style="vertical-align: top; background: #CCFFFF"><td>Sector</td><td>{{{sector}}}}}</td></tr> {{t|1=<tr style="vertical-align: top; background: #CCFFFF"><td>Star System</td><td>{{{star_system}}}}}</td></tr>{{t|1=<tr style="vertical-align: top; background: #CCFFFF"><td>Spectral type</td><td>{{{spectral_type}}}}}</td></tr>{{t|1=<tr style="vertical-align: top; background: #CCFFFF"><td>Mass</td><td>{{{mass}}}}}</td></tr>{{t|1=<tr style="vertical-align: top; background: #CCFFFF"><td>Discovered</td><td>{{{date}}}}}</td></tr>{{t|1=<tr style="vertical-align: top; background: #CCFFFF"><td>Discoverers</td><td>{{{foundby}}}}}</td></tr></table>
 +
<!-- TEMPLATE ENDS HERE. In order to regenerate the template, replace the code above with the source code provided. --><noinclude>
 +
{{clear}}
 +
==Usage instructions==
 +
Copy and paste the following code into the top of the article, filling the appropriate fields. Omitted or blank fields will not be shown on the article page.
 +
<pre><nowiki>
 +
{{Star|
 +
|image=
 +
|name=
 +
|coordintes=
 +
|sector=
 +
|star_system=
 +
|spectral_type=
 +
|mass=
 +
|date=
 +
|foundby=
-
  {{Star begin <nowiki>|</nowiki>
+
}}
-
    name=''Star name'' }}
+
[[Category:Stars]]
-
 
+
</nowiki></pre></noinclude>
-
This can be followed by other Star templates:
+
-
 
+
-
*{{tl|Star image}}
+
-
*{{tl|Star observe}}
+
-
*{{tl|Star character}}
+
-
*{{tl|Star astrometry}}
+
-
*{{tl|Star detail}}
+
-
*{{tl|Star visbin}}
+
-
*{{tl|Star planet}} / {{tl|Star twoplanets}}
+
-
*{{tl|Star catalog}}
+
-
*{{tl|Star reference}}
+
-
 
+
-
The list should then be closed with a {{tl|Star end}} template.
+
-
[[Category:Astronomical infobox templates|Star]]
+
-
</noinclude>
+

Current revision as of 16:01, 3 July 2007

Characters · Locations · Equipment · Chronology · Index · Categories · Browse · Discussion · FAQ · Help · Things to do · Article requests

{{{image}}}
{{{name}}}
Observation data
Coordinates{{{coordinates}}}
Sector{{{sector}}}
Star System{{{star_system}}}
Spectral type{{{spectral_type}}}
Mass{{{mass}}}
Discovered{{{date}}}
Discoverers{{{foundby}}}

[edit] Usage instructions

Copy and paste the following code into the top of the article, filling the appropriate fields. Omitted or blank fields will not be shown on the article page.

{{Star|
|image=
|name=
|coordintes=
|sector=
|star_system=
|spectral_type=
|mass=
|date=
|foundby=

}}
[[Category:Stars]]
Personal tools