Template:Planet: Difference between revisions

From Wikipedia of the Dark Brotherhood, an online Star Wars Club
No edit summary
mNo edit summary
 
(10 intermediate revisions by 4 users not shown)
Line 1: Line 1:
{| class="infoboxtemp" width="250" align="right" cellpadding="3" cellspacing="0"
|-
{{#if: {{{image|}}}|
{{!}} class="infoboximage" colspan="2" bgcolor={{{bgcolor_value|#222222;}}} {{!}} {{{image}}} }}
|-
| class="name system" colspan="2" | '''{{{name}}}'''
|-
| class="header system" colspan="2" | '''Astrographical'''
|-
{{#if: {{{region|}}}|
{{!}} class="infoboxinfoheader" bgcolor={{{bgcolor_value|#222222;}}} {{!}} Region:
{{!}} class="infoboxinfodata" bgcolor={{{bgcolor_value|#2B2B2B;}}} {{!}}
{{{region}}}}}
|-
{{#if: {{{sector|}}}|
{{!}} class="infoboxinfoheader" bgcolor={{{bgcolor_value|#222222;}}} {{!}} Sector:
{{!}} class="infoboxinfodata" bgcolor={{{bgcolor_value|#2B2B2B;}}} {{!}}
{{{sector}}}}}
|-
{{#if: {{{system|}}}|
{{!}} class="infoboxinfoheader" bgcolor={{{bgcolor_value|#222222;}}} {{!}}System:
{{!}} class="infoboxinfodata" bgcolor={{{bgcolor_value|#2B2B2B;}}} {{!}}
{{{system}}}}}
|-
{{#if: {{{suns|}}}|
{{!}} class="infoboxinfoheader" bgcolor={{{bgcolor_value|#222222;}}} {{!}} Suns:
{{!}} class="infoboxinfodata" bgcolor={{{bgcolor_value|#2B2B2B;}}} {{!}}
{{{suns}}}}}
|-
{{#if: {{{moons|}}}|
{{!}} class="infoboxinfoheader" bgcolor={{{bgcolor_value|#222222;}}} {{!}} Moons:
{{!}} class="infoboxinfodata" bgcolor={{{bgcolor_value|#2B2B2B;}}} {{!}}
{{{moons}}}}}
|-
{{#if: {{{coord|}}}|
{{!}} class="infoboxinfoheader" bgcolor={{{bgcolor_value|#222222;}}} {{!}} Coordinates:
{{!}} class="infoboxinfodata" bgcolor={{{bgcolor_value|#2B2B2B;}}} {{!}}
{{{coord}}}}}
|-
{{#if: {{{distance|}}}|
{{!}} class="infoboxinfoheader" bgcolor={{{bgcolor_value|#222222;}}} {{!}} Distance from Core:
{{!}} class="infoboxinfodata" bgcolor={{{bgcolor_value|#2B2B2B;}}} {{!}}
{{{distance}}}}}
|-
{{#if: {{{lengthday|}}}|
{{!}} class="infoboxinfoheader" bgcolor={{{bgcolor_value|#222222;}}} {{!}} Rotation period:
{{!}} class="infoboxinfodata" bgcolor={{{bgcolor_value|#2B2B2B;}}} {{!}}
{{{lengthday}}}}}
|-
{{#if: {{{lengthyear|}}}|
{{!}} class="infoboxinfoheader" bgcolor={{{bgcolor_value|#222222;}}} {{!}} Orbital period:
{{!}} class="infoboxinfodata" bgcolor={{{bgcolor_value|#2B2B2B;}}} {{!}}
{{{lengthyear}}}}}
|-
| class="header system" colspan="2" | '''Physical'''
|-
{{#if: {{{class|}}}|
{{!}} class="infoboxinfoheader" bgcolor={{{bgcolor_value|#222222;}}} {{!}} Class:
{{!}} class="infoboxinfodata" bgcolor={{{bgcolor_value|#2B2B2B;}}} {{!}}
{{{class}}}}}
|-
{{#if: {{{diameter|}}}|
{{!}} class="infoboxinfoheader" bgcolor={{{bgcolor_value|#222222;}}} {{!}} Diameter:
{{!}} class="infoboxinfodata" bgcolor={{{bgcolor_value|#2B2B2B;}}} {{!}}
{{{diameter}}}}}
|-
{{#if: {{{atmosphere|}}}|
{{!}} class="infoboxinfoheader" bgcolor={{{bgcolor_value|#222222;}}} {{!}} Atmosphere:
{{!}} class="infoboxinfodata" bgcolor={{{bgcolor_value|#2B2B2B;}}} {{!}}
{{{atmosphere}}}}}
|-
{{#if: {{{climate|}}}|
{{!}} class="infoboxinfoheader" bgcolor={{{bgcolor_value|#222222;}}} {{!}} Climates:
{{!}} class="infoboxinfodata" bgcolor={{{bgcolor_value|#2B2B2B;}}} {{!}}
{{{climate}}}}}
|-
{{#if: {{{gravity|}}}|
{{!}} class="infoboxinfoheader" bgcolor={{{bgcolor_value|#222222;}}} {{!}} Gravity:
{{!}} class="infoboxinfodata" bgcolor={{{bgcolor_value|#2B2B2B;}}} {{!}}
{{{gravity}}}}}
|-
{{#if: {{{terrain|}}}|
{{!}} class="infoboxinfoheader" bgcolor={{{bgcolor_value|#222222;}}} {{!}} Primary Terrain:
{{!}} class="infoboxinfodata" bgcolor={{{bgcolor_value|#2B2B2B;}}} {{!}}
{{{terrain}}}}}
|-
{{#if: {{{water|}}}|
{{!}} class="infoboxinfoheader" bgcolor={{{bgcolor_value|#222222;}}} {{!}} Surface Water:
{{!}} class="infoboxinfodata" bgcolor={{{bgcolor_value|#2B2B2B;}}} {{!}}
{{{water}}}}}
|-
{{#if: {{{interest|}}}|
{{!}} class="infoboxinfoheader" bgcolor={{{bgcolor_value|#222222;}}} {{!}} Points of interest:
{{!}} class="infoboxinfodata" bgcolor={{{bgcolor_value|#2B2B2B;}}} {{!}}
{{{interest}}}}}
|-
| class="header system" colspan="2" | '''Societal'''
|-
{{#if: {{{species|}}}|
{{!}} class="infoboxinfoheader" bgcolor={{{bgcolor_value|#222222;}}} {{!}} Native species:
{{!}} class="infoboxinfodata" bgcolor={{{bgcolor_value|#2B2B2B;}}} {{!}}
{{{species}}}}}
|-
{{#if: {{{otherspecies|}}}|
{{!}} class="infoboxinfoheader" bgcolor={{{bgcolor_value|#222222;}}} {{!}} Immigrated species:
{{!}} class="infoboxinfodata" bgcolor={{{bgcolor_value|#2B2B2B;}}} {{!}}
{{{otherspecies}}}}}
|-
{{#if: {{{language|}}}|
{{!}} class="infoboxinfoheader" bgcolor={{{bgcolor_value|#222222;}}} {{!}} Primary language(s):
{{!}} class="infoboxinfodata" bgcolor={{{bgcolor_value|#2B2B2B;}}} {{!}}
{{{language}}}}}
|-
{{#if: {{{population|}}}|
{{!}} class="infoboxinfoheader" bgcolor={{{bgcolor_value|#222222;}}} {{!}} Population:
{{!}} class="infoboxinfodata" bgcolor={{{bgcolor_value|#2B2B2B;}}} {{!}}
{{{population}}}}}
|-
{{#if: {{{government|}}}|
{{!}} class="infoboxinfoheader" bgcolor={{{bgcolor_value|#222222;}}} {{!}} Government:
{{!}} class="infoboxinfodata" bgcolor={{{bgcolor_value|#2B2B2B;}}} {{!}}
{{{government}}}}}
|-
{{#if: {{{cities|}}}|
{{!}} class="infoboxinfoheader" bgcolor={{{bgcolor_value|#222222;}}} {{!}} Major cities:
{{!}} class="infoboxinfodata" bgcolor={{{bgcolor_value|#2B2B2B;}}} {{!}}
{{{cities}}}}}
|-
{{#if: {{{locations|}}}|
{{!}} class="infoboxinfoheader" bgcolor={{{bgcolor_value|#222222;}}} {{!}} Notable locations:
{{!}} class="infoboxinfodata" bgcolor={{{bgcolor_value|#2B2B2B;}}} {{!}}
{{{locations}}}}}
|-
{{#if: {{{imports|}}}|
{{!}} class="infoboxinfoheader" bgcolor={{{bgcolor_value|#222222;}}} {{!}} Major imports:
{{!}} class="infoboxinfodata" bgcolor={{{bgcolor_value|#2B2B2B;}}} {{!}}
{{{imports}}}}}
|-
{{#if: {{{exports|}}}|
{{!}} class="infoboxinfoheader" bgcolor={{{bgcolor_value|#222222;}}} {{!}} Major exports:
{{!}} class="infoboxinfodata" bgcolor={{{bgcolor_value|#2B2B2B;}}} {{!}}
{{{exports}}}}}
|-
{{#if: {{{affiliation|}}}|
{{!}} class="infoboxinfoheader" bgcolor={{{bgcolor_value|#222222;}}} {{!}} Affiliation:
{{!}} class="infoboxinfodata" bgcolor={{{bgcolor_value|#2B2B2B;}}} {{!}}
{{{affiliation}}}}}
|-
{{#if: {{{item|}}}|
{{!}} class="infoboxinfoheader" bgcolor={{{bgcolor_value|#222222;}}} {{!}} Possession Item:
{{!}} class="infoboxinfodata" bgcolor={{{bgcolor_value|#2B2B2B;}}} {{!}}
{{{item}}}}}
|-
|class="infoboxfooter system" colspan="2" | {{Link color|Template:Planet|#C0C08F|[ Source ]}}
|}
<noinclude>
== Usage ==
To use: Paste the following text into the desired character article, and fill in the appropriate fields.
<pre>
{{Planet
{{Planet
|image=
|image=
|name=  
|name=
|region=
|region=
|sector=
|sector=
|system=
|system=
|suns=  
|suns=
|moons=  
|moons=
|coord=
|coord=
|distance=
|distance=
Line 16: Line 175:
|climate=
|climate=
|gravity=
|gravity=
|terrain=  
|terrain=
|water=
|interest=
|interest=
|species=  
|species=
|otherspecies=  
|otherspecies=
|language=  
|language=
|population=  
|population=
|cities=  
|cities=
|imports=  
|locations=
|exports=  
|government=
|imports=
|exports=
|affiliation=
|affiliation=
}}
|item=}}
</pre>
[[Category:Infobox templates|{{PAGENAME}}]]</noinclude>

Latest revision as of 10:37, 4 December 2021

{{{name}}}
Astrographical
Physical
Societal
[ Source ]

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=
|class=
|diameter=
|atmosphere=
|climate=
|gravity=
|terrain=
|water=
|interest=
|species=
|otherspecies=
|language=
|population=
|cities=
|locations=
|government=
|imports=
|exports=
|affiliation=
|item=}}