Template:Stellar infobox: Difference between revisions

From Halopedia, the Halo wiki

m (Text replacement - "<div>{{{caption}}}</div>" to "{{clear}}{{{caption}}}")
m (Text replacement - "#999999" to "#999")
Line 4: Line 4:
{{!}}-
{{!}}-
{{#if:{{{image|}}}|
{{#if:{{{image|}}}|
! style="background:{{{imageBG|#F0F0F0}}}; border-bottom:1px solid {{{lineBG|#999999}}}" colspan="2" {{!}} {{{image|}}} {{#if:{{{caption|}}}|{{clear}}{{{caption}}}}}
! style="background:{{{imageBG|#F0F0F0}}}; border-bottom:1px solid {{{lineBG|#999}}}" colspan="2" {{!}} {{{image|}}} {{#if:{{{caption|}}}|{{clear}}{{{caption}}}}}
}}
}}
{{!}}-}}
{{!}}-}}
Line 11: Line 11:
{{!}}-
{{!}}-
{{#if:{{{sector|}}}|
{{#if:{{{sector|}}}|
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F0F0F0}}}; border-color:{{{lineBG|#999999}}}; width:100px" {{!}}
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F0F0F0}}}; border-color:{{{lineBG|#999}}}; width:100px" {{!}}
'''{{{sector-title|Sector}}}''':
'''{{{sector-title|Sector}}}''':
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F0F0F0}}}; border-color:{{{lineBG|#999999}}}" {{!}}
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F0F0F0}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{{sector|}}}
{{{sector|}}}
{{!}}-}}
{{!}}-}}
{{#if:{{{constellation|}}}|
{{#if:{{{constellation|}}}|
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F0F0F0}}}; border-color:{{{lineBG|#999999}}}; width:100px" {{!}}
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F0F0F0}}}; border-color:{{{lineBG|#999}}}; width:100px" {{!}}
'''{{{constellation-title|Constellation}}}''':
'''{{{constellation-title|Constellation}}}''':
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F0F0F0}}}; border-color:{{{lineBG|#999999}}}" {{!}}
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F0F0F0}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{{constellation|}}}
{{{constellation|}}}
{{!}}-}}
{{!}}-}}
{{#if:{{{distance|}}}|
{{#if:{{{distance|}}}|
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F0F0F0}}}; border-color:{{{lineBG|#999999}}}; width:100px" {{!}}
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F0F0F0}}}; border-color:{{{lineBG|#999}}}; width:100px" {{!}}
'''{{{distance-title|Distance from Sol}}}''':
'''{{{distance-title|Distance from Sol}}}''':
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F0F0F0}}}; border-color:{{{lineBG|#999999}}}" {{!}}
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F0F0F0}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{{distance|}}}
{{{distance|}}}
{{!}}-}}
{{!}}-}}
Line 32: Line 32:
{{!}}-}}
{{!}}-}}
{{#if:{{{type|}}}|
{{#if:{{{type|}}}|
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F0F0F0}}}; border-color:{{{lineBG|#999999}}}; width:100px" {{!}}
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F0F0F0}}}; border-color:{{{lineBG|#999}}}; width:100px" {{!}}
'''{{{type-title|Spectral type}}}''':
'''{{{type-title|Spectral type}}}''':
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F0F0F0}}}; border-color:{{{lineBG|#999999}}}" {{!}}
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F0F0F0}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{{type|}}}
{{{type|}}}
{{!}}-}}
{{!}}-}}
{{#if:{{{magnitude|}}}|
{{#if:{{{magnitude|}}}|
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F0F0F0}}}; border-color:{{{lineBG|#999999}}}; width:100px" {{!}}
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F0F0F0}}}; border-color:{{{lineBG|#999}}}; width:100px" {{!}}
'''{{{magnitude-title|Absolute magnitude}}}''':
'''{{{magnitude-title|Absolute magnitude}}}''':
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F0F0F0}}}; border-color:{{{lineBG|#999999}}}" {{!}}
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F0F0F0}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{{magnitude|}}}
{{{magnitude|}}}
{{!}}-}}
{{!}}-}}
{{#if:{{{bodies|}}}|
{{#if:{{{bodies|}}}|
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F0F0F0}}}; border-color:{{{lineBG|#999999}}}; width:100px" {{!}}
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F0F0F0}}}; border-color:{{{lineBG|#999}}}; width:100px" {{!}}
'''{{{bodies-title|Orbiting planets}}}''':
'''{{{bodies-title|Orbiting planets}}}''':
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F0F0F0}}}; border-color:{{{lineBG|#999999}}}" {{!}}
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F0F0F0}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{{bodies|}}}
{{{bodies|}}}
{{!}}-}}
{{!}}-}}
{{#if:{{{asteroids|}}}|
{{#if:{{{asteroids|}}}|
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F0F0F0}}}; border-color:{{{lineBG|#999999}}}; width:100px" {{!}}
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F0F0F0}}}; border-color:{{{lineBG|#999}}}; width:100px" {{!}}
'''{{{asteroids-title|Asteroids}}}''':
'''{{{asteroids-title|Asteroids}}}''':
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F0F0F0}}}; border-color:{{{lineBG|#999999}}}" {{!}}
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F0F0F0}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{{asteroids|}}}
{{{asteroids|}}}
{{!}}-}}
{{!}}-}}
Line 59: Line 59:
{{!}}-}}
{{!}}-}}
{{#if:{{{events|}}}|
{{#if:{{{events|}}}|
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F0F0F0}}}; border-color:{{{lineBG|#999999}}}; width:100px" {{!}}
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F0F0F0}}}; border-color:{{{lineBG|#999}}}; width:100px" {{!}}
'''{{{events-title|Notable events}}}''':
'''{{{events-title|Notable events}}}''':
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F0F0F0}}}; border-color:{{{lineBG|#999999}}}" {{!}}
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F0F0F0}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{{events|}}}
{{{events|}}}
{{!}}-}}
{{!}}-}}
{{#if:{{{affiliation|}}}|
{{#if:{{{affiliation|}}}|
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F0F0F0}}}; border-color:{{{lineBG|#999999}}}; width:100px" {{!}}
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F0F0F0}}}; border-color:{{{lineBG|#999}}}; width:100px" {{!}}
'''{{{affiliation-title|Affiliation}}}''':
'''{{{affiliation-title|Affiliation}}}''':
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F0F0F0}}}; border-color:{{{lineBG|#999999}}}" {{!}}
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F0F0F0}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{{affiliation|}}}
{{{affiliation|}}}
{{!}}-}}
{{!}}-}}

Revision as of 10:21, September 15, 2022

Stellar infobox
Location overview
Stellar overview
Societal overview
 

Usage

{{Stellar infobox
|name=
|image=
|sector=
|constellation=
|distance=
|type=
|magnitude=
|bodies=
|asteroids=
|events=
|affiliation=
}}