Template:Stellar infobox: Difference between revisions
From Halopedia, the Halo wiki
No edit summary |
NightHammer (talk | contribs) No edit summary |
||
Line 1: | Line 1: | ||
{| | {| class="infobox" cellspacing="0" style="float:right; clear:right; width:300px; margin:0 0 10px 10px; padding:2px; background:{{{BG|#046}}}; border-radius: 0 0 .7em .7em; color:{{{color1|inherit}}};" | ||
{{!}}- | {{!}}- | ||
! style="background:{{{nameBG|transparent}}}; color:{{{color2|#ffffff}}}; text-align:center; font-size:120%;" colspan="2" | {{#if:{{{name|}}}|{{{name}}}|{{PAGENAME}}}} | |||
| | |||
{{ | |||
{{!}}- | {{!}}- | ||
{{ | {{#if:{{{image|}}}| | ||
! style="background:{{{imageBG|#F0F0F0}}}; text-align:center; border-bottom:1px solid {{{lineBG|#999999}}};" colspan="2" {{!}} {{{image|}}} | |||
}} | }} | ||
|- | |||
{{# | {{!}}-}} | ||
{{#if:{{{hidea|}}}|{{!}}-|{{!}}- | |||
! class="infoboxsubheading" colspan="2" style="font-size:90%; color:{{{color2|#ffffff}}}; text-align:center; background:{{{sectionBG|#4C6680}}}" {{!}} {{{section1-title|Location}}}}} | |||
{{!}}- | {{!}}- | ||
{{!}} style="background:# | {{#if:{{{sector|}}}| | ||
}} | {{!}} style="vertical-align:top; background:{{{fieldBG|#F0F0F0}}}; border-bottom:1px solid {{{lineBG|#999999}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px; width:100px;" {{!}} | ||
|- | '''{{{sector-title|Sector}}}''': | ||
{{# | {{!}} style="vertical-align:top; background:{{{fieldBG|#F0F0F0}}}; border-bottom:1px solid {{{lineBG|#999999}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}} | ||
{{!}}- | {{{sector|}} | ||
{{!}} style="background:# | |||
}} | {{!}}-}} | ||
|- | {{#if:{{{constellation|}}}| | ||
{{# | {{!}} style="vertical-align:top; background:{{{fieldBG|#F0F0F0}}}; border-bottom:1px solid {{{lineBG|#999999}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px; width:100px;" {{!}} | ||
{{!}}- | '''{{{constellation-title|Constellation}}}''': | ||
{{!}} style="background:# | {{!}} style="vertical-align:top; background:{{{fieldBG|#F0F0F0}}}; border-bottom:1px solid {{{lineBG|#999999}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}} | ||
}} | {{{constellation|}}} | ||
|- | |||
{{# | {{!}}-}} | ||
{{!}}- | {{#if:{{{distance|}}}| | ||
{{!}} style="background:# | {{!}} style="vertical-align:top; background:{{{fieldBG|#F0F0F0}}}; border-bottom:1px solid {{{lineBG|#999999}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px; width:100px;" {{!}} | ||
}} | '''{{{distance-title|Distance from Sol}}}''': | ||
{{!}} style="vertical-align:top; background:{{{fieldBG|#F0F0F0}}}; border-bottom:1px solid {{{lineBG|#999999}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}} | |||
{{#if:{{{ | {{{distance|}}} | ||
{{!}}- | |||
{{!}} style="background:# | {{!}}-}} | ||
}} | {{#if:{{{hideb|}}}|{{!}}-|{{!}}- | ||
|- | ! class="infoboxsubheading" colspan="2" style="font-size:90%; color:{{{color2|#ffffff}}}; text-align:center; background:{{{sectionBG|#4C6680}}}" {{!}} {{{section2-title|Stellar}}}}} | ||
{{# | |||
{{!}}- | {{!}}-}} | ||
{{!}} style="background:# | {{#if:{{{type|}}}| | ||
}} | {{!}} style="vertical-align:top; background:{{{fieldBG|#F0F0F0}}}; border-bottom:1px solid {{{lineBG|#999999}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px; width:100px;" {{!}} | ||
'''{{{type-title|Spectral type}}}''': | |||
{{!}} style="vertical-align:top; background:{{{fieldBG|#F0F0F0}}}; border-bottom:1px solid {{{lineBG|#999999}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}} | |||
{{{type|}}} | |||
{{!}}-}} | |||
{{#if:{{{magnitude|}}}| | |||
{{!}} style="vertical-align:top; background:{{{fieldBG|#F0F0F0}}}; border-bottom:1px solid {{{lineBG|#999999}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px; width:100px;" {{!}} | |||
'''{{{magnitude-title|Absolute magnitude:}}}''': | |||
{{!}} style="vertical-align:top; background:{{{fieldBG|#F0F0F0}}}; border-bottom:1px solid {{{lineBG|#999999}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}} | |||
{{{magnitude|}}} | |||
{{!}}-}} | |||
{{#if:{{{bodies|}}}| | |||
{{!}} style="vertical-align:top; background:{{{fieldBG|#F0F0F0}}}; border-bottom:1px solid {{{lineBG|#999999}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px; width:100px;" {{!}} | |||
'''{{{bodies-title|Orbiting planets}}}''': | |||
{{!}} style="vertical-align:top; background:{{{fieldBG|#F0F0F0}}}; border-bottom:1px solid {{{lineBG|#999999}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}} | |||
{{{bodies|}}} | |||
{{!}}-}} | |||
{{#if:{{{asteroids|}}}| | |||
{{!}} style="vertical-align:top; background:{{{fieldBG|#F0F0F0}}}; border-bottom:1px solid {{{lineBG|#999999}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px; width:100px;" {{!}} | |||
'''{{{asteroids-title|Orbiting asteroids}}}''': | |||
{{!}} style="vertical-align:top; background:{{{fieldBG|#F0F0F0}}}; border-bottom:1px solid {{{lineBG|#999999}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}} | |||
{{{asteroids|}}} | |||
{{!}}-}} | |||
{{#if:{{{hidec|}}}|{{!}}-|{{!}}- | |||
! class="infoboxsubheading" colspan="2" style="font-size:90%; color:{{{color2|#ffffff}}}; text-align:center; background:{{{sectionBG|#4C6680}}}" {{!}} {{{section3-title|Societal}}}}} | |||
{{!}}-}} | |||
{{#if:{{{events|}}}| | |||
{{!}} style="vertical-align:top; background:{{{fieldBG|#F0F0F0}}}; border-bottom:1px solid {{{lineBG|#999999}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px; width:100px;" {{!}} | |||
'''{{{events-title|Notable events}}}''': | |||
{{!}} style="vertical-align:top; background:{{{fieldBG|#F0F0F0}}}; border-bottom:1px solid {{{lineBG|#999999}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}} | |||
{{{events|}}} | |||
{{!}}-}} | |||
{{#if:{{{affiliation|}}}| | |||
{{!}} style="vertical-align:top; background:{{{fieldBG|#F0F0F0}}}; border-bottom:1px solid {{{lineBG|#999999}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px; width:100px;" {{!}} | |||
'''{{{affiliation-title|Affiliation}}}''': | |||
{{!}} style="vertical-align:top; background:{{{fieldBG|#F0F0F0}}}; border-bottom:1px solid {{{lineBG|#999999}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}} | |||
{{{affiliation|}}} | |||
{{!}}-}} | |||
| colspan=2 style="text-align:center; background:{{{BG|transparent}}}; padding:0px; font-size:10px; line-height:10px;" | | |||
|}<noinclude> | |}<noinclude> | ||
== Usage == | == Usage == | ||
<pre> | |||
{{System infobox | |||
{{ | |name= | ||
|name | |image= | ||
|image | |sector= | ||
|distance | |constellation= | ||
|type | |distance= | ||
|magnitude | |type= | ||
| | |magnitude= | ||
| | |bodies= | ||
| | |asteroids= | ||
|affiliation | |events= | ||
|affiliation= | |||
}} | }} | ||
</pre> | </pre> |
Revision as of 13:10, August 20, 2014
Stellar infobox | |
---|---|
Location | |
Stellar | |
Societal | |
Usage
{{System infobox |name= |image= |sector= |constellation= |distance= |type= |magnitude= |bodies= |asteroids= |events= |affiliation= }}