Template:Planet Infobox
From Star Trek Online Geekipedia
| | |
| Earth | |
| Class: | M |
| Type: | Planet |
| Satellites: | 1, Luna |
| Location: | Alpha Quadrant, Sector 001 |
| Star System: | Sol |
| Species of Note: | Human Voth |
| Faction Affiliation: | United Federation Of Planets |
| Often referred to by it's indigenous dominant species as "the big blue marble." | |
The Planet Infobox as presented here is a template with placeholders for the most basic ship data. It was adapted from our own character infobox.
How to use the Planet Infobox
The long and involved process works thusly. If you just want the Box, go directly to the Cheat Sheet.
Trigger the use of the Ship Infobox on your page if you plan to include it. At the top of your edit window, enter:
{{Planet Infobox
Below that, you'll want to fill out all the parameters that you can or care to fill out. For this, you'll need the name of the parameter that corresponds to the field you'll want to fill; in most cases, the parameter names are the same as the name of the field, but they differ in some. A complete list can be found below. The format for filling in a parameter is as follows:
| parameter = value eg. | name = Earth
This will replace the {{{name}}} placeholder in the original Planet Infobox with 'Earth'. Each parameter should be put in a new line for ease of parsing and debugging in case something goes wrong.
For easiest readability, you'll want to offer single terms that summarize some or all of your ship's applicable information. The main body of the page allows sufficient room to expand on things, the Ship Infobox is mostly meant for an at-a-glance summary of the most important vessel data.
Close the Template. This is done by appending the following at the end of your list:
|}}
And with this, you're set.
Unless otherwise noted, parameters will simply not appear in the box if the value is left blank (eg. | image = ). This versatility will allow us to add new parameters to the box in the future without removing the existing ones, and letting you pick and choose which ones to fill out.
The Planet Infobox Cheat Sheet
Just copy/paste the below list into your article's Edit box and fill in any parameters that you might care to fill in. Leave all other lines blank, but do not delete them (parameters with no value will not be displayed in the final infobox, but deleted parameters still appear - very annoying, we're working on it).
{{Planet Infobox
| image =
| caption =
| name =
| class =
| type =
| satellites =
| system =
| quadrant =
| natives =
| faction =
| footnotes =
|}}
As an example, the Planet Infobox on this page for Earth uses the following:
{{Planet Infobox
| image = Earth.jpg
| caption =
| name = Earth
| class = [[Class M|M]]
| type = Planet
| satellites = 1, [[Luna]]
| system = [[Sol]]
| quadrant = Alpha Quadrant, Sector 001
| natives = [[Human]]<br>[[Voth]]
| faction = [[United Federation Of Planets]]
| footnotes = Often referred to by it's indigenous dominant species as "the big blue marble."
|}}

