The following documentation is transcluded from Template:Sidebar astronomical object/doc:

This template can be used as a standardized sidebar on any astronomical object or star system page. Please only use in-universe information, heard or seen in any Star Trek television show or feature film. The resulting layout can be seen on the right. The template uses the following variables.

Code

The following code can be copied to the top of any planet article directly.

{{sidebar astronomical object
| name        = 
| aka         = 
| orbital     = 
| ocaption    = 
| surface     = 
| scaption    = 
| image       = 
| caption     = 
| class       = 
| type        = 
| star        = 
| satellites  = 
| species     = 
| location    = 
| affiliation = 
| status      = 
| datestatus  = 
}}

Variables

Name 
Name of the the thing. Use AKA for prominent alternate names.
Orbital 
Filename of an image, without "File:" namespace prefix. Should be an image showing the object from orbit, and can be omitted if such doesn't exist.
Surface 
Filename of an image, without "File:" namespace prefix. Should be an image showing some detail on the surface of the object, and can be omitted if such doesn't exist. At least one of the two images should be used.
Image 
Filename of an image, without "File:" namespace prefix for systems and objects where Orbital and Surface would not apply.
O/S/caption 
Optional caption for the orbital/surface and standard images for mouseovers. These should not include any markup at all.
Class 
Planetary class, if known. Leave blank otherwise; this field is optional.
Type 
Type of body, i.e. planet or planetoid; this field is optional.
Status
Last status of the object known. Use Datestatus for the date the status reference.
Star 
The system's star, or stars.
Planets 
What planets orbit the star(s)
Satellites 
Name of natural satellites (moons). Leave blank if none or unknown.
Species 
Name(s) of primary native sentient species. Leave blank if none or unknown.
Location 
Name of planetary system, followed by galactic quadrant planet is located in.
Affiliation 
Organization this planet is affiliated with. Optional, leave blank if none or unknown.

Example

{{sidebar astronomical object
| name        = Earth
| orbital     = Earth.jpg
| ocaption    = The North American continent as seen from orbit
| surface     = Starfleet Academy, 2368.jpg
| scaption    = Starfleet Academy
| class       = [[Class M|M]]
| type        = [[Planet]]
| satellites  = [[Luna]]
| species     = [[Human]]<br />[[Neanderthal]]<br />[[Voth]]<br />[[Humpback whale]]
| location    = [[Sol system]]<br />[[Sector 001]]<br/>[[Alpha Quadrant]]
| affiliation = [[United Earth]]<br />[[Coalition of Planets]]<br />[[United Federation of Planets]]
| status      = Habitable
| datestatus  = 3189
}}
Community content is available under CC-BY-NC unless otherwise noted.