Template:Stellar infobox: Difference between revisions

From Halopedia, the Halo wiki

m (Text replacement - "{{#if:{{{caption|}}}|{{clear}}{{{caption}}}}} }} {{!}}-}}" to "{{#if:{{{caption|}}}|{{clear}}{{{caption}}}}} }} |-")
m (Text replacement - "}}}}} {{!}}-}}" to "}}} }} |-")
Line 28: Line 28:
{{!}}-}}
{{!}}-}}
{{#if:{{{hideb|}}}|{{!}}-|{{!}}-
{{#if:{{{hideb|}}}|{{!}}-|{{!}}-
! class="infoboxsubheading" colspan="2" style="color:{{{color2|#fff}}}; background:{{{sectionBG|#4C6680}}}" {{!}} {{{section2-title|Stellar overview}}}}}
! class="infoboxsubheading" colspan="2" style="color:{{{color2|#fff}}}; background:{{{sectionBG|#4C6680}}}" {{!}} {{{section2-title|Stellar overview}}}
{{!}}-}}
}}
|-
{{#if:{{{type|}}}|
{{#if:{{{type|}}}|
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F0F0F0}}}; border-color:{{{lineBG|#999}}}; width:100px" {{!}}
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F0F0F0}}}; border-color:{{{lineBG|#999}}}; width:100px" {{!}}
Line 55: Line 56:
{{!}}-}}
{{!}}-}}
{{#if:{{{hidec|}}}|{{!}}-|{{!}}-
{{#if:{{{hidec|}}}|{{!}}-|{{!}}-
! class="infoboxsubheading" colspan="2" style="color:{{{color2|#fff}}}; background:{{{sectionBG|#4C6680}}}" {{!}} {{{section3-title|Societal overview}}}}}
! class="infoboxsubheading" colspan="2" style="color:{{{color2|#fff}}}; background:{{{sectionBG|#4C6680}}}" {{!}} {{{section3-title|Societal overview}}}
{{!}}-}}
}}
|-
{{#if:{{{events|}}}|
{{#if:{{{events|}}}|
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F0F0F0}}}; border-color:{{{lineBG|#999}}}; width:100px" {{!}}
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F0F0F0}}}; border-color:{{{lineBG|#999}}}; width:100px" {{!}}

Revision as of 10:30, October 18, 2022

Stellar infobox
Location overview
Stellar overview
Societal overview
 

Usage

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