Difference between revisions of "Template:Planet"

From Anura Sims Database
Jump to navigation Jump to search
m
m
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
<div>
+
<div class="infobox">
{| style="background: transparent; border:1px solid #516778; border-radius: 1px 1px 1px 1px;" width="275" align="right" cellpadding="1" cellspacing="0"  
+
{| width="275" align="right" cellpadding="1" cellspacing="1"
 
|-  
 
|-  
| colspan="2" bgcolor={{{bgcolor_value|#222222 style="font-size: 8pt; padding: 3px; text-align: center;"}}} {{!}} {{{image}}}
+
{{#if: {{{image|}}}|
 +
{{!}} colspan="2" bgcolor={{{bgcolor_value|#0b1322 style="font-size: 8pt; padding: 3px; text-align: center;"}}} {{!}} {{{image}}}}}
 
|-
 
|-
 
| colspan="2" style="border-top: 1px solid #111111; text-align: center; color: #e5e5ed; font-size:larger; background-color:#000000; text-align:center; font-variant:small-caps;" | '''{{{name}}}'''
 
| colspan="2" style="border-top: 1px solid #111111; text-align: center; color: #e5e5ed; font-size:larger; background-color:#000000; text-align:center; font-variant:small-caps;" | '''{{{name}}}'''
 
|-
 
|-
{{!}} 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:
+
{{#if: {{{system|}}}|
{{!}} bgcolor={{{bgcolor_value|#2B2B2B style="background: #2B2B2B; padding-left:6px; padding-right:6px; border-top: 1px solid #111111; font-size:smaller;"}}} {{!}}  
+
{{!}} bgcolor={{{bgcolor_value|#0b1322; style="background: #0b1322; padding-left:6px; padding-right:6px; border-top: 1px solid #111111; border-right: 1px solid #111111; color: #cccccc; font-size:smaller;"}}} {{!}} Star System:
{{{system}}}
+
{{!}} bgcolor={{{bgcolor_value|#070D17 style="background: #070D17; padding-left:6px; padding-right:6px; border-top: 1px solid #111111; font-size:smaller;"}}} {{!}}  
 +
{{{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;"}}} {{!}} Class:
+
{{#if: {{{class|}}}|
{{!}} bgcolor={{{bgcolor_value|#2B2B2B style="background: #2B2B2B; padding-left:6px; padding-right:6px; border-top: 1px solid #111111; font-size:smaller;"}}} {{!}}  
+
{{!}} bgcolor={{{bgcolor_value|#0b1322; style="background: #0b1322; padding-left:6px; padding-right:6px; border-top: 1px solid #111111; border-right: 1px solid #111111; color: #cccccc; font-size:smaller;"}}} {{!}} Class:
{{{class}}}
+
{{!}} bgcolor={{{bgcolor_value|#070D17 style="background: #070D17; padding-left:6px; padding-right:6px; border-top: 1px solid #111111; font-size:smaller;"}}} {{!}}  
 +
{{{class}}}}}
 
|-
 
|-
{{!}} 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:
+
{{#if: {{{affiliation|}}}|
{{!}} bgcolor={{{bgcolor_value|#2B2B2B style="background: #2B2B2B; padding-left:6px; padding-right:6px; border-top: 1px solid #111111; font-size:smaller;"}}} {{!}}  
+
{{!}} bgcolor={{{bgcolor_value|#0b1322; style="background: #0b1322; padding-left:6px; padding-right:6px; border-top: 1px solid #111111; border-right: 1px solid #111111; color: #cccccc; font-size:smaller;"}}} {{!}} Affiliation:
{{{affiliation}}}
+
{{!}} bgcolor={{{bgcolor_value|#070D17 style="background: #070D17; padding-left:6px; padding-right:6px; border-top: 1px solid #111111; font-size:smaller;"}}} {{!}}  
 +
{{{affiliation}}}}}
 
|-
 
|-
 
|- style="border-radius-bottom-right: 13px; border-radius-bottom-left: 13px;"
 
|- style="border-radius-bottom-right: 13px; border-radius-bottom-left: 13px;"
|colspan="2" style="border-radius-bottom-right: 13px; border-radius-bottom-left: 13px; text-align: center; color: #0b3c5d; font-size: 8pt; background-color:#000000; text-align:center; border-top: 1px solid #111111;" | [[Template:Planet]]
+
|colspan="2" style="border-radius-bottom-right: 13px; border-radius-bottom-left: 13px; text-align: center; color: #1e3c52; font-size: 8pt; background-color:#000000; text-align:center; border-top: 1px solid #111111;" | [[Template:Planet]]
 
|}</div>
 
|}</div>
<includeonly>[[Category:Planets]]
+
<includeonly>[[Category:Astrometrics]] [[Category:Planets]]
 
{{DEFAULTSORT:{{PAGENAME}}}}</includeonly><noinclude>
 
{{DEFAULTSORT:{{PAGENAME}}}}</includeonly><noinclude>
 
<noinclude>
 
<noinclude>

Latest revision as of 14:49, 26 July 2020

{{{name}}}
Template:Planet



{{Planet
|image=
|name=
|system=
|class=
|affiliation=
}}