Difference between revisions of "Template:Planet"

Template page
m
m
Line 1: Line 1:
<div class="infobox">
<div class="infobox">
{| width="315" align="right" cellpadding="3" cellspacing="0" style="border-radius:13px;margin-bottom:0;padding-left:10px;"
{| class="ibtable" align="right" cellpadding="3" cellspacing="0"
{{#if: {{{image|}}}|
{{#if: {{{image|}}}|
{{!}} colspan="2" bgcolor={{{bgcolor_value|#222222; style="border-top-right-radius: 13px; border-top-left-radius: 13px; background: #f3f3f3 !important; color: #cccccc; font-size:smaller; text-align: center;padding: 10px;"}}} {{!}} {{{image}}} }}
    {{!}} class="ibimage" colspan="2" style="border-top-right-radius: 13px; border-top-left-radius: 13px;" width="315px" {{!}} {{{image}}}
|-
    {{!}}-
| colspan="2" style="text-align: center; color: #e5e5ed; font-size:larger; background-color:#304665!important; text-align:center;padding: .3rem 1.25rem;" | '''{{{name}}}'''
    {{!}} class="ibname" colspan="2" {{!}} '''{{{name}}}'''|
        {{!}} class="ibname" colspan="2" style="border-top-right-radius: 13px; border-top-left-radius: 13px;" width="315px" {{!}} '''{{{name}}}'''
}}
|-
|-
| colspan="2" style="text-align: center; color: #e5e5ed; background-color:#2a4667c9; text-align:center; font-size:8pt; padding: 6px" | '''Basic information'''
| class="ibheader" colspan="2" | '''Information'''
|-
|-
{{#if: {{{starsystem|}}}|
{{#if: {{{starsystem|}}}|
{{!}} bgcolor={{{bgcolor_value|#222222; style="background: #e0e0e0; padding:8px 10px; color: #696969; font-size:smaller; width:40%; vertical-align:top;"}}} {{!}} Star system
{{!}} class="ibleft" {{!}} Star system
{{!}} bgcolor={{{bgcolor_value|#2B2B2B; style="background: #ececec; padding:8px 10px; color: #696969; font-size:smaller; width:60%;"}}} {{!}}  
{{!}} class="ibright" {{!}} {{{starsystem}}}
{{{starsystem }}}}}
}}
|-
|-
{{#if: {{{sector|}}}|
{{#if: {{{sector|}}}|
{{!}} bgcolor={{{bgcolor_value|#222222; style="background: #e0e0e0; padding:8px 10px; color: #696969; font-size:smaller; width:40%; vertical-align:top;"}}} {{!}} Sector
{{!}} class="ibleft" {{!}} Sector
{{!}} bgcolor={{{bgcolor_value|#2B2B2B; style="background: #ececec; padding:8px 10px; color: #696969; font-size:smaller; width:60%;"}}} {{!}}  
{{!}} class="ibright" {{!}} {{{sector}}}
{{{sector}}}}}
}}
|-
|-
{{#if: {{{quadrant|}}}|
{{#if: {{{quadrant|}}}|
{{!}} bgcolor={{{bgcolor_value|#222222; style="background: #e0e0e0; padding:8px 10px; color: #696969; font-size:smaller; width:40%; vertical-align:top;"}}} {{!}} Quadrant
{{!}} class="ibleft" {{!}} Quadrant
{{!}} bgcolor={{{bgcolor_value|#2B2B2B; style="background: #ececec; padding:8px 10px; color: #696969; font-size:smaller; width:60%;"}}} {{!}}  
{{!}} class="ibright" {{!}} {{{quadrant}}}
{{{quadrant}}}}}
}}
|-
|-
{{#if: {{{class|}}}|
{{#if: {{{class|}}}|
{{!}} bgcolor={{{bgcolor_value|#222222; style="background: #e0e0e0; padding:8px 10px; color: #696969; font-size:smaller; width:40%; vertical-align:top;"}}} {{!}} Planetary Class
{{!}} class="ibleft" {{!}} Class
{{!}} bgcolor={{{bgcolor_value|#2B2B2B; style="background: #ececec; padding:8px 10px; color: #696969; font-size:smaller; width:60%;"}}} {{!}}  
{{!}} class="ibright" {{!}} {{{class}}}
{{{class}}}}}
}}
|-
|-
{{#if: {{{satellites|}}}|
{{#if: {{{satellites|}}}|
{{!}} bgcolor={{{bgcolor_value|#222222; style="background: #e0e0e0; padding:8px 10px; color: #696969; font-size:smaller; width:40%; vertical-align:top;"}}} {{!}} Satellites
{{!}} class="ibleft" {{!}} Satellites
{{!}} bgcolor={{{bgcolor_value|#2B2B2B; style="background: #ececec; padding:8px 10px; color: #696969; font-size:smaller; width:60%;"}}} {{!}}  
{{!}} class="ibright" {{!}} {{{satellites}}}
{{{satellites}}}}}
}}
|-
|-
{{#if: {{{atmosphere|}}}|
{{#if: {{{atmosphere|}}}|
{{!}} bgcolor={{{bgcolor_value|#222222; style="background: #e0e0e0; padding:8px 10px; color: #696969; font-size:smaller; width:40%; vertical-align:top;"}}} {{!}} Atmosphere Type
{{!}} class="ibleft" {{!}} Atmosphere
{{!}} bgcolor={{{bgcolor_value|#2B2B2B; style="background: #ececec; padding:8px 10px; color: #696969; font-size:smaller; width:60%;"}}} {{!}}  
{{!}} class="ibright" {{!}} {{{atmosphere}}}
{{{atmosphere}}}}}
}}
|-
|-
{{#if: {{{climate|}}}|
{{#if: {{{climate|}}}|
{{!}} bgcolor={{{bgcolor_value|#222222; style="background: #e0e0e0; padding:8px 10px; color: #696969; font-size:smaller; width:40%; vertical-align:top;"}}} {{!}} Climate
{{!}} class="ibleft" {{!}} Climate
{{!}} bgcolor={{{bgcolor_value|#2B2B2B; style="background: #ececec; padding:8px 10px; color: #696969; font-size:smaller; width:60%;"}}} {{!}}  
{{!}} class="ibright" {{!}} {{{climate}}}
{{{climate}}}}}
}}
|-
|-
{{#if: {{{hydrosphere|}}}|
{{#if: {{{hydrosphere|}}}|
{{!}} bgcolor={{{bgcolor_value|#222222; style="background: #e0e0e0; padding:8px 10px; color: #696969; font-size:smaller; width:40%; vertical-align:top;"}}} {{!}} Hydrosphere
{{!}} class="ibleft" {{!}} Hydrosphere
{{!}} bgcolor={{{bgcolor_value|#2B2B2B; style="background: #ececec; padding:8px 10px; color: #696969; font-size:smaller; width:60%;"}}} {{!}}  
{{!}} class="ibright" {{!}} {{{hydrosphere}}}
{{{hydrosphere}}}}}
}}
|-
|-
{{#if: {{{affiliation|}}}|
{{#if: {{{affiliation|}}}|
{{!}} bgcolor={{{bgcolor_value|#222222; style="background: #e0e0e0; padding:8px 10px; color: #696969; font-size:smaller; width:40%; vertical-align:top;"}}} {{!}} Affiliation
{{!}} class="ibleft" {{!}} Affiliation
{{!}} bgcolor={{{bgcolor_value|#2B2B2B; style="background: #ececec; padding:8px 10px; color: #696969; font-size:smaller; width:60%;"}}} {{!}}  
{{!}} class="ibright" {{!}} {{{affiliation}}}
{{{affiliation}}}}}
}}
|-
|-
{{#if: {{{natives|}}}|
{{#if: {{{natives|}}}|
{{!}} bgcolor={{{bgcolor_value|#222222; style="background: #e0e0e0; padding:8px 10px; color: #696969; font-size:smaller; width:40%; vertical-align:top;"}}} {{!}} Natives
{{!}} class="ibleft" {{!}} Natives
{{!}} bgcolor={{{bgcolor_value|#2B2B2B; style="background: #ececec; padding:8px 10px; color: #696969; font-size:smaller; width:60%;"}}} {{!}}  
{{!}} class="ibright" {{!}} {{{natives}}}
{{{natives}}}}}
}}
|-
|-
{{#if: {{{population|}}}|
{{#if: {{{population|}}}|
{{!}} bgcolor={{{bgcolor_value|#222222; style="background: #e0e0e0; padding:8px 10px; color: #696969; font-size:smaller; width:40%; vertical-align:top;"}}} {{!}} Population
{{!}} class="ibleft" {{!}} Population
{{!}} bgcolor={{{bgcolor_value|#2B2B2B; style="background: #ececec; padding:8px 10px; color: #696969; font-size:smaller; width:60%;"}}} {{!}}  
{{!}} class="ibright" {{!}} {{{population}}}
{{{population}}}}}
}}
|-
|-
{{#if: {{{capital|}}}|
{{#if: {{{capital|}}}|
{{!}} bgcolor={{{bgcolor_value|#222222; style="background: #e0e0e0; padding:8px 10px; color: #696969; font-size:smaller; width:40%; vertical-align:top;"}}} {{!}} Capital(s)
{{!}} class="ibleft" {{!}} Capital(s)
{{!}} bgcolor={{{bgcolor_value|#2B2B2B; style="background: #ececec; padding:8px 10px; color: #696969; font-size:smaller; width:60%;"}}} {{!}}  
{{!}} class="ibright" {{!}} {{{capital}}}
{{{capital}}}}}
}}
|- class="infobox-link" style="border-radius-bottom-right: 13px; border-radius-bottom-left: 13px;"
| class="ibheader" colspan="2" style="border-bottom-right-radius: 13px; border-bottom-left-radius: 13px;" | [[Template:Planet]]
| colspan="2" style="border-bottom-right-radius: 13px; border-bottom-left-radius: 13px; text-align: center; color: #F67F00; font-size: 8pt; background-color:#2a4667c9; text-align:center;padding: 6px 0;" | [[Template:Planet]]
|}</div>
|}</div>
<includeonly>[[Category:Planets]]{{DEFAULTSORT:{{PAGENAME}}}}</includeonly>
<includeonly>
<includeonly>{{#switch:{{{quadrant|}}}   
{{#if: {{{templatemode|}}}|<!-- do nothing -->|<!--else-->[[Category:Planets]]{{DEFAULTSORT:{{{name}}}}}
{{#switch:{{{quadrant|}}}   
   |Alpha
   |Alpha
   |[[Alpha Quadrant]]
   |[[Alpha Quadrant]]
   |Alpha Quadrant      = {{#if:{{NAMESPACE}} | | [[Category:Alpha Quadrant Astrometrics Database]]}}
   |Alpha Quadrant      = {{#if:{{quadrant}} | | [[Category:Alpha Quadrant Astrometrics Database]]}}
   |Beta
   |Beta
   |[[Beta Quadrant]]
   |[[Beta Quadrant]]
   |Beta Quadrant      = {{#if:{{NAMESPACE}} | | [[Category:Beta Quadrant Astrometrics Database]]}}
   |Beta Quadrant      = {{#if:{{quadrant}} | | [[Category:Beta Quadrant Astrometrics Database]]}}
   |Gamma
   |Gamma
   |[[Gamma Quadrant]]
   |[[Gamma Quadrant]]
   |Gamma Quadrant      = {{#if:{{NAMESPACE}} | | [[Category:Gamma Quadrant Astrometrics Database]]}}
   |Gamma Quadrant      = {{#if:{{quadrant}} | | [[Category:Gamma Quadrant Astrometrics Database]]}}
   |Delta
   |Delta
   |[[Delta Quadrant]]
   |[[Delta Quadrant]]
   | [[Delta Quadrant]]
   | [[Delta Quadrant]]
   |Delta Quadrant      = {{#if:{{NAMESPACE}} | | [[Category:Delta Quadrant Astrometrics Database]]}}
   |Delta Quadrant      = {{#if:{{quadrant}} | | [[Category:Delta Quadrant Astrometrics Database]]}}
}}
}}
</includeonly><includeonly>{{#switch:{{{affiliation|}}}   
{{#switch:{{{affiliation|}}}   
   |Federation
   |Federation
   |[[Federation]]
   |[[Federation]]
   |United Federation of Planets
   |United Federation of Planets
   |UFP
   |UFP
   |[[United Federation of Planets]]      = {{#if:{{NAMESPACE}} | | [[Category:Federation Astrometrics]]}}
   |[[United Federation of Planets]]      = {{#if:{{affiliation}} | | [[Category:Federation Astrometrics]]}}
   |Breen
   |Breen
   |[[Breen Confederacy]]
   |[[Breen Confederacy]]
   |Breen Confederacy
   |Breen Confederacy
   |Breen      = {{#if:{{NAMESPACE}} | | [[Category:Breen Astrometrics]]}}
   |Breen      = {{#if:{{affiliation}} | | [[Category:Breen Astrometrics]]}}
   |Cardassian
   |Cardassian
   |Cardassia
   |Cardassia
Line 101: Line 103:
   |[[Cardassia]]
   |[[Cardassia]]
   |[[Cardassian Union]]
   |[[Cardassian Union]]
   |[[Cardassian]]      = {{#if:{{NAMESPACE}} | | [[Category:Cardassian Astrometrics]]}}
   |[[Cardassian]]      = {{#if:{{affiliation}} | | [[Category:Cardassian Astrometrics]]}}
   |Dominion
   |Dominion
   |The Dominion
   |The Dominion
   |[[Dominion]]
   |[[Dominion]]
   |[[The Dominion]]    = {{#if:{{NAMESPACE}} | | [[Category:Dominion Astrometrics]]}}
   |[[The Dominion]]    = {{#if:{{affiliation}} | | [[Category:Dominion Astrometrics]]}}
   |Gorn
   |Gorn
   |Gorn Hegemony
   |Gorn Hegemony
   |[Gorn Hegemony]]  = {{#if:{{NAMESPACE}} | | [[Category:Gorn Astrometrics]]}}
   |[Gorn Hegemony]]  = {{#if:{{affiliation}} | | [[Category:Gorn Astrometrics]]}}
   |Tzenkethi
   |Tzenkethi
   |Tzenkethi Coalition
   |Tzenkethi Coalition
   |[Tzenkethi Coalition]]  = {{#if:{{NAMESPACE}} | | [[Category:Tzenkethi Astrometrics]]}}
   |[Tzenkethi Coalition]]  = {{#if:{{affiliation}} | | [[Category:Tzenkethi Astrometrics]]}}
   |Kzinti
   |Kzinti
   |Kzinti Patriarchy
   |Kzinti Patriarchy
   |[Kzinti Patriarchy]]  = {{#if:{{NAMESPACE}} | | [[Category:Kzinti Astrometrics]]}}
   |[Kzinti Patriarchy]]  = {{#if:{{affiliation}} | | [[Category:Kzinti Astrometrics]]}}
   |Ferengi
   |Ferengi
   |Ferengi Alliance
   |Ferengi Alliance
   |[Ferengi Alliance]]  = {{#if:{{NAMESPACE}} | | [[Category:Ferengi Astrometrics]]}}
   |[Ferengi Alliance]]  = {{#if:{{affiliation}} | | [[Category:Ferengi Astrometrics]]}}
   |Klingon
   |Klingon
   |Klingon Empire
   |Klingon Empire
   |[[Klingon]]
   |[[Klingon]]
   |[[Klingon Empire]]    = {{#if:{{NAMESPACE}} | | [[Category:Klingon Astrometrics]]}}
   |[[Klingon Empire]]    = {{#if:{{affiliation}} | | [[Category:Klingon Astrometrics]]}}
   |Sheliak
   |Sheliak
   |Sheliak Corporate
   |Sheliak Corporate
   |[Sheliak Corporate]]  = {{#if:{{NAMESPACE}} | | [[Category:Sheliak Astrometrics]]}}
   |[Sheliak Corporate]]  = {{#if:{{affiliation}} | | [[Category:Sheliak Astrometrics]]}}
   |Talarian
   |Talarian
   |Talarian Empire
   |Talarian Empire
   |[Talarian Empire]]  = {{#if:{{NAMESPACE}} | | [[Category:Talarian Astrometrics]]}}
   |[Talarian Empire]]  = {{#if:{{affiliation}} | | [[Category:Talarian Astrometrics]]}}
   |Firat Federation
   |Firat Federation
   |First Federation
   |First Federation
   |[First Federation]]  = {{#if:{{NAMESPACE}} | | [[Category:First Federation Astrometrics]]}}
   |[First Federation]]  = {{#if:{{affiliation}} | | [[Category:First Federation Astrometrics]]}}
   |Independent
   |Independent
   |Independent Planets
   |Independent Planets
   |[Independent Planets]]  = {{#if:{{NAMESPACE}} | | [[Category:Independent Astrometrics]]}}
   |[Independent Planets]]  = {{#if:{{affiliation}} | | [[Category:Independent Astrometrics]]}}
   |Romulan
   |Romulan
   |Romulan Star Empire
   |Romulan Star Empire
Line 139: Line 141:
   |[[Romulan]]
   |[[Romulan]]
   |[[Romulan Empire]]
   |[[Romulan Empire]]
   |[[Romulan Star Empire]]    = {{#if:{{NAMESPACE}} | | [[Category:Romulan Astrometrics]]}}
   |[[Romulan Star Empire]]    = {{#if:{{affiliation}} | | [[Category:Romulan Astrometrics]]}}
}}
}}
}}
</includeonly><noinclude>
</includeonly><noinclude>

Revision as of 03:45, 12 June 2022

{{{name}}}
Information
Template:Planet


{{Planet
| name = 
| image = 
| starsystem =
| sector = 
| quadrant = 
| class =
| satellites =
| atmosphere = 
| climate = 
| hydrosphere = 
| affiliation = 
| natives = 
| population = 
| capital = 
}}