Template:Stellar infobox: Difference between revisions

From Halopedia, the Halo wiki

No edit summary
m (Text replacement - "dummy edit" to "Category:Infobox templates")
Tag: Manual revert
 
(83 intermediate revisions by 7 users not shown)
Line 1: Line 1:
{|style="border:solid 1px #999999; -moz-border-radius:10px; float:right;" width="250px"
{{Infobox|start|bg=#046}}
|-
{{Infobox|title|name={{{name|}}}}}
|colspan="2" style="text-align:center; background:#000000; -moz-border-radius-topleft: 0.5em; -moz-border-radius-topright: 0.5em;"|'''<span style="color:white">{{{name}}}</span>'''
{{Infobox|media|content={{{image|}}}|caption={{{caption|}}}}}
|-
 
|colspan="2" style="text-align:center"|{{{image|}}}
{{Infobox|section|title={{{section1-title|Location overview}}}|bg=#4C6680|entries=
{{#if:{{{distance|}}}|<nowiki/>
{{Infobox|entry|title={{{sector-title|Sector}}}|content={{{sector|}}}}}
{{!}}-
{{Infobox|entry|title={{{constellation-title|Constellation}}}|content={{{constellation|}}}}}
{{!}} style="background:#F0F8FF;" {{!}}'''Distance from Sol:'''{{!!}} style="color:#00000; background:#F0F8FF;" {{!}}{{{distance|}}}  
{{Infobox|entry|title={{{distance-title|Distance from Sol}}}|content={{{distance|}}}}}
}}
}}
|-
 
{{#if:{{{type|}}}|<nowiki/>
{{Infobox|section|title={{{section2-title|Stellar overview}}}|bg=#4C6680|entries=
{{!}}-
{{Infobox|entry|title={{{type-title|Spectral type}}}|content={{{type|}}}}}
{{!}} style="background:#F0F8FF;" {{!}}'''Spectral Type:'''{{!!}} style="color:#00000; background:#F0F8FF;" {{!}}{{{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|}}}}}
}}
}}
|-
 
{{#if:{{{magnitude|}}}|<nowiki/>
{{Infobox|section|title={{{section3-title|Societal overview}}}|bg=#4C6680|entries=
{{!}}-
{{Infobox|entry|title={{{events-title|Notable events}}}|content={{{events|}}}}}
{{!}} style="background:#F0F8FF;" {{!}}'''Apparent magnitude:'''{{!!}} style="color:#00000; background:#F0F8FF;" {{!}}{{{magnitude|}}}
{{Infobox|entry|title={{{affiliation-title|Affiliation}}}|content={{{affiliation|}}}}}
}}
|-
{{#if:{{{sector|}}}|<nowiki/>
{{!}}-
{{!}} style="background:#F0F8FF;" {{!}}'''Sector:'''{{!!}} style="color:#00000; background:#F0F8FF;" {{!}}{{{sector|}}}
}}
|-
{{#if:{{{constellation|}}}|<nowiki/>
{{!}}-
{{!}} style="background:#F0F8FF;" {{!}}'''Constellation:'''{{!!}} style="color:#00000; background:#F0F8FF;" {{!}}{{{constellation|}}}
}}
|-
{{#if:{{{bodies|}}}|<nowiki/>
{{!}}-
{{!}} style="background:#F0F8FF;" {{!}}'''Bodies:'''{{!!}} style="color:#00000; background:#F0F8FF;" {{!}}{{{bodies|}}}  
}}
|-
{{#if:{{{affiliation|}}}|<nowiki/>
{{!}}-
{{!}} style="background:#F0F8FF;" {{!}}'''Affiliation:'''{{!!}} style="color:#00000; background:#F0F8FF;" {{!}}{{{affiliation|}}}
}}
|-
{{#if:{{{notable|}}}|<nowiki/>
{{!}}-
{{!}} style="background:#F0F8FF;" {{!}}'''Notable facts:'''{{!!}} style="color:#00000; background:#F0F8FF;" {{!}}{{{notable|}}}  
}}
}}
|}<noinclude>


== Usage ==
{{Infobox|end}}<includeonly>{{Infobox/pagetitle|name={{{pagename|{{{name|}}}}}}|label={{{pagelabel|Star system}}}}}</includeonly><noinclude>{{clear}}
{| style="float: left; background: transparent;"
==Usage instructions==
|<pre>
<pre>
{{Stellar Infobox
{{Stellar infobox
|name         =
|name=
|image         =
|image=
|distance     =
|sector=
|type         =
|constellation=
|magnitude     =
|distance=
|sector        =
|type=
|constellation =
|magnitude=
|bodies        =
|bodies=
|affiliation   =
|asteroids=
|notable      =
|events=
|affiliation=
}}
}}
</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=
}}