FANDOM


(pluralized "Alternate name" field)
(Infobox updated using the portable infobox migration tool)
Line 1: Line 1:
<div>
+
<infobox theme-source="type">
{| class="sidebar"
+
<navigation>{{#switch:{{{Bodytype|}}}|moon={{small|[[moon|MOON]]}}|planetoid={{small|[[planetoid|PLANETOID]]}}|#default={{small|[[planet|PLANET]]}}}}</navigation>
!colspan=2 | {{ #switch: {{{Bodytype|}}}
+
<title source="Planet Name"><default>{{PAGENAME}}</default></title>
| moon = {{small|[[moon|MOON]]}}
+
<image source="Image">
| planetoid = {{small|[[planetoid|PLANETOID]]}}
+
<caption source="Caption"/>
| {{small|[[Planet|PLANET]]}} }}
+
</image>
|-
+
<data source="Full name"><label>Full name:</label></data>
{{clear}}
+
<data source="Alternate name"><label>Alternate name(s):</label></data>
|-
+
<data source="Classification"><label>Classification:</label></data>
! colspan=2 style="font-size:120%; line-height: 130%; background:{{color | type = {{{type}}}}};" | '''{{{Planet Name}}}'''
+
<data source="Affiliation"><label>Affiliation:</label></data>
|-
+
<data source="Location"><label>Location:</label></data>
| style="background:#FFFFFF;" align="center" colspan="2" | {{ #if: {{{Image|}}} |{{{Image}}}}} {{ #if: {{{Caption|}}} |<br>{{small|{{{Caption}}}}}}}
+
<data source="Moons"><label>Moon(s):</label></data>
|-
+
<data source="Species"><label>Dominant Species:</label></data>
{{clear}}
+
<data source="Warp"><label>Warp Capable:</label></data>
{{#if: {{{Full name|}}} |
+
<data source="Population"><label>Population:</label></data>
{{1}}-
+
<data source="Capital"><label>Capital:</label></data>
! align="left" {{1}} Full name:
+
<data source="Gravity"><label>Gravity:</label></data>
{{1}} align="right" {{1}} {{{Full name}}}
+
<data source="Diameter"><label>Diameter:</label></data>
}}
+
<data source="Equatorial circumference"><label>Equatorial circumference:</label></data>
{{clear}}
+
<data source="Length of day"><label>Length of day:</label></data>
{{#if: {{{Alternate name|}}} |
+
<data source="land mass"><label>Land mass percentage:</label></data>
{{1}}-
+
<image source="altimage">
! align="left" {{1}} Alternate name(s):
+
<caption source="altcaption"/>
{{1}} align="right" {{1}} {{{Alternate name}}}
+
</image>
}}
+
</infobox>
{{clear}}
 
{{#if: {{{Classification|}}} |
 
{{1}}-
 
! align="left" {{1}} Classification:
 
{{1}} align="right" {{1}} {{{Classification}}}
 
}}
 
{{clear}}
 
{{#if: {{{Affiliation|}}} |
 
{{1}}-
 
! align="left" {{1}} Affiliation:
 
{{1}} align="right" {{1}} {{{Affiliation}}}
 
}}
 
{{clear}}
 
{{#if: {{{Location|}}} |
 
{{1}}-
 
! align="left" {{1}} Location:
 
{{1}} align="right" {{1}} {{{Location}}}
 
}}
 
{{clear}}
 
{{#if: {{{Moons|}}} |
 
{{1}}-
 
! align="left" {{1}} Moon(s):
 
{{1}} align="right" {{1}} {{{Moons}}}
 
}}
 
{{clear}}
 
{{#if: {{{Species|}}} |
 
{{1}}-
 
! align="left" {{1}} Dominant Species:
 
{{1}} align="right" {{1}} {{{Species}}}
 
}}
 
{{clear}}
 
{{#if: {{{Warp|}}} |
 
{{1}}-
 
! align="left" {{1}} Warp Capable:
 
{{1}} align="right" {{1}} {{{Warp}}}
 
}}
 
{{clear}}
 
{{#if: {{{Population|}}} |
 
{{1}}-
 
! align="left" {{1}} Population:
 
{{1}} align="right" {{1}} {{{Population}}}
 
}}
 
{{clear}}
 
{{#if: {{{Capital|}}} |
 
{{1}}-
 
! align="left" {{1}} Capital:
 
{{1}} align="right" {{1}} {{{Capital}}}
 
}}
 
{{clear}}
 
{{#if: {{{Gravity|}}} |
 
{{1}}-
 
! align="left" {{1}} Gravity:
 
{{1}} align="right" {{1}} {{{Gravity}}}
 
}}
 
{{clear}}
 
{{#if: {{{Diameter|}}} |
 
{{1}}-
 
! align="left" {{1}} Diameter:
 
{{1}} align="right" {{1}} {{{Diameter}}}
 
}}
 
{{clear}}
 
{{#if: {{{Equatorial circumference|}}} |
 
{{1}}-
 
! align="left" {{1}} Equatorial circumference:
 
{{1}} align="right" {{1}} {{{Equatorial circumference}}}
 
}}
 
{{clear}}
 
{{#if: {{{Length of day|}}} |
 
{{1}}-
 
! align="left" {{1}} Length of day:
 
{{1}} align="right" {{1}} {{{Length of day}}}
 
}}
 
{{clear}}
 
{{#if: {{{land mass|}}} |
 
{{1}}-
 
! align="left" {{1}} Land mass percentage:
 
{{1}} align="right" {{1}} {{{land mass}}}
 
}}
 
{{clear}}
 
{{ #if: {{{altimage|}}} |
 
{{1}}-
 
{{1}}align="center" colspan=2 bgcolor="#ffffff" {{1}} {{{altimage}}}
 
}}
 
|}
 
</div>
 
 
<noinclude>
 
<noinclude>
 
==Blank Template==
 
==Blank Template==
Line 49: Line 49:
 
| land mass =
 
| land mass =
 
| altimage =
 
| altimage =
  +
| altcaption =
 
|}}
 
|}}
 
</pre>
 
</pre>

Revision as of 22:53, August 11, 2016

Blank Template

{{PlanetInfobox|
| type          =
| Bodytype      =
| Planet Name   =
| Image         =
| Caption       =
| Full name     =
| Alternate name=
| Classification=
| Affiliation   =
| Location      =
| Moons         =
| Species       =
| Warp          =
| Population    =
| Capital       =
| Gravity       =
| Diameter      =
| Equatorial circumference=
| Length of day =
| land mass     =
| altimage      =
| altcaption    =
|}}

All fields but classification and affiliation are optional, the bodytype option allows the box to be modified from its default planet heading to be a moon or planetoid.

Community content is available under CC-BY-SA unless otherwise noted.