Template:Planet: Difference between revisions

From USS Pacifica Online Database
Jump to navigationJump to search
No edit summary
No edit summary
 
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:#2B2B2B; 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:#8C0000; 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:#490101;">'''Survey Data'''</td></tr>}} {{t|1=<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background: #232323"><td style="border-top: 1px solid #666666; border-bottom: 1px solid #666666;">Star System</td><td  style="border-top: 1px solid #666666; border-bottom: 1px solid #666666;">
|-
{{{Star System|}}}</td></tr>|1{{{Star System|}}}=}} {{t|1=<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background: #232323"><td style="border-top: 1px solid #666666; border-bottom: 1px solid #666666;">Region</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|}}}
{{{Region|}}}</td></tr>|1{{{Region|}}}=}} {{t|1=<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background: #232323"><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: #232323"><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;">
  |Breen =&#032; #804000
{{{Orbital Period|}}}</td></tr>|1{{{Orbital Period|}}}=}} {{t|1=<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background: #232323"><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;">
  |Cardassian =&#032; #FF8040
{{{Rotational Period|}}}</td></tr>|1{{{Rotational Period|}}}=}} {{t|1=<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background: #232323"><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;">
  |Federation      = &#032; #1F2650
{{{Classification|}}}</td></tr>|1{{{Classification|}}}=}} {{t|1=<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background: #232323"><td style="border-top: 1px solid #666666; border-bottom: 1px solid #666666;">Satellites</td><td  style="border-top: 1px solid #666666; border-bottom: 1px solid #666666;">
  |Klingon      = &#032; #571E19
{{{Satellites|}}}</td></tr>|1{{{Satellites|}}}=}} {{t|1=<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background: #232323"><td style="border-top: 1px solid #666666; border-bottom: 1px solid #666666;">Discovery Date</td><td  style="border-top: 1px solid #666666; border-bottom: 1px solid #666666;">
  |Romulan      = &#032; #2A4A26
{{{Discovery Date|}}}</td></tr>|1{{{Discovery Date|}}}=}} {{t|1=<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background: #232323"><td style="border-top: 1px solid #666666; border-bottom: 1px solid #666666;">Discovered By</td><td  style="border-top: 1px solid #666666; border-bottom: 1px solid #666666;">
  |Ferengi    = &#032; #0E615A
{{{Discovered By|}}}</td></tr>|1{{{Discovered By|}}}=}} {{t|1=|1{{{hidep|}}}=<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle;><td colspan="2" style="text-align:left; font-weight:normal; background:#490101;">'''Political Information'''</td></tr>}} {{t|1=<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background: #232323"><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;">
  |Neutral    = &#032; #5B4015
{{{Affiliation|}}}</td></tr>|1{{{Affiliation|}}}=}} {{t|1=<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background: #232323"><td style="border-top: 1px solid #666666; border-bottom: 1px solid #666666;">Native Sentients</td><td  style="border-top: 1px solid #666666; border-bottom: 1px solid #666666;">
 
{{{Native Sentients|}}}</td></tr>|1{{{Native Sentients|}}}=}} {{t|1=<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background: #232323"><td style="border-top: 1px solid #666666; border-bottom: 1px solid #666666;">Previous Inhabitants</td><td  style="border-top: 1px solid #666666; border-bottom: 1px solid #666666;">
  |&#032;{{{color|{{{bgcolor|#5B4015}}}}}}
{{{Previous Inhabitants|}}}</td></tr>|1{{{Previous Inhabitants|}}}=}} {{t|1=<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background: #232323"><td style="border-top: 1px solid #666666; border-bottom: 1px solid #666666;">Current Inhabitants</td><td  style="border-top: 1px solid #666666; border-bottom: 1px solid #666666;">
}}; text-align:center;" | '''{{{name}}}'''
{{{Current Inhabitants|}}}</td></tr>|1{{{Current Inhabitants|}}}=}} {{t|1=<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background: #232323"><td style="border-top: 1px solid #666666; border-bottom: 1px solid #666666;">Capital</td><td  style="border-top: 1px solid #666666; border-bottom: 1px solid #666666;">
|-
{{{Capital|}}}</td></tr>|1{{{Capital|}}}=}} {{t|1=<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background: #232323"><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;">
|colspan="2" style="border-top: 1px solid #111111; text-align: center; color: #e5e5ed; background-color:{{#switch:{{{color|}}}
{{{Population|}}}</td></tr>|1{{{Population|}}}=}} </table></td></tr><tr><td style="text-align:center; width:50%;">&nbsp;&nbsp;[[Template:Infobox 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. -->
 
<includeonly>
  |Breen =&#032; #804000
[[Category:Planets]]
  |Cardassian =&#032; #FF8040
</includeonly>
  |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 or desired fields:
{{Planet
<pre><nowiki>
|color =
{{Infobox Planet
|image=
|name=
|image=
|image=
|name=
|name=
|Star System=
|star system=
|Region=
|region=
|Quadrant=
|quadrant=
|Orbital Period=
|orbital period=
|Rotational Period=
|rotational period=
|Classification=
|classification=
|Satellites=
|satellites=
|Discovery Date=
|discovery date=
|Discovered By=
|discovered by=
|Affiliation=
|affiliation=
|Native Sentients=
|native sentients=
|Previous Inhabitants=
|previous inhabitants=
|Current Inhabitants=
|current inhabitants=
|Capital=
|capital=
|Population=
|population=
}}
}}</pre>
</nowiki></pre>


===Display parameters===
{| border=0 cellspacing=2 cellpadding=10 style="background: #111111; margin: 1em auto;text-align:center;"
*hideb
|-style="text-align: center; background: #323232; font-size:10pt; width: 100%;"
*hidep
! "Color" field values
*hidec
|- style="text-align: center; background: #222222; font-size:10pt; width: 100%;"
| Breen
|- style="text-align: center; background: #222222; font-size:10pt; width: 100%;"
| Cardassian
|- style="text-align: center; background: #222222; font-size:10pt; width: 100%;"
| Federation
|- style="text-align: center; background: #222222; font-size:10pt; width: 100%;"
| Klingon
|- style="text-align: center; background: #222222; font-size:10pt; width: 100%;"
| Romulan
|- style="text-align: center; background: #222222; font-size:10pt; width: 100%;"
| Ferengi
|- style="text-align: center; background: #222222; font-size:10pt; width: 100%;"
| width="50%" | Neutral
|}


===Source===
<noinclude>[[Category:Templates|{{PAGENAME}}]] [[Category:Infobox Templates|{{PAGENAME}}]]</noinclude>
<nowiki>
{{subst:slh|#8C0000|275px}} {{subst:sls|Survey Data|#490101|hideb}} {{subst:sld|Star System|Star System}} {{subst:sld|Region|Region}} {{subst:sld|Quadrant|Quadrant}} {{subst:sld|Orbital Period|Orbital Period}} {{subst:sld|Rotational Period|Rotational Period}} {{subst:sld|Classification|Classification}} {{subst:sld|Satellites|Satellites}} {{subst:sld|Discovery Date|Discovered By}} {{subst:sld|Satellites|Satellites}} {{subst:sls|Political Information|#490101|hidep}} {{subst:sld|Native Sentients|Native Sentients}} {{subst:sld|Previous Inhabitants|Previous Inhabitants}} {{subst:sld|Current Inhabitants|Current Inhabitants}} {{subst:sld|Affiliation|Affiliation}} {{subst:sld|Capital|Capital}} {{subst:sld|Population|Population}} {{subst:slf}}
</nowiki>
[[Category: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