Template:Star: Difference between revisions

From 118Wiki
Jump to navigation Jump to search
(expanding the templaaaate.)
(some more tweaks..)
 
(6 intermediate revisions 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 36: Line 36:
| Size
| Size
| {{{size}}}
| {{{size}}}
{{#if: {{{mass|}}}||- style="vertical-align:top;"
|- style="vertical-align:top;"
| Mass
| Mass
| {{{mass}}} solar masses|}}
| {{{mass}}} solar masses
{{#if: {{{lumins|}}}||- style="vertical-align:top;"
|- style="vertical-align:top;"
| Lumins
| Surface Temp
| {{{lumins}}} solar luminosity|}}
| {{{temp}}}K
{{#if: {{{temp|}}}||- style="vertical-align:top;"
|- style="vertical-align:top;"
| Temperature
| Stellar Luminosity
| {{{temp}}}K|}}
| {{{lumin}}} solar luminosities
{{#if: {{{age|}}}||- style="vertical-align:top;"
|- 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, temp, age. The text is added by the template.


[[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=
}}