Template:Geographic location: Difference between revisions

From Wikipedia of the Dark Brotherhood, an online Star Wars Club
No edit summary
mNo edit summary
 
(12 intermediate revisions by 4 users not shown)
Line 1: Line 1:
<table border="0" cellspacing="0" cellpadding="0" style="float:right; clear:right; margin: 0 0 .5em 1em; width:250px; background:#ffffff; border-collapse:collapse; border:1px solid #999999; font-size:smaller; line-height:1.5;">
{| class="infoboxtemp"  width="250" align="right" cellpadding="3" cellspacing="0"
<tr><td colspan="2"><div id="infoboxinternal">
|-
<table border="0" cellspacing="0" cellpadding="4" style="float:right; margin:0 0 0 0; width:100%; background:#ffffff; border-collapse:collapse;">
{{#if: {{{image|}}}|
<tr style="text-align:center;"><td colspan="2" style="padding:0; background:#996;">{{{image|}}}</td></tr>
{{!}}  class="infoboximage" colspan="2" {{!}} {{{image}}}}}
<tr style="text-align:center; color:#ffffff; background:#996; font-size:larger;"><th colspan="2">{{{name}}}</th></tr> {{t|1=|1{{{hidea|}}}=<tr><th colspan="2" style="text-align:left; font-weight:normal; background:#ddb;">'''Geographical'''</th></tr>}} {{t|1=<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background: {{{3|#f0f0f0}}}"><td style="border-top: 1px solid #999; border-bottom: 1px solid #999;">Planet</td><td class="infoboxcell" style="border-top: 1px solid #999; border-bottom: 1px solid #999;">
|-
{{{Planet|}}}
| colspan="2" class="name system" | '''{{{name}}}'''
</td></tr>|1{{{Planet|}}}=}} {{t|1=<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background: {{{3|#f0f0f0}}}"><td style="border-top: 1px solid #999; border-bottom: 1px solid #999;">Coordinates</td><td class="infoboxcell" style="border-top: 1px solid #999; border-bottom: 1px solid #999;">
|-
{{{coord|}}}
| colspan="2" class="header system" | '''Geographical'''
</td></tr>|1{{{coord|}}}=}} {{t|1=<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background: {{{3|#f0f0f0}}}"><td style="border-top: 1px solid #999; border-bottom: 1px solid #999;">System</td><td class="infoboxcell" style="border-top: 1px solid #999; border-bottom: 1px solid #999;">
|-
{{{system|}}}
{{#if: {{{planet|}}}|
</td></tr>|1{{{system|}}}=}} {{t|1=<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background: {{{3|#f0f0f0}}}"><td style="border-top: 1px solid #999; border-bottom: 1px solid #999;">Suns</td><td class="infoboxcell" style="border-top: 1px solid #999; border-bottom: 1px solid #999;">
{{!}} class="infoboxinfoheader" {{!}} Planet:
{{{suns|}}}
{{!}} class="infoboxinfodata" {{!}}
</td></tr>|1{{{suns|}}}=}} {{t|1=<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background: {{{3|#f0f0f0}}}"><td style="border-top: 1px solid #999; border-bottom: 1px solid #999;">Moons</td><td class="infoboxcell" style="border-top: 1px solid #999; border-bottom: 1px solid #999;">
{{{planet}}}}}
{{{moons|}}}
|-
</td></tr>|1{{{moons|}}}=}} {{t|1=<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background: {{{3|#f0f0f0}}}"><td style="border-top: 1px solid #999; border-bottom: 1px solid #999;">Coordinates</td><td class="infoboxcell" style="border-top: 1px solid #999; border-bottom: 1px solid #999;">
{{#if: {{{coord|}}}|
{{{coord|}}}
{{!}} class="infoboxinfoheader" {{!}} Coordinates:
</td></tr>|1{{{coord|}}}=}} {{t|1=<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background: {{{3|#f0f0f0}}}"><td style="border-top: 1px solid #999; border-bottom: 1px solid #999;">Distance&nbsp;from&nbsp;Core</td><td class="infoboxcell" style="border-top: 1px solid #999; border-bottom: 1px solid #999;">
{{!}} class="infoboxinfodata" {{!}}
{{{distance|}}}
{{{coord}}}}}
</td></tr>|1{{{distance|}}}=}} {{t|1=<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background: {{{3|#f0f0f0}}}"><td style="border-top: 1px solid #999; border-bottom: 1px solid #999;">Rotation&nbsp;period</td><td class="infoboxcell" style="border-top: 1px solid #999; border-bottom: 1px solid #999;">
|-
{{{lengthday|}}}
{{#if: {{{kilometers|}}}|
</td></tr>|1{{{lengthday|}}}=}} {{t|1=<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background: {{{3|#f0f0f0}}}"><td style="border-top: 1px solid #999; border-bottom: 1px solid #999;">Orbital&nbsp;period</td><td class="infoboxcell" style="border-top: 1px solid #999; border-bottom: 1px solid #999;">
{{!}} class="infoboxinfoheader" {{!}} Size (Square Kilometers):
{{{lengthyear|}}}
{{!}} class="infoboxinfodata" {{!}}
</td></tr>|1{{{lengthyear|}}}=}} {{t|1=|1{{{hidep|}}}=<tr><th colspan="2" style="text-align:left; font-weight:normal; background:#ddb;">'''Physical'''</th></tr>}} {{t|1=<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background: {{{3|#f0f0f0}}}"><td style="border-top: 1px solid #999; border-bottom: 1px solid #999;">Class</td><td class="infoboxcell" style="border-top: 1px solid #999; border-bottom: 1px solid #999;">
{{{kilometers}}}}}
{{{class|}}}
|-
</td></tr>|1{{{class|}}}=}} {{t|1=<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background: {{{3|#f0f0f0}}}"><td style="border-top: 1px solid #999; border-bottom: 1px solid #999;">Diameter</td><td class="infoboxcell" style="border-top: 1px solid #999; border-bottom: 1px solid #999;">
{{#if: {{{climate|}}}|
{{{diameter|}}}
{{!}} class="infoboxinfoheader" {{!}} Climate:
</td></tr>|1{{{diameter|}}}=}} {{t|1=<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background: {{{3|#f0f0f0}}}"><td style="border-top: 1px solid #999; border-bottom: 1px solid #999;">Atmosphere</td><td class="infoboxcell" style="border-top: 1px solid #999; border-bottom: 1px solid #999;">
{{!}} class="infoboxinfodata" {{!}}
{{{atmosphere|}}}
{{{climate}}}}}
</td></tr>|1{{{atmosphere|}}}=}} {{t|1=<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background: {{{3|#f0f0f0}}}"><td style="border-top: 1px solid #999; border-bottom: 1px solid #999;">Climate</td><td class="infoboxcell" style="border-top: 1px solid #999; border-bottom: 1px solid #999;">
|-
{{{climate|}}}
{{#if: {{{terrain|}}}|
</td></tr>|1{{{climate|}}}=}} {{t|1=<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background: {{{3|#f0f0f0}}}"><td style="border-top: 1px solid #999; border-bottom: 1px solid #999;">Gravity</td><td class="infoboxcell" style="border-top: 1px solid #999; border-bottom: 1px solid #999;">
{{!}} class="infoboxinfoheader" {{!}} Terrain:
{{{gravity|}}}
{{!}} class="infoboxinfodata" {{!}}  
</td></tr>|1{{{gravity|}}}=}} {{t|1=<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background: {{{3|#f0f0f0}}}"><td style="border-top: 1px solid #999; border-bottom: 1px solid #999;">Primary&nbsp;terrain</td><td class="infoboxcell" style="border-top: 1px solid #999; border-bottom: 1px solid #999;">
{{{terrain}}}}}
{{{terrain|}}}
|-
</td></tr>|1{{{terrain|}}}=}} {{t|1=<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background: {{{3|#f0f0f0}}}"><td style="border-top: 1px solid #999; border-bottom: 1px solid #999;">Points&nbsp;of&nbsp;interest</td><td class="infoboxcell" style="border-top: 1px solid #999; border-bottom: 1px solid #999;">
{{#if: {{{interest|}}}|
{{{interest|}}}
{{!}} class="infoboxinfoheader" {{!}} Points of Interest:
</td></tr>|1{{{interest|}}}=}} {{t|1=|1{{{hides|}}}=<tr><th colspan="2" style="text-align:left; font-weight:normal; background:#ddb;">'''Societal'''</th></tr>}} {{t|1=<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background: {{{3|#f0f0f0}}}"><td style="border-top: 1px solid #999; border-bottom: 1px solid #999;">Native&nbsp;species</td><td class="infoboxcell" style="border-top: 1px solid #999; border-bottom: 1px solid #999;">
{{!}} class="infoboxinfodata" {{!}}  
{{{species|}}}
{{{interest}}}}}
</td></tr>|1{{{species|}}}=}} {{t|1=<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background: {{{3|#f0f0f0}}}"><td style="border-top: 1px solid #999; border-bottom: 1px solid #999;">Immigrated&nbsp;species</td><td class="infoboxcell" style="border-top: 1px solid #999; border-bottom: 1px solid #999;">
|-
{{{otherspecies|}}}
| colspan="2" class="header system" | '''Societal'''
</td></tr>|1{{{otherspecies|}}}=}} {{t|1=<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background: {{{3|#f0f0f0}}}"><td style="border-top: 1px solid #999; border-bottom: 1px solid #999;">Official&nbsp;language</td><td class="infoboxcell" style="border-top: 1px solid #999; border-bottom: 1px solid #999;">
|-
{{{language|}}}
{{#if: {{{species|}}}|
</td></tr>|1{{{language|}}}=}} {{t|1=<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background: {{{3|#f0f0f0}}}"><td style="border-top: 1px solid #999; border-bottom: 1px solid #999;">Population</td><td class="infoboxcell" style="border-top: 1px solid #999; border-bottom: 1px solid #999;">
{{!}} class="infoboxinfoheader" {{!}} Native species:
{{{population|}}}
{{!}} class="infoboxinfodata" {{!}}  
</td></tr>|1{{{population|}}}=}} {{t|1=<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background: {{{3|#f0f0f0}}}"><td style="border-top: 1px solid #999; border-bottom: 1px solid #999;">Major&nbsp;cities</td><td class="infoboxcell" style="border-top: 1px solid #999; border-bottom: 1px solid #999;">
{{{species}}}}}
{{{cities|}}}
|-
</td></tr>|1{{{cities|}}}=}} {{t|1=<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background: {{{3|#f0f0f0}}}"><td style="border-top: 1px solid #999; border-bottom: 1px solid #999;">Major&nbsp;imports</td><td class="infoboxcell" style="border-top: 1px solid #999; border-bottom: 1px solid #999;">
{{#if: {{{otherspecies|}}}|
{{{imports|}}}
{{!}} class="infoboxinfoheader" {{!}} Immigrated species:
</td></tr>|1{{{imports|}}}=}} {{t|1=<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background: {{{3|#f0f0f0}}}"><td style="border-top: 1px solid #999; border-bottom: 1px solid #999;">Major&nbsp;exports</td><td class="infoboxcell" style="border-top: 1px solid #999; border-bottom: 1px solid #999;">
{{!}} class="infoboxinfodata" {{!}}  
{{{exports|}}}
{{{otherspecies}}}}}
</td></tr>|1{{{exports|}}}=}} {{t|1=<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background: {{{3|#f0f0f0}}}"><td style="border-top: 1px solid #999; border-bottom: 1px solid #999;">Affiliation</td><td class="infoboxcell" style="border-top: 1px solid #999; border-bottom: 1px solid #999;">
|-
{{{affiliation|}}}
{{#if: {{{language|}}}|
</td></tr>|1{{{affiliation|}}}=}} </table></div></td></tr><tr><td id="infoboxend" class="plainlinks" style="text-align:right; width:49%;"></td><td style="text-align:left; width:51%;">&nbsp;&nbsp;[[Template:Planet|[Source]]]</td></tr></table><noinclude>
{{!}} class="infoboxinfoheader" {{!}} Official language:
{{clear}}
{{!}} class="infoboxinfodata" {{!}}
==Usage instructions==
{{{language}}}}}
Copy and paste the following code into the top of the article, filling the appropriate fields. Omitted or blank fields will not be shown on the article page.
|-
<pre><nowiki>
{{#if: {{{population|}}}|
{{Geographical Location
{{!}} class="infoboxinfoheader" {{!}} Population:
{{!}} class="infoboxinfodata" {{!}}  
{{{population}}}}}
|-
| colspan="2" class="header system" | '''Political'''
|-
{{#if: {{{cities|}}}|
{{!}} class="infoboxinfoheader" {{!}} Cities:
{{!}} class="infoboxinfodata" {{!}}
{{{cities}}}}}
|-
{{#if: {{{imports|}}}|
{{!}} class="infoboxinfoheader" {{!}} Imports:
{{!}} class="infoboxinfodata" {{!}}  
{{{imports}}}}}
|-
{{#if: {{{exports|}}}|
{{!}} class="infoboxinfoheader" {{!}} Exports:
{{!}} class="infoboxinfodata" {{!}}
{{{exports}}}}}
|-
{{#if: {{{affiliation|}}}|
{{!}} class="infoboxinfoheader" {{!}} Affiliation:
{{!}} class="infoboxinfodata" {{!}}  
{{{affiliation}}}}}
|-
| colspan="2" class="infoboxfooter system"  | {{Link color|Template:Geographic location|#C0C08F|[ Source ]}}
|}
<noinclude>{{Clear}}
To use: Paste the following text into the desired character article, and fill in the appropriate fields.
<pre>
{{Geographic location
|image=
|image=
|name=
|name=
|Planet=
|planet=
|coord=
|coord=
|miles=
|kilometers=
|climate=
|climate=
|terrain=
|terrain=
Line 73: Line 104:
|exports=
|exports=
|affiliation=
|affiliation=
}}</nowiki></pre>
}}
 
</pre>
===Display parameters===
[[Category:Infobox templates|{{PAGENAME}}]]</noinclude>
*hidea
*hidep
*hides
 
===Source===
<nowiki>{{subst:slh|#996|250px}} {{subst:sls|Astrographical|#ddb|hidea}} {{subst:sld|Region|region}} {{subst:sld|Sector|sector}} {{subst:sld|System|system}} {{subst:sld|Suns|suns}} {{subst:sld|Moons|moons}} {{subst:sld|Coordinates|coord}} {{subst:sld|Distance&nbsp;from&nbsp;Core|distance}} {{subst:sld|Rotation&nbsp;period|lengthday}} {{subst:sld|Orbital&nbsp;period|lengthyear}} {{subst:sls|Physical|#ddb|hidep}} {{subst:sld|Class|class}} {{subst:sld|Diameter|diameter}} {{subst:sld|Atmosphere|atmosphere}} {{subst:sld|Climate|climate}} {{subst:sld|Gravity|gravity}} {{subst:sld|Primary&nbsp;terrain|terrain}} {{subst:sld|Points&nbsp;of&nbsp;interest|interest}} {{subst:sls|Societal|#ddb|hides}} {{subst:sld|Native&nbsp;species|species}} {{subst:sld|Immigrated&nbsp;species|otherspecies}} {{subst:sld|Official&nbsp;language|language}} {{subst:sld|Population|population}} {{subst:sld|Major&nbsp;cities|cities}} {{subst:sld|Major&nbsp;imports|imports}} {{subst:sld|Major&nbsp;exports|exports}} {{subst:sld|Affiliation|affiliation}} {{subst:slf}}</nowiki>
 
[[Category:Infobox templates|Planet]]
</noinclude>

Latest revision as of 01:27, 14 February 2017

{{{name}}}
Geographical
Societal
Political
[ Source ]

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

{{Geographic location
|image=
|name=
|planet=
|coord=
|kilometers=
|climate=
|terrain=
|interest=
|species=
|otherspecies=
|language=
|population=
|cities=
|imports=
|exports=
|affiliation=
}}