Difference between revisions of "Template:Planet"
Template page
m |
m |
||
Line 1: | Line 1: | ||
<div class="infobox"> | <div class="infobox"> | ||
{| | {| class="ibtable" align="right" cellpadding="3" cellspacing="0" | ||
{{#if: {{{image|}}}| | {{#if: {{{image|}}}| | ||
{{!}} colspan="2" | {{!}} class="ibimage" colspan="2" style="border-top-right-radius: 13px; border-top-left-radius: 13px;" width="315px" {{!}} {{{image}}} | ||
| | {{!}}- | ||
{{!}} class="ibname" colspan="2" {{!}} '''{{{name}}}'''| | |||
{{!}} class="ibname" colspan="2" style="border-top-right-radius: 13px; border-top-left-radius: 13px;" width="315px" {{!}} '''{{{name}}}''' | |||
}} | |||
|- | |- | ||
| | | class="ibheader" colspan="2" | '''Information''' | ||
|- | |- | ||
{{#if: {{{starsystem|}}}| | {{#if: {{{starsystem|}}}| | ||
{{!}} | {{!}} class="ibleft" {{!}} Star system | ||
{{!}} | {{!}} class="ibright" {{!}} {{{starsystem}}} | ||
{{{starsystem }}}}} | }} | ||
|- | |- | ||
{{#if: {{{sector|}}}| | {{#if: {{{sector|}}}| | ||
{{!}} | {{!}} class="ibleft" {{!}} Sector | ||
{{!}} | {{!}} class="ibright" {{!}} {{{sector}}} | ||
{{{sector}}}}} | }} | ||
|- | |- | ||
{{#if: {{{quadrant|}}}| | {{#if: {{{quadrant|}}}| | ||
{{!}} | {{!}} class="ibleft" {{!}} Quadrant | ||
{{!}} | {{!}} class="ibright" {{!}} {{{quadrant}}} | ||
{{{quadrant}}}}} | }} | ||
|- | |- | ||
{{#if: {{{class|}}}| | {{#if: {{{class|}}}| | ||
{{!}} | {{!}} class="ibleft" {{!}} Class | ||
{{!}} | {{!}} class="ibright" {{!}} {{{class}}} | ||
{{{class}}}}} | }} | ||
|- | |- | ||
{{#if: {{{satellites|}}}| | {{#if: {{{satellites|}}}| | ||
{{!}} | {{!}} class="ibleft" {{!}} Satellites | ||
{{!}} | {{!}} class="ibright" {{!}} {{{satellites}}} | ||
{{{satellites}}}}} | }} | ||
|- | |- | ||
{{#if: {{{atmosphere|}}}| | {{#if: {{{atmosphere|}}}| | ||
{{!}} | {{!}} class="ibleft" {{!}} Atmosphere | ||
{{!}} | {{!}} class="ibright" {{!}} {{{atmosphere}}} | ||
{{{atmosphere}}}}} | }} | ||
|- | |- | ||
{{#if: {{{climate|}}}| | {{#if: {{{climate|}}}| | ||
{{!}} | {{!}} class="ibleft" {{!}} Climate | ||
{{!}} | {{!}} class="ibright" {{!}} {{{climate}}} | ||
{{{climate}}}}} | }} | ||
|- | |- | ||
{{#if: {{{hydrosphere|}}}| | {{#if: {{{hydrosphere|}}}| | ||
{{!}} | {{!}} class="ibleft" {{!}} Hydrosphere | ||
{{!}} | {{!}} class="ibright" {{!}} {{{hydrosphere}}} | ||
{{{hydrosphere}}}}} | }} | ||
|- | |- | ||
{{#if: {{{affiliation|}}}| | {{#if: {{{affiliation|}}}| | ||
{{!}} | {{!}} class="ibleft" {{!}} Affiliation | ||
{{!}} | {{!}} class="ibright" {{!}} {{{affiliation}}} | ||
{{{affiliation}}}}} | }} | ||
|- | |- | ||
{{#if: {{{natives|}}}| | {{#if: {{{natives|}}}| | ||
{{!}} | {{!}} class="ibleft" {{!}} Natives | ||
{{!}} | {{!}} class="ibright" {{!}} {{{natives}}} | ||
{{{natives}}}}} | }} | ||
|- | |- | ||
{{#if: {{{population|}}}| | {{#if: {{{population|}}}| | ||
{{!}} | {{!}} class="ibleft" {{!}} Population | ||
{{!}} | {{!}} class="ibright" {{!}} {{{population}}} | ||
{{{population}}}}} | }} | ||
|- | |- | ||
{{#if: {{{capital|}}}| | {{#if: {{{capital|}}}| | ||
{{!}} | {{!}} class="ibleft" {{!}} Capital(s) | ||
{{!}} | {{!}} class="ibright" {{!}} {{{capital}}} | ||
{{{capital}}}}} | }} | ||
| | | class="ibheader" colspan="2" style="border-bottom-right-radius: 13px; border-bottom-left-radius: 13px;" | [[Template:Planet]] | ||
|}</div> | |}</div> | ||
<includeonly>[[Category:Planets]]{{DEFAULTSORT:{{ | <includeonly> | ||
{{#if: {{{templatemode|}}}|<!-- do nothing -->|<!--else-->[[Category:Planets]]{{DEFAULTSORT:{{{name}}}}} | |||
{{#switch:{{{quadrant|}}} | |||
|Alpha | |Alpha | ||
|[[Alpha Quadrant]] | |[[Alpha Quadrant]] | ||
|Alpha Quadrant = {{#if:{{ | |Alpha Quadrant = {{#if:{{quadrant}} | | [[Category:Alpha Quadrant Astrometrics Database]]}} | ||
|Beta | |Beta | ||
|[[Beta Quadrant]] | |[[Beta Quadrant]] | ||
|Beta Quadrant = {{#if:{{ | |Beta Quadrant = {{#if:{{quadrant}} | | [[Category:Beta Quadrant Astrometrics Database]]}} | ||
|Gamma | |Gamma | ||
|[[Gamma Quadrant]] | |[[Gamma Quadrant]] | ||
|Gamma Quadrant = {{#if:{{ | |Gamma Quadrant = {{#if:{{quadrant}} | | [[Category:Gamma Quadrant Astrometrics Database]]}} | ||
|Delta | |Delta | ||
|[[Delta Quadrant]] | |[[Delta Quadrant]] | ||
| [[Delta Quadrant]] | | [[Delta Quadrant]] | ||
|Delta Quadrant = {{#if:{{ | |Delta Quadrant = {{#if:{{quadrant}} | | [[Category:Delta Quadrant Astrometrics Database]]}} | ||
}} | }} | ||
{{#switch:{{{affiliation|}}} | |||
|Federation | |Federation | ||
|[[Federation]] | |[[Federation]] | ||
|United Federation of Planets | |United Federation of Planets | ||
|UFP | |UFP | ||
|[[United Federation of Planets]] = {{#if:{{ | |[[United Federation of Planets]] = {{#if:{{affiliation}} | | [[Category:Federation Astrometrics]]}} | ||
|Breen | |Breen | ||
|[[Breen Confederacy]] | |[[Breen Confederacy]] | ||
|Breen Confederacy | |Breen Confederacy | ||
|Breen = {{#if:{{ | |Breen = {{#if:{{affiliation}} | | [[Category:Breen Astrometrics]]}} | ||
|Cardassian | |Cardassian | ||
|Cardassia | |Cardassia | ||
Line 101: | Line 103: | ||
|[[Cardassia]] | |[[Cardassia]] | ||
|[[Cardassian Union]] | |[[Cardassian Union]] | ||
|[[Cardassian]] = {{#if:{{ | |[[Cardassian]] = {{#if:{{affiliation}} | | [[Category:Cardassian Astrometrics]]}} | ||
|Dominion | |Dominion | ||
|The Dominion | |The Dominion | ||
|[[Dominion]] | |[[Dominion]] | ||
|[[The Dominion]] = {{#if:{{ | |[[The Dominion]] = {{#if:{{affiliation}} | | [[Category:Dominion Astrometrics]]}} | ||
|Gorn | |Gorn | ||
|Gorn Hegemony | |Gorn Hegemony | ||
|[Gorn Hegemony]] = {{#if:{{ | |[Gorn Hegemony]] = {{#if:{{affiliation}} | | [[Category:Gorn Astrometrics]]}} | ||
|Tzenkethi | |Tzenkethi | ||
|Tzenkethi Coalition | |Tzenkethi Coalition | ||
|[Tzenkethi Coalition]] = {{#if:{{ | |[Tzenkethi Coalition]] = {{#if:{{affiliation}} | | [[Category:Tzenkethi Astrometrics]]}} | ||
|Kzinti | |Kzinti | ||
|Kzinti Patriarchy | |Kzinti Patriarchy | ||
|[Kzinti Patriarchy]] = {{#if:{{ | |[Kzinti Patriarchy]] = {{#if:{{affiliation}} | | [[Category:Kzinti Astrometrics]]}} | ||
|Ferengi | |Ferengi | ||
|Ferengi Alliance | |Ferengi Alliance | ||
|[Ferengi Alliance]] = {{#if:{{ | |[Ferengi Alliance]] = {{#if:{{affiliation}} | | [[Category:Ferengi Astrometrics]]}} | ||
|Klingon | |Klingon | ||
|Klingon Empire | |Klingon Empire | ||
|[[Klingon]] | |[[Klingon]] | ||
|[[Klingon Empire]] = {{#if:{{ | |[[Klingon Empire]] = {{#if:{{affiliation}} | | [[Category:Klingon Astrometrics]]}} | ||
|Sheliak | |Sheliak | ||
|Sheliak Corporate | |Sheliak Corporate | ||
|[Sheliak Corporate]] = {{#if:{{ | |[Sheliak Corporate]] = {{#if:{{affiliation}} | | [[Category:Sheliak Astrometrics]]}} | ||
|Talarian | |Talarian | ||
|Talarian Empire | |Talarian Empire | ||
|[Talarian Empire]] = {{#if:{{ | |[Talarian Empire]] = {{#if:{{affiliation}} | | [[Category:Talarian Astrometrics]]}} | ||
|Firat Federation | |Firat Federation | ||
|First Federation | |First Federation | ||
|[First Federation]] = {{#if:{{ | |[First Federation]] = {{#if:{{affiliation}} | | [[Category:First Federation Astrometrics]]}} | ||
|Independent | |Independent | ||
|Independent Planets | |Independent Planets | ||
|[Independent Planets]] = {{#if:{{ | |[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:{{ | |[[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 = }}