Difference between revisions of "Template:Planet"

From Emperor's Hammer Encyclopaedia Imperia
m (Added Template Category tag)
(Added data from System manual: Function, Axial Tilt, Seasonal Change, Orbit, Hydrosphere, Temperature, Starport, Tech Level)
Line 52: Line 52:
 
{{!}} class="sidebar-value" {{!}}  
 
{{!}} class="sidebar-value" {{!}}  
 
{{{lengthyear}}}}}
 
{{{lengthyear}}}}}
 +
|-
 +
{{#if: {{{orbittype|}}}|
 +
{{!}} class="sidebar-label" {{!}} Orbit Type:
 +
{{!}} class="sidebar-value" {{!}}
 +
{{{orbittype}}}}}
 
|-
 
|-
 
| colspan="2" class="sidebar-heading-subheading" | '''Physical'''
 
| colspan="2" class="sidebar-heading-subheading" | '''Physical'''
Line 64: Line 69:
 
{{!}} class="sidebar-value" {{!}}  
 
{{!}} class="sidebar-value" {{!}}  
 
{{{diameter}}}}}
 
{{{diameter}}}}}
 +
|-
 +
{{#if: {{{tilt|}}}|
 +
{{!}} class="sidebar-label" {{!}} Axial Tilt:
 +
{{!}} class="sidebar-value" {{!}}
 +
{{{tilt}}}}}
 
|-
 
|-
 
{{#if: {{{atmosphere|}}}|
 
{{#if: {{{atmosphere|}}}|
Line 69: Line 79:
 
{{!}} class="sidebar-value" {{!}}  
 
{{!}} class="sidebar-value" {{!}}  
 
{{{atmosphere}}}}}
 
{{{atmosphere}}}}}
 +
|-
 +
{{#if: {{{hydrosphere|}}}|
 +
{{!}} class="sidebar-label" {{!}} Hydrosphere:
 +
{{!}} class="sidebar-value" {{!}}
 +
{{{hydrosphere}}}}}
 
|-
 
|-
 
{{#if: {{{climate|}}}|
 
{{#if: {{{climate|}}}|
Line 74: Line 89:
 
{{!}} class="sidebar-value" {{!}}  
 
{{!}} class="sidebar-value" {{!}}  
 
{{{climate}}}}}
 
{{{climate}}}}}
 +
|-
 +
{{#if: {{{temperature|}}}|
 +
{{!}} class="sidebar-label" {{!}} Temperature:
 +
{{!}} class="sidebar-value" {{!}}
 +
{{{temperature}}}}}
 +
|-
 +
{{#if: {{{seasons|}}}|
 +
{{!}} class="sidebar-label" {{!}} Seasonal Change:
 +
{{!}} class="sidebar-value" {{!}}
 +
{{{seasons}}}}}
 
|-
 
|-
 
{{#if: {{{gravity|}}}|
 
{{#if: {{{gravity|}}}|
Line 91: Line 116:
 
|-
 
|-
 
| colspan="2" class="sidebar-heading-subheading" | '''Societal'''
 
| colspan="2" class="sidebar-heading-subheading" | '''Societal'''
 +
|-
 +
{{#if: {{{function|}}}|
 +
{{!}} class="sidebar-label" {{!}} Function:
 +
{{!}} class="sidebar-value" {{!}}
 +
{{{function}}}}}
 
|-
 
|-
 
{{#if: {{{species|}}}|
 
{{#if: {{{species|}}}|
Line 131: Line 161:
 
{{!}} class="sidebar-value" {{!}}  
 
{{!}} class="sidebar-value" {{!}}  
 
{{{affiliation}}}}}
 
{{{affiliation}}}}}
 +
|-
 +
{{#if: {{{starport|}}}|
 +
{{!}} class="sidebar-label" {{!}} Starport Type:
 +
{{!}} class="sidebar-value" {{!}}
 +
{{{starport|}}}}}
 
|-
 
|-
 
{{#if: {{{government|}}}|
 
{{#if: {{{government|}}}|
Line 136: Line 171:
 
{{!}} class="sidebar-value" {{!}}
 
{{!}} class="sidebar-value" {{!}}
 
{{{government|}}}}}
 
{{{government|}}}}}
 +
|-
 +
{{#if: {{{techlevel|}}}|
 +
{{!}} class="sidebar-label" {{!}} Technology Level:
 +
{{!}} class="sidebar-value" {{!}}
 +
{{{techlevel|}}}}}
 
|-
 
|-
 
   |colspan="2" | [[Template:Planet|[ Source ]]]
 
   |colspan="2" | [[Template:Planet|[ Source ]]]
Line 155: Line 195:
 
|lengthday=
 
|lengthday=
 
|lengthyear=
 
|lengthyear=
 +
|orbittype=
 
|class=
 
|class=
 
|diameter=
 
|diameter=
 +
|tilt=
 
|atmosphere=
 
|atmosphere=
 +
|hydrosphere=
 
|climate=
 
|climate=
 +
|temperature=
 +
|seasons=
 
|gravity=
 
|gravity=
 
|terrain=
 
|terrain=
 
|interest=
 
|interest=
 +
|function=
 
|species=
 
|species=
 
|otherspecies=
 
|otherspecies=
Line 170: Line 216:
 
|exports=
 
|exports=
 
|affiliation=
 
|affiliation=
 +
|starport=
 
|goverment=
 
|goverment=
 +
|techlevel=
 
}}
 
}}
 
</pre>
 
</pre>

Revision as of 14:17, 30 July 2022

Usage

To use: Paste the following text into the desired character article, and fill in the appropriate fields.

{{Planet
|image=
|name=
|region=
|sector=
|system=
|suns=
|moons=
|coord=
|distance=
|lengthday=
|lengthyear=
|orbittype=
|class=
|diameter=
|tilt=
|atmosphere=
|hydrosphere=
|climate=
|temperature=
|seasons=
|gravity=
|terrain=
|interest=
|function=
|species=
|otherspecies=
|language=
|population=
|cities=
|imports=
|exports=
|affiliation=
|starport=
|goverment=
|techlevel=
}}