Template:Star: Difference between revisions

expanding the templaaaate.
m (reordered data)
(expanding the templaaaate.)
Line 36: Line 36:
| Size
| Size
| {{{size}}}
| {{{size}}}
{{#if: {{{mass|}}}||- style="vertical-align:top;"
| Mass
| {{{mass}}} solar masses|}}
{{#if: {{{lumins|}}}||- style="vertical-align:top;"
| Lumins
| {{{lumins}}} solar luminosity|}}
{{#if: {{{temp|}}}||- style="vertical-align:top;"
| Temperature
| {{{temp}}}K|}}
{{#if: {{{age|}}}||- style="vertical-align:top;"
| Stellar Age
| {{{age}}}|}}
|}
|}
[[Category:Stars]]
[[Category:Stars]]
Line 53: Line 65:
|size=
|size=
}}</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>
7,850

edits