FANDOM


(revert infobox to old version)
Line 1: Line 1:
<includeonly><infobox theme-source="type">
+
<div>
<navigation>{{#switch:{{{Bodytype|}}}|moon={{small|[[moon|MOON]]}}|planetoid={{small|[[planetoid|PLANETOID]]}}|#default={{small|[[planet|PLANET]]}}}}</navigation>
+
{| class="sidebar"
<title source="Planet Name"><default>{{PAGENAME}}</default></title>
+
!colspan=2 | {{ #switch: {{{Bodytype|}}}
<image source="Image">
+
| moon = {{small|[[moon|MOON]]}}
<caption source="Caption"/>
+
| planetoid = {{small|[[planetoid|PLANETOID]]}}
</image>
+
| {{small|[[Planet|PLANET]]}} }}
<data source="Full name"><label>Full name:</label></data>
+
|-
<data source="Alternate name"><label>Alternate name(s):</label></data>
+
{{clear}}
<data source="Classification"><label>Classification:</label></data>
+
|-
<data source="Affiliation"><label>Affiliation:</label></data>
+
! colspan=2 style="font-size:120%; line-height: 130%; background:{{color | type = {{{type}}}}};" | '''{{{Planet Name}}}'''
<data source="Icon1"></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>
 
<data source="Length of day"><label>Length of day:</label></data>
 
<data source="land mass"><label>Land mass percentage:</label></data>
 
<image source="altimage">
 
<caption source="altcaption"/>
 
</image>
 
</infobox></includeonly>
 
<noinclude>
 
{{planetInfobox
 
| type = card
 
| Bodytype = planet
 
| Planet Name = Cardassia Prime
 
| Alternate name =
 
| Image = [[File:Cardassia.jpg|220px]]
 
| Caption = '''Cardassia''' from [[orbit]].
 
| Classification = [[class M planet]]
 
| Affiliation = [[Cardassian Union]]<br>(capital)
 
| Icon1 = [[file:alphaQuadrant.jpg|45px|Locator logo showing [[the galaxy]]'s [[Alpha Quadrant]].]] [[file:cardassianUnion.jpg|25px|Cardassian Union emblem image.]]
 
| Location = [[Cardassia system]],<br>[[Cardassia sector]],<br>[[Alpha Quadrant]]
 
| Species = [[Cardassian]]
 
| Population = 7.9 Billion ([[2370]]) After [[dominion war]] 7 billion
 
| Moons = Three; [[Letau]], [[Blind Moon]]
 
| Warp = [[1925]]
 
| Capital = [[Lakat]]
 
| Gravity =
 
| Diameter =
 
| Equatorial circumference =
 
| Length of day =
 
| land mass =
 
| altimage = [[File:Cardassia2.JPG|220px|]]
 
 
}}
 
}}
  +
{{clear}}
  +
{{#if: {{{Alternate name|}}} |
  +
{{1}}-
  +
! align="left" {{1}} Alternate name(s):
  +
{{1}} align="right" {{1}} {{{Alternate name}}}
  +
}}
  +
{{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>
 
==Blank Template==
 
==Blank Template==
 
<pre>
 
<pre>
Line 42: Line 134:
 
| land mass =
 
| land mass =
 
| altimage =
 
| altimage =
| altcaption =
 
 
|}}
 
|}}
 
</pre>
 
</pre>

Revision as of 15:56, September 10, 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      =
|}}

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.