Template:Planet: Difference between revisions

From USS Pacifica Online Database
Jump to navigationJump to search
m (Protected "Template:Planet" ([edit=sysop] (indefinite) [move=sysop] (indefinite)))
No edit summary
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
<table border="0" cellspacing="0" cellpadding="0" style="float:right; clear:right; margin: 0 0 .5em 1em; width:275px; background:#2B2B2B; border-collapse:collapse; border:1px solid #666666; font-size:smaller; line-height:1.5;">
<div class="infobox">
<tr colspan="2"><td>
{| width="275" align="right" cellpadding="3" cellspacing="0" style="border: 1px #404040 solid; background: #000000; border-bottom-right-radius: .8em; border-bottom-left-radius: .8em; -moz-border-radius-bottomright: .8em; -moz-border-radius-bottomleft: .8em; -webkit-border-bottom-right-radius: .8em; -webkit-border-bottom-left-radius: .8em; margin-top: -1.4em; margin: 0 0 1em 1em; font-size: 12px;color: #ffffff;"
<table border="0" cellspacing="0" cellpadding="4" style="float:right; margin:0 0 0 0; width:100%; background:#656565; border-collapse:collapse;">
|-
<tr style="text-align:center;">
{{#if: {{{image|}}}|
<td colspan="2" style="padding:0; background:{{#if:{{{imageBG|}}}|{{{imageBG}}}|#8C0000}};">{{{image|}}}</td></tr>
{{!}} colspan="2" bgcolor={{{bgcolor_value|#222222; style="background: #222222; border-top: 1px solid #111111; border-right: 1px solid #111111; color: #cccccc; font-size:smaller; text-align: center;"}}} {{!}} {{{image}}}}}
<tr style="text-align:center; color:{{{3|#FFFFFF}}}; background:#490101; font-size:larger;"><td colspan="2">'''{{{name}}}'''</td></tr> {{t|1=|1{{{hideb|}}}=<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle;><td colspan="2" style="text-align:left; font-weight:normal; background:#8C0000;">'''Astronomical Location'''</td></tr>}} {{t|1=<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background: #656565"><td style="border-top: 1px solid #666666; border-bottom: 1px solid #666666;">Quadrant</td><td  style="border-top: 1px solid #666666; border-bottom: 1px solid #666666;">
|-
{{{quadrant|}}}</td></tr>|1{{{quadrant|}}}=}} {{t|1=<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background: #656565"><td style="border-top: 1px solid #666666; border-bottom: 1px solid #666666;">Sector</td><td  style="border-top: 1px solid #666666; border-bottom: 1px solid #666666;">
| colspan="2" style="border-top: 1px solid #111111; text-align: center; color: #e5e5ed; font-size:larger; background-color:{{#switch:{{{color|}}}
{{{sector|}}}</td></tr>|1{{{sector|}}}=}} {{t|1=<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background: #656565"><td style="border-top: 1px solid #666666; border-bottom: 1px solid #666666;">System</td><td  style="border-top: 1px solid #666666; border-bottom: 1px solid #666666;">
 
{{{system|}}}</td></tr>|1{{{system|}}}=}} {{t|1=|1{{{hidec|}}}=<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle;><td colspan="2" style="text-align:left; font-weight:normal; background:#8C0000;">'''Physical Characteristic'''</td></tr>}} {{t|1=<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background: #656565"><td style="border-top: 1px solid #666666; border-bottom: 1px solid #666666;">Classification</td><td  style="border-top: 1px solid #666666; border-bottom: 1px solid #666666;">
  |Breen =&#032; #804000
{{{class|}}}</td></tr>|1{{{class|}}}=}} {{t|1=<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background: #656565"><td style="border-top: 1px solid #666666; border-bottom: 1px solid #666666;">Equatorial Radius</td><td  style="border-top: 1px solid #666666; border-bottom: 1px solid #666666;">
  |Cardassian =&#032; #FF8040
{{{equaradius|}}}</td></tr>|1{{{equaradius|}}}=}} {{t|1=<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background: #656565"><td style="border-top: 1px solid #666666; border-bottom: 1px solid #666666;">Polar Radius</td><td  style="border-top: 1px solid #666666; border-bottom: 1px solid #666666;">
  |Federation      = &#032; #1F2650
{{{polarradius|}}}</td></tr>|1{{{polarradius|}}}=}} {{t|1=<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background: #656565"><td style="border-top: 1px solid #666666; border-bottom: 1px solid #666666;">Surface Gravity</td><td  style="border-top: 1px solid #666666; border-bottom: 1px solid #666666;">
  |Klingon      = &#032; #571E19
{{{gravity|}}}</td></tr>|1{{{gravity|}}}=}} {{t|1=<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background: #656565"><td style="border-top: 1px solid #666666; border-bottom: 1px solid #666666;">Rotational Period</td><td  style="border-top: 1px solid #666666; border-bottom: 1px solid #666666;">
  |Romulan      = &#032; #2A4A26
{{{day|}}}</td></tr>|1{{{day|}}}=}} {{t|1=<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background: #656565"><td style="border-top: 1px solid #666666; border-bottom: 1px solid #666666;">Orbital Period</td><td  style="border-top: 1px solid #666666; border-bottom: 1px solid #666666;">
  |Ferengi    = &#032; #0E615A
{{{year|}}}</td></tr>|1{{{year|}}}=}} {{t|1=<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background: #656565"><td style="border-top: 1px solid #666666; border-bottom: 1px solid #666666;">Moons</td><td  style="border-top: 1px solid #666666; border-bottom: 1px solid #666666;">
  |Neutral    = &#032; #5B4015
{{{moons|}}}</td></tr>|1{{{moons|}}}=}} {{t|1=|1{{{hidec|}}}=<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle;><td colspan="2" style="text-align:left; font-weight:normal; background:#8C0000;">'''Additional Information'''</td></tr>}} {{t|1=<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background: #656565"><td style="border-top: 1px solid #666666; border-bottom: 1px solid #666666;">Affiliation</td><td  style="border-top: 1px solid #666666; border-bottom: 1px solid #666666;">
 
{{{affiliation|}}}</td></tr>|1{{{affiliation|}}}=}} {{t|1=<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background: #656565"><td style="border-top: 1px solid #666666; border-bottom: 1px solid #666666;">Native Race(s)</td><td  style="border-top: 1px solid #666666; border-bottom: 1px solid #666666;">
  |&#032;{{{color|{{{bgcolor|#5B4015}}}}}}
{{{native|}}}</td></tr>|1{{{native|}}}=}} {{t|1=<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background: #656565"><td style="border-top: 1px solid #666666; border-bottom: 1px solid #666666;">Population</td><td  style="border-top: 1px solid #666666; border-bottom: 1px solid #666666;">
}}; text-align:center;" | '''{{{name}}}'''
{{{population|}}}</td></tr>|1{{{population|}}}=}} </table></td></tr><tr><td style="text-align:center; width:50%;">&nbsp;&nbsp;[[Template:Planet|[Source]]]</td></tr></table><!-- TEMPLATE ENDS HERE. In order to regenerate the template, replace the code above with the source code provided. --><!-- TEMPLATE ENDS HERE. In order to regenerate the template, replace the code above with the source code provided. -->
|-
|colspan="2" style="border-top: 1px solid #111111; text-align: center; color: #e5e5ed; background-color:{{#switch:{{{color|}}}
 
  |Breen =&#032; #804000
  |Cardassian =&#032; #FF8040
  |Federation      = &#032; #1F2650
  |Klingon      = &#032; #571E19
  |Romulan      = &#032; #2A4A26
  |Ferengi    = &#032; #0E615A
  |Neutral    = &#032; #5B4015
 
  |&#032;{{{color|{{{bgcolor|#422E0F}}}}}}
}}; text-align:center; font-size:8pt;" | '''Survey Data'''
|-
{{#if: {{{star system|}}}|
{{!}} bgcolor={{{bgcolor_value|#222222; style="background: #222222; padding-left:6px; padding-right:6px; border-top: 1px solid #111111; border-right: 1px solid #111111; color: #cccccc; font-size:smaller;"}}} {{!}} Star System:
{{!}} bgcolor={{{bgcolor_value|#333333 style="background: #333333; padding-left:6px; padding-right:6px; border-top: 1px solid #111111; font-size:smaller;"}}} {{!}}
{{{star system}}}}}
|-
{{#if: {{{region|}}}|
{{!}} bgcolor={{{bgcolor_value|#222222; style="background: #222222; padding-left:6px; padding-right:6px; border-top: 1px solid #111111; border-right: 1px solid #111111; color: #cccccc; font-size:smaller;"}}} {{!}} Region:
{{!}} bgcolor={{{bgcolor_value|#333333 style="background: #333333; padding-left:6px; padding-right:6px; border-top: 1px solid #111111; font-size:smaller;"}}} {{!}}  
{{{region}}}}}
|-
{{#if: {{{quadrant|}}}|
{{!}} bgcolor={{{bgcolor_value|#222222; style="background: #222222; padding-left:6px; padding-right:6px; border-top: 1px solid #111111; border-right: 1px solid #111111; color: #cccccc; font-size:smaller;"}}} {{!}} Quadrant:
{{!}} bgcolor={{{bgcolor_value|#333333 style="background: #333333; padding-left:6px; padding-right:6px; border-top: 1px solid #111111; font-size:smaller;"}}} {{!}}
{{{quadrant}}}}}
|-
{{#if: {{{orbital period|}}}|
{{!}} bgcolor={{{bgcolor_value|#222222; style="background: #222222; padding-left:6px; padding-right:6px; border-top: 1px solid #111111; border-right: 1px solid #111111; color: #cccccc; font-size:smaller;"}}} {{!}} Orbital Period:
{{!}} bgcolor={{{bgcolor_value|#333333 style="background: #333333; padding-left:6px; padding-right:6px; border-top: 1px solid #111111; font-size:smaller;"}}} {{!}}
{{{orbital period}}}}}
|-
{{#if: {{{rotational period|}}}|
{{!}} bgcolor={{{bgcolor_value|#222222; style="background: #222222; padding-left:6px; padding-right:6px; border-top: 1px solid #111111; border-right: 1px solid #111111; color: #cccccc; font-size:smaller;"}}} {{!}} Rotational Period:
{{!}} bgcolor={{{bgcolor_value|#333333 style="background: #333333; padding-left:6px; padding-right:6px; border-top: 1px solid #111111; font-size:smaller;"}}} {{!}}  
{{{rotational period}}}}}
|-
{{#if: {{{classification|}}}|
{{!}} bgcolor={{{bgcolor_value|#222222; style="background: #222222; padding-left:6px; padding-right:6px; border-top: 1px solid #111111; border-right: 1px solid #111111; color: #cccccc; font-size:smaller;"}}} {{!}} Classification:
{{!}} bgcolor={{{bgcolor_value|#333333 style="background: #333333; padding-left:6px; padding-right:6px; border-top: 1px solid #111111; font-size:smaller;"}}} {{!}}
{{{classification}}}}}
|-
{{#if: {{{satellites|}}}|
{{!}} bgcolor={{{bgcolor_value|#222222; style="background: #222222; padding-left:6px; padding-right:6px; border-top: 1px solid #111111; border-right: 1px solid #111111; color: #cccccc; font-size:smaller;"}}} {{!}} Satellites:
{{!}} bgcolor={{{bgcolor_value|#333333 style="background: #333333; padding-left:6px; padding-right:6px; border-top: 1px solid #111111; font-size:smaller;"}}} {{!}}
{{{satellites}}}}}
|-
{{#if: {{{discovery date|}}}|
{{!}} bgcolor={{{bgcolor_value|#222222; style="background: #222222; padding-left:6px; padding-right:6px; border-top: 1px solid #111111; border-right: 1px solid #111111; color: #cccccc; font-size:smaller;"}}} {{!}} Discovery Date:
{{!}} bgcolor={{{bgcolor_value|#333333 style="background: #333333; padding-left:6px; padding-right:6px; border-top: 1px solid #111111; font-size:smaller;"}}} {{!}}
{{{discovery date}}}}}
|-
{{#if: {{{discovered by|}}}|
{{!}} bgcolor={{{bgcolor_value|#222222; style="background: #222222; padding-left:6px; padding-right:6px; border-top: 1px solid #111111; border-right: 1px solid #111111; color: #cccccc; font-size:smaller;"}}} {{!}} Discovered By:
{{!}} bgcolor={{{bgcolor_value|#333333 style="background: #333333; padding-left:6px; padding-right:6px; border-top: 1px solid #111111; font-size:smaller;"}}} {{!}}
{{{discovered by}}}}}
|-
|colspan="2" style="border-top: 1px solid #111111; text-align: center; color: #e5e5ed; background-color:{{#switch:{{{color|}}}
 
  |Breen =&#032; #804000
  |Cardassian =&#032; #FF8040
  |Federation      = &#032; #1F2650
  |Klingon      = &#032; #571E19
  |Romulan      = &#032; #2A4A26
  |Ferengi    = &#032; #0E615A
  |Neutral    = &#032; #5B4015
 
  |&#032;{{{color|{{{bgcolor|#422E0F}}}}}}
}}; text-align:center; font-size:8pt;" | '''Political Information'''
|-
{{#if: {{{affiliation|}}}|
{{!}} bgcolor={{{bgcolor_value|#222222; style="background: #222222; padding-left:6px; padding-right:6px; border-top: 1px solid #111111; border-right: 1px solid #111111; color: #cccccc; font-size:smaller;"}}} {{!}} Affiliation:
{{!}} bgcolor={{{bgcolor_value|#333333 style="background: #333333; padding-left:6px; padding-right:6px; border-top: 1px solid #111111; font-size:smaller;"}}} {{!}}
{{{affiliation}}}}}
|-
{{#if: {{{native sentients|}}}|
{{!}} bgcolor={{{bgcolor_value|#222222; style="background: #222222; padding-left:6px; padding-right:6px; border-top: 1px solid #111111; border-right: 1px solid #111111; color: #cccccc; font-size:smaller;"}}} {{!}} Native Sentients:
{{!}} bgcolor={{{bgcolor_value|#333333 style="background: #333333; padding-left:6px; padding-right:6px; border-top: 1px solid #111111; font-size:smaller;"}}} {{!}}
{{{native sentients}}}}}
|-
{{#if: {{{previous inhabitants|}}}|
{{!}} bgcolor={{{bgcolor_value|#222222; style="background: #222222; padding-left:6px; padding-right:6px; border-top: 1px solid #111111; border-right: 1px solid #111111; color: #cccccc; font-size:smaller;"}}} {{!}} Previous Inhabitants:
{{!}} bgcolor={{{bgcolor_value|#333333 style="background: #333333; padding-left:6px; padding-right:6px; border-top: 1px solid #111111; font-size:smaller;"}}} {{!}}
{{{previous inhabitants}}}}}
|-
{{#if: {{{current inhabitants|}}}|
{{!}} bgcolor={{{bgcolor_value|#222222; style="background: #222222; padding-left:6px; padding-right:6px; border-top: 1px solid #111111; border-right: 1px solid #111111; color: #cccccc; font-size:smaller;"}}} {{!}} Current Inhabitants:
{{!}} bgcolor={{{bgcolor_value|#333333 style="background: #333333; padding-left:6px; padding-right:6px; border-top: 1px solid #111111; font-size:smaller;"}}} {{!}}
{{{current inhabitants}}}}}
|-
{{#if: {{{capital|}}}|
{{!}} bgcolor={{{bgcolor_value|#222222; style="background: #222222; padding-left:6px; padding-right:6px; border-top: 1px solid #111111; border-right: 1px solid #111111; color: #cccccc; font-size:smaller;"}}} {{!}} Capital:
{{!}} bgcolor={{{bgcolor_value|#333333 style="background: #333333; padding-left:6px; padding-right:6px; border-top: 1px solid #111111; font-size:smaller;"}}} {{!}}
{{{capital}}}}}
|-
{{#if: {{{population|}}}|
{{!}} bgcolor={{{bgcolor_value|#222222; style="background: #222222; padding-left:6px; padding-right:6px; border-top: 1px solid #111111; border-right: 1px solid #111111; color: #cccccc; font-size:smaller;"}}} {{!}} Population:
{{!}} bgcolor={{{bgcolor_value|#333333 style="background: #333333; padding-left:6px; padding-right:6px; border-top: 1px solid #111111; font-size:smaller;"}}} {{!}}
{{{population}}}}}
|-
|colspan="2" style="border-bottom-right-radius: .8em; border-bottom-left-radius: .8em; -moz-border-radius-bottomright: .8em; -moz-border-radius-bottomleft: .8em; -webkit-border-bottom-right-radius: .8em; -webkit-border-bottom-left-radius: .8em; text-align: center; color: #e5e5ed; font-variant:small-caps; font-size:smaller; background-color:{{#switch:{{{color|}}}
 
  |Breen =&#032; #804000
  |Cardassian =&#032; #FF8040
  |Federation      = &#032; #1F2650
  |Klingon      = &#032; #571E19
  |Romulan      = &#032; #2A4A26
  |Ferengi    = &#032; #0E615A
  |Neutral    = &#032; #5B4015
 
  |&#032;{{{color|{{{bgcolor|#5B4015}}}}}}
}}; text-align:center; border-top: 1px solid #111111;" | [[Template:Planet|[ Source ]]]
|}</div>
<includeonly>{{#switch:{{{color|}}} 
  |Breen      = {{#if:{{NAMESPACE}} | | [[Category:Breen Planets]]}}
  |Cardassian = {{#if:{{NAMESPACE}} | | [[Category:Cardassian Planets]]}}
  |Federation      = {{#if:{{NAMESPACE}} | | [[Category:Federation Planets]]}}
  |Klingon      = {{#if:{{NAMESPACE}} | | [[Category:Klingon Planets]]}}
  |Romulan      = {{#if:{{NAMESPACE}} | | [[Category:Romulan Planets]]}}
  |Neutral    = {{#if:{{NAMESPACE}} | | [[Category:Neutral & Other Planets]]}}
  | {{#if:{{NAMESPACE}} | | [[Category:Planets]]}}}}</includeonly>
<noinclude>
<noinclude>
{{clear}}
<br clear=all>
===Usage instructions===
<pre>
Paste the following code into the top of an article, filling all known fields:
<pre><nowiki>
{{Planet
{{Planet
|color =
|image=
|image=
|name=
|name=
|image=
|name=
|star system=
|region=
|quadrant=
|quadrant=
|sector=
|orbital period=
|system=
|rotational period=
|class=
|classification=
|equaradius=
|satellites=
|polarradius=
|discovery date=
|gravity=
|discovered by=
|day
|year
|moons=
|affiliation=
|affiliation=
|native=
|native sentients=
|previous inhabitants=
|current inhabitants=
|capital=
|population=
|population=
}}</nowiki></pre>
}}</pre>
<noinclude>


==Data fields==
{| border=0 cellspacing=2 cellpadding=10 style="background: #111111; margin: 1em auto;text-align:center;"
*image &ndash; Put a link to the image at a width of 250 pixels or less.
|-style="text-align: center; background: #323232; font-size:10pt; width: 100%;"
*name &ndash; Simply list the name of the planet in italics.
! "Color" field values
*qaudrant &ndash; Put the quadrant the planet is located in
|- style="text-align: center; background: #222222; font-size:10pt; width: 100%;"
*sector &ndash; Put the sector the planet is located in
| Breen
*system &ndash; Put the system the planet is located in
|- style="text-align: center; background: #222222; font-size:10pt; width: 100%;"
*class &ndash; Put the planet classification (e.g. M class)
| Cardassian
*equaradius &ndash; Put the radius of the planet along the equator
|- style="text-align: center; background: #222222; font-size:10pt; width: 100%;"
*polarradius &ndash; Put the radius of the planet from pole to pole
| Federation
*gravity &ndash; Put the surfacr gravity of the planet (1''g'' = earth's gravity)
|- style="text-align: center; background: #222222; font-size:10pt; width: 100%;"
*day &ndash; Put the time it takes for one rotation of the planet
| Klingon
*year &ndash; Put the time it takes for the planet to orbit its star
|- style="text-align: center; background: #222222; font-size:10pt; width: 100%;"
*native &ndash; Put the name of all the native sentient species on the planet.
| Romulan
*population &ndash; Put the number of senties beings on the planet
|- style="text-align: center; background: #222222; font-size:10pt; width: 100%;"
</noinclude>
| Ferengi
|- style="text-align: center; background: #222222; font-size:10pt; width: 100%;"
| width="50%" | Neutral
|}


<noinclude>[[Category:Templates|P]]</noinclude>
<noinclude>[[Category:Templates|{{PAGENAME}}]] [[Category:Infobox Templates|{{PAGENAME}}]]</noinclude>

Latest revision as of 04:47, 8 July 2012

{{{name}}}
Survey Data
Political Information
[ Source ]



{{Planet
|color = 
|image=
|name=
|image=
|name=
|star system=
|region=
|quadrant=
|orbital period=
|rotational period=
|classification=
|satellites=
|discovery date=
|discovered by=
|affiliation=
|native sentients=
|previous inhabitants=
|current inhabitants=
|capital=
|population=
}}
"Color" field values
Breen
Cardassian
Federation
Klingon
Romulan
Ferengi
Neutral