Template:Planet: Difference between revisions

From 118Wiki
Jump to navigation Jump to search
mNo edit summary
 
mNo edit summary
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="toccolours" style="clear:left; float:right; margin:0 0 0.5em 1em; width:22em;"
<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;">
|colspan=2 style="text-align:center;" | {{{image}}}
<tr style="text-align:center;"><td colspan="2" style="padding:0; background:#996;">{{{image|}}}</td></tr>
|-
<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;">'''Astrographical'''</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;">Region</td><td class="infoboxcell" style="border-top: 1px solid #999; border-bottom: 1px solid #999;">
!colspan=2 bgcolor="#999999" style="color:#fff;" |{{{name}}}
{{{region|}}}
|-
</td></tr>|1{{{region|}}}=}} {{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;">Sector</td><td class="infoboxcell" style="border-top: 1px solid #999; border-bottom: 1px solid #999;">
! colspan=2 style="text-align:left; font-weight:normal; background:#cccccc;" | Astrological
{{{sector|}}}
|- style="vertical-align:top;"
</td></tr>|1{{{sector|}}}=}} {{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;">
| Region
{{{system|}}}
| {{{region}}}
</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;">
|- style="vertical-align:top; background:#f0f0f0;"
{{{suns|}}}
| Sector
</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;">
| {{{sector}}}
{{{moons|}}}
|- style="vertical-align:top;"
</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;">Rotation&nbsp;period</td><td class="infoboxcell" style="border-top: 1px solid #999; border-bottom: 1px solid #999;">
| System
{{{lengthday|}}}
| {{{system}}}
</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;">
|- style="vertical-align:top; background:#f0f0f0;"
{{{lengthyear|}}}
| Suns
</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;">
| {{{suns}}}
{{{class|}}}
|- style="vertical-align:top;"
</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;">
| Moons
{{{diameter|}}}
| {{{moons}}}
</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;">
|-
{{{atmosphere|}}}
! colspan=2 style="text-align:left; font-weight:normal; background:#cccccc;" | Physical
</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;">
|- style="vertical-align:top;"
{{{climate|}}}
| Primary 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;">
| {{{terrain}}}
{{{gravity|}}}
|- style="vertical-align:top; background:#f0f0f0;"
</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;">
| Points of interest
{{{terrain|}}}
| {{{interest}}}
</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;">
|- style="vertical-align:top;"
{{{interest|}}}
| Native species
</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;">
| {{{species}}}
{{{species|}}}
|- style="vertical-align:top; background:#f0f0f0;"
</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;">
| Other species
{{{otherspecies|}}}
| {{{otherspecies}}}
</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|}}}
! colspan=2 style="text-align:left; font-weight:normal; background:#cccccc;" | Societal
</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;">
|- style="vertical-align:top;"
{{{population|}}}
| Official langauge
</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;">
| {{{langauge}}}
{{{cities|}}}
|- style="vertical-align:top; background:#f0f0f0;"
</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;">
| Population
{{{imports|}}}
| {{{population}}}
</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;">
|- style="vertical-align:top;"
{{{exports|}}}
| Major cities
</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;">
| {{{cities}}}
{{{affiliation|}}}
|- style="vertical-align:top; background:#f0f0f0;"
</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|[Edit]]]</td></tr></table><noinclude>
| Affiliation
{{clear}}
| {{{affiliation}}}
|}
 
==Usage instructions==
==Usage instructions==
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.
Copy and paste the following code into the top of the article, filling the appropriate fields.
<pre><nowiki>
<pre><nowiki>
{{Planet
{{Planet
Line 79: Line 81:
}}</nowiki></pre>
}}</nowiki></pre>


===Display parameters===
*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|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]]
[[Category:Infobox templates|Planet]]
</noinclude>

Revision as of 20:50, 14 December 2006

{{{image}}}
{{{name}}}
Astrological
Region {{{region}}}
Sector {{{sector}}}
System {{{system}}}
Suns {{{suns}}}
Moons {{{moons}}}
Physical
Primary terrain {{{terrain}}}
Points of interest {{{interest}}}
Native species {{{species}}}
Other species {{{otherspecies}}}
Societal
Official langauge {{{langauge}}}
Population {{{population}}}
Major cities {{{cities}}}
Affiliation {{{affiliation}}}

Usage instructions

Copy and paste the following code into the top of the article, filling the appropriate fields.

{{Planet
|image=
|name=
|region=
|sector=
|system=
|suns=
|moons=
|class=
|diameter=
|atmosphere=
|climate=
|gravity=
|terrain=
|interest=
|lengthday=
|lengthyear=
|species=
|otherspecies=
|language=
|population=
|cities=
|imports=
|exports=
|affiliation=
}}