Template:Stellar infobox: Difference between revisions

From Halopedia, the Halo wiki

m (Text replacement - "margin:0 0 0.5em 1em;" to "margin:0 0 1em 1em;")
m (Text replacement - "dummy edit" to "Category:Infobox templates")
Tag: Manual revert
 
(60 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{| class="infobox" cellspacing="0" style="float:right; clear:right; width:260px; margin:0 0 1em 1em; padding:2px; background:{{{BG|#046}}}; border-radius: 0 0 .7em .7em; color:{{{color1|inherit}}};"
{{Infobox|start|bg=#046}}
{{!}}-
{{Infobox|title|name={{{name|}}}}}
! style="background:{{{nameBG|transparent}}}; color:{{{color2|#ffffff}}}; text-align:center; font-size:120%;" colspan="2" | {{#if:{{{name|}}}|{{{name}}}|{{PAGENAME}}}}
{{Infobox|media|content={{{image|}}}|caption={{{caption|}}}}}
{{!}}-
 
{{#if:{{{image|}}}|
{{Infobox|section|title={{{section1-title|Location overview}}}|bg=#4C6680|entries=
! style="background:{{{imageBG|#F0F0F0}}}; text-align:center; border-bottom:1px solid {{{lineBG|#999999}}};" colspan="2" {{!}} {{{image|}}}
{{Infobox|entry|title={{{sector-title|Sector}}}|content={{{sector|}}}}}
{{Infobox|entry|title={{{constellation-title|Constellation}}}|content={{{constellation|}}}}}
{{Infobox|entry|title={{{distance-title|Distance from Sol}}}|content={{{distance|}}}}}
}}
 
{{Infobox|section|title={{{section2-title|Stellar overview}}}|bg=#4C6680|entries=
{{Infobox|entry|title={{{type-title|Spectral type}}}|content={{{type|}}}}}
{{Infobox|entry|title={{{magnitude-title|Absolute magnitude}}}|content={{{magnitude|}}}}}
{{Infobox|entry|title={{{bodies-title|Orbiting planets}}}|content={{{bodies|}}}}}
{{Infobox|entry|title={{{asteroids-title|Asteroids}}}|content={{{asteroids|}}}}}
}}
 
{{Infobox|section|title={{{section3-title|Societal overview}}}|bg=#4C6680|entries=
{{Infobox|entry|title={{{events-title|Notable events}}}|content={{{events|}}}}}
{{Infobox|entry|title={{{affiliation-title|Affiliation}}}|content={{{affiliation|}}}}}
}}
}}
{{!}}-}}
{{#if:{{{hidea|}}}|{{!}}-|{{!}}-
! colspan="2" style="font-size:95%; color:{{{color2|#ffffff}}}; text-align:center; background:{{{sectionBG|#4C6680}}}" {{!}} {{{section1-title|Location overview}}}}}
{{!}}-
{{#if:{{{sector|}}}|
{{!}} class="infoboxlabel" 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}}}''':
{{!}} class="infoboxcell" 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|}}}
{{!}}-}}
{{#if:{{{constellation|}}}|
{{!}} class="infoboxlabel" 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}}}''':
{{!}} class="infoboxcell" 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|}}}|
{{!}} class="infoboxlabel" 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}}}''':
{{!}} class="infoboxcell" style="vertical-align:top; background:{{{fieldBG|#F0F0F0}}}; border-bottom:1px solid {{{lineBG|#999999}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}}
{{{distance|}}}
{{!}}-}}
{{#if:{{{hideb|}}}|{{!}}-|{{!}}-
! colspan="2" style="font-size:95%; color:{{{color2|#ffffff}}}; text-align:center; background:{{{sectionBG|#4C6680}}}" {{!}} {{{section2-title|Stellar overview}}}}}
{{!}}-}}
{{#if:{{{type|}}}|
{{!}} class="infoboxlabel" 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}}}''':
{{!}} class="infoboxcell" 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|}}}|
{{!}} class="infoboxlabel" 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}}}''':
{{!}} class="infoboxcell" 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|}}}|
{{!}} class="infoboxlabel" 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}}}''':
{{!}} class="infoboxcell" 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|}}}|
{{!}} class="infoboxlabel" 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|Asteroids}}}''':
{{!}} class="infoboxcell" 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|}}}|{{!}}-|{{!}}-
! colspan="2" style="font-size:95%; color:{{{color2|#ffffff}}}; text-align:center; background:{{{sectionBG|#4C6680}}}" {{!}} {{{section3-title|Societal overview}}}}}
{{!}}-}}
{{#if:{{{events|}}}|
{{!}} class="infoboxlabel" 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}}}''':
{{!}} class="infoboxcell" 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|}}}|
{{!}} class="infoboxlabel" 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}}}''':
{{!}} class="infoboxcell" 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;" | 
|}<includeonly>{{pagetitle|{{{pagename|{{#if:{{{name|}}}|{{{name}}}|{{PAGENAME}}}}}}} - {{{pagelabel|Star system}}}}}</includeonly><noinclude>


== Usage ==
{{Infobox|end}}<includeonly>{{Infobox/pagetitle|name={{{pagename|{{{name|}}}}}}|label={{{pagelabel|Star system}}}}}</includeonly><noinclude>{{clear}}
==Usage instructions==
<pre>
<pre>
{{Stellar infobox
{{Stellar infobox
Line 90: Line 39:
</pre>
</pre>


[[Category:Updated infoboxes]]</noinclude>
[[Category:Infobox templates]]</noinclude>

Latest revision as of 10:11, June 14, 2024

Stellar infobox
 

Usage instructions

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