Template:Stellar infobox: Difference between revisions

From Halopedia, the Halo wiki

mNo edit summary
m (Text replacement - "dummy edit" to "Category:Infobox templates")
Tag: Manual revert
 
(80 intermediate revisions by 7 users not shown)
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}}};"
{{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=
{{#if:{{{hidea|}}}|{{!}}-|{{!}}-
{{Infobox|entry|title={{{type-title|Spectral type}}}|content={{{type|}}}}}
! class="infoboxsubheading" colspan="2" style="font-size:90%; color:{{{color2|#ffffff}}}; text-align:center; background:{{{sectionBG|#4C6680}}}" {{!}} {{{section1-title|Location}}}}}
{{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=
{{#if:{{{sector|}}}|
{{Infobox|entry|title={{{events-title|Notable events}}}|content={{{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;" {{!}}
{{Infobox|entry|title={{{affiliation-title|Affiliation}}}|content={{{affiliation|}}}}}
'''{{{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|}}}
 
{{!}}-}}
{{#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="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="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;" {{!}}
{{{distance|}}}
 
{{!}}-}}
{{#if:{{{hideb|}}}|{{!}}-|{{!}}-
! class="infoboxsubheading" colspan="2" style="font-size:90%; color:{{{color2|#ffffff}}}; text-align:center; background:{{{sectionBG|#4C6680}}}" {{!}} {{{section2-title|Stellar}}}}}
 
{{!}}-}}
{{#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|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>


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


[[Category:Templates|{{PAGENAME}}]]
[[Category:Infobox templates]]</noinclude>
</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=
}}