Template:Star: Difference between revisions

updating..
(clearing some style tags.)
(updating..)
Line 35: Line 35:
|- style="vertical-align:top;"
|- style="vertical-align:top;"
| Size
| Size
| {{{size}}}{{#if: {{{mass|}}}|
| {{{size}}}
{{!}}- style="vertical-align:top;"
|- style="vertical-align:top;"
{{!}} Mass
| Mass
{{!}} {{{mass}}} solar masses|}}{{#if: {{{lumins|}}}|
| {{{mass}}} solar masses
{{!}}-
|- style="vertical-align:top;"
{{!}} Lumins
| Surface Temp
{{!}} {{{lumins}}} solar luminosity|}}{{#if: {{{temp|}}}|
| {{{temp}}}K
{{!}}-
|- style="vertical-align:top;"
{{!}} Temperature
| Stellar Luminosity
{{!}} {{{temp}}}K|}}{{#if: {{{age|}}}|
| {{{lumin}}} solar luminosities
{{!}}-
|- style="vertical-align:top;"
{{!}} Stellar Age
| Age
{{!}} {{{age}}}|}}
| {{{age}}}
|}
|}
[[Category:Stars]]
[[Category:Stars]]
Line 53: Line 53:
===Usage instructions===
===Usage instructions===
Paste the following code into the top of an article, filling all known fields:
Paste the following code into the top of an article, filling all known fields:
(luminosity refers to the stellar class, while lumins is the star's rating in terms of sol)
<pre><nowiki>
<pre><nowiki>
{{star
{{star
Line 64: Line 65:
|colour=
|colour=
|size=
|size=
|mass=
|lumins=
|temp=
|age=
}}</nowiki></pre>
}}</nowiki></pre>


Optionally, you can add mass, lumins (luminosity in terms of Sol), temp, age. The text is added by the template. Except for age, as that can vary from thousands of years to billions (to potentially trillions)


[[Category:Infobox templates|{{PAGENAME}}]]
[[Category:Infobox templates|{{PAGENAME}}]]
</noinclude>
</noinclude>