Template:Star: Difference between revisions

From 118Wiki
Jump to navigation Jump to search
(clearing some style tags.)
(some more tweaks..)
 
(One intermediate revision by the same user not shown)
Line 28: Line 28:
| {{{class}}}
| {{{class}}}
|- style="vertical-align:top;"
|- style="vertical-align:top;"
| [[Star Classifications#Luminosity|Luminosity]]
| [[Star Classifications#Luminosity|Luminosity Class]]
| {{{luminosity}}}
| {{{luminosity}}}
|- style="vertical-align:top; background:#f0f0f0;"
|- style="vertical-align:top; background:#f0f0f0;"
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=
|lumin=
|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>

Latest revision as of 10:54, 11 June 2015

Solar flare.jpg
Star
Astrological
Region {{{region}}}
Sector {{{sector}}}
Star system {{{system}}}
Physical
System type {{{type}}}
Position {{{position}}}
Stellar Class {{{class}}}
Luminosity Class {{{luminosity}}}
Colour {{{colour}}}
Size {{{size}}}
Mass {{{mass}}} solar masses
Surface Temp {{{temp}}}K
Stellar Luminosity {{{lumin}}} solar luminosities
Age {{{age}}}

Usage instructions

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)

{{star
|region=
|sector=
|system=
|type=
|position=
|class=
|luminosity=
|colour=
|size=
|mass=
|lumin=
|temp=
|age=
}}