Jump to content
Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:Infobox star system: Difference between revisions

Template page
Initial setup: templates, Main Page, style guide
 
Add Planets/Systems categories; About, Copyrights, Disclaimer, Privacy policy; footer
Line 1: Line 1:
<includeonly><div class="evo-infobox"><div class="evo-infobox-title">{{{name|{{PAGENAME}}}}}</div>{{#if:{{{image|}}}|<div class="evo-infobox-image">[[File:{{{image}}}|{{{image_size|260px}}}]]{{#if:{{{caption|}}}|<div class="evo-infobox-caption">{{{caption}}}</div>}}</div>}}{{Infobox/header|Overview|{{{region|}}}{{{distance|}}}{{{age|}}}}}{{Infobox/row|Region|{{{region|}}}}}{{Infobox/row|Distance|{{{distance|}}}}}{{Infobox/row|Age|{{{age|}}}}}{{Infobox/header|Stars|{{{stars|}}}{{{star_type|}}}}}{{Infobox/row|Stars|{{{stars|}}}}}{{Infobox/row|Star type|{{{star_type|}}}}}{{Infobox/header|Planetary system|{{{planets|}}}{{{other_bodies|}}}}}{{Infobox/row|Planets|{{{planets|}}}}}{{Infobox/row|Other bodies|{{{other_bodies|}}}}}{{Infobox/header|Life|{{{native_species|}}}{{{inhabitants|}}}{{{discovered_by|}}}}}{{Infobox/row|Native species|{{{native_species|}}}}}{{Infobox/row|Inhabitants|{{{inhabitants|}}}}}{{Infobox/row|Discovered by|{{{discovered_by|}}}}}
<includeonly><div class="evo-infobox"><div class="evo-infobox-title">{{{name|{{PAGENAME}}}}}</div>{{#if:{{{image|}}}|<div class="evo-infobox-image">[[File:{{{image}}}|{{{image_size|260px}}}]]{{#if:{{{caption|}}}|<div class="evo-infobox-caption">{{{caption}}}</div>}}</div>}}{{Infobox/header|Overview|{{{region|}}}{{{distance|}}}{{{age|}}}}}{{Infobox/row|Region|{{{region|}}}}}{{Infobox/row|Distance|{{{distance|}}}}}{{Infobox/row|Age|{{{age|}}}}}{{Infobox/header|Stars|{{{stars|}}}{{{star_type|}}}}}{{Infobox/row|Stars|{{{stars|}}}}}{{Infobox/row|Star type|{{{star_type|}}}}}{{Infobox/header|Planetary system|{{{planets|}}}{{{other_bodies|}}}}}{{Infobox/row|Planets|{{{planets|}}}}}{{Infobox/row|Other bodies|{{{other_bodies|}}}}}{{Infobox/header|Life|{{{native_species|}}}{{{inhabitants|}}}{{{discovered_by|}}}}}{{Infobox/row|Native species|{{{native_species|}}}}}{{Infobox/row|Inhabitants|{{{inhabitants|}}}}}{{Infobox/row|Discovered by|{{{discovered_by|}}}}}
</div></includeonly><noinclude>
</div>{{#ifeq:{{NAMESPACE}}||[[Category:Systems]]}}</includeonly><noinclude>
Infobox for star systems. Put it at the very top of the page. Every field is optional — empty fields and empty sections are hidden.
Infobox for star systems. Put it at the very top of the page. Every field is optional — empty fields and empty sections are hidden. Pages using it in the main namespace are added to [[:Category:Systems]] automatically.


== Example ==
== Example ==

Revision as of 19:13, 14 October 2026

Infobox for star systems. Put it at the very top of the page. Every field is optional — empty fields and empty sections are hidden. Pages using it in the main namespace are added to Category:Systems automatically.

Example

{{Infobox star system
| image          = Sigma Draconis.png
| stars          = 1
| star_type      = G9V (yellow-orange dwarf)
| distance       = 18.8 light-years from Sol
| planets        = [[Planet A]], [[Planet B]]
| native_species = [[Draconis Koi]]
}}

Summary box for a star system. All fields are optional; empty fields and sections are hidden.

Template parameters[Edit template data]

This template prefers block formatting of parameters.

ParameterDescriptionTypeStatus
Namename

Display name. Defaults to the page name.

Stringoptional
Imageimage

File name without the File: prefix

Filesuggested
Image sizeimage_size

no description

Default
260px
Stringoptional
Captioncaption

no description

Contentoptional
Regionregion

Galactic region or sector

Contentoptional
Distancedistance

E.g. distance from Sol

Contentsuggested
Ageage

no description

Contentoptional
Starsstars

Number or names of stars

Contentsuggested
Star typestar_type

Spectral class, e.g. G2V

Contentsuggested
Planetsplanets

Linked list of planets

Contentsuggested
Other bodiesother_bodies

Asteroid belts, comets, stations…

Contentoptional
Native speciesnative_species

no description

Contentoptional
Inhabitantsinhabitants

Non-native species present

Contentoptional
Discovered bydiscovered_by

no description

Contentoptional