Template:Infobox star system: Difference between revisions
More actions
Add Planets/Systems categories; About, Copyrights, Disclaimer, Privacy policy; footer |
Automatic category lists and Create buttons; easier-to-read privacy policy; remove em dashes |
||
| 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>{{#ifeq:{{NAMESPACE}}||[[Category:Systems]]}}</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 | Infobox for star systems. Put it at the very top of the page. Every field is optional, and empty fields and sections are hidden. Pages using it in the main namespace are added to [[:Category:Systems]] automatically. | ||
== Example == | == Example == | ||
Revision as of 21:33, 14 October 2026
Infobox for star systems. Put it at the very top of the page. Every field is optional, and empty fields and 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.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Name | name | Display name. Defaults to the page name. | String | optional |
| Image | image | File name without the File: prefix | File | suggested |
| Image size | image_size | no description
| String | optional |
| Caption | caption | no description | Content | optional |
| Region | region | Galactic region or sector | Content | optional |
| Distance | distance | E.g. distance from Sol | Content | suggested |
| Age | age | no description | Content | optional |
| Stars | stars | Number or names of stars | Content | suggested |
| Star type | star_type | Spectral class, e.g. G2V | Content | suggested |
| Planets | planets | Linked list of planets | Content | suggested |
| Other bodies | other_bodies | Asteroid belts, comets, stations… | Content | optional |
| Native species | native_species | no description | Content | optional |
| Inhabitants | inhabitants | Non-native species present | Content | optional |
| Discovered by | discovered_by | no description | Content | optional |