Template:Planet: Difference between revisions
No edit summary |
mNo edit summary |
||
Line 2: | Line 2: | ||
<tr><td colspan="2"><div id="infoboxinternal"> | <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;"> | <table border="0" cellspacing="0" cellpadding="4" style="float:right; margin:0 0 0 0; width:100%; background:#ffffff; border-collapse:collapse;"> | ||
<tr style="text-align:center;"><td colspan="2" style="padding:0; background:# | <tr style="text-align:center;"><td colspan="2" style="padding:0; background:#000;">{{{image|}}}</td></tr> | ||
<tr style="text-align:center; color:#ffffff; background:# | <tr style="text-align:center; color:#ffffff; background:#000; 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:#996;">'''Astrographical'''</th></tr>}} {{t|1=<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background: {{{3|#333}}}"><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;"> | ||
{{{region|}}} | {{{region|}}} | ||
</td></tr>|1{{{region|}}}=}} {{t|1=<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background: {{{3|# | </td></tr>|1{{{region|}}}=}} {{t|1=<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background: {{{3|#333}}}"><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;"> | ||
{{{sector|}}} | {{{sector|}}} | ||
</td></tr>|1{{{sector|}}}=}} {{t|1=<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background: {{{3|# | </td></tr>|1{{{sector|}}}=}} {{t|1=<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background: {{{3|#333}}}"><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|}}} | {{{system|}}} | ||
</td></tr>|1{{{system|}}}=}} {{t|1=<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background: {{{3|# | </td></tr>|1{{{system|}}}=}} {{t|1=<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background: {{{3|#333}}}"><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;"> | ||
{{{suns|}}} | {{{suns|}}} | ||
</td></tr>|1{{{suns|}}}=}} {{t|1=<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background: {{{3|# | </td></tr>|1{{{suns|}}}=}} {{t|1=<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background: {{{3|#333}}}"><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;"> | ||
{{{moons|}}} | {{{moons|}}} | ||
</td></tr>|1{{{moons|}}}=}} {{t|1=<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background: {{{3|# | </td></tr>|1{{{moons|}}}=}} {{t|1=<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background: {{{3|#333}}}"><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|}}} | {{{coord|}}} | ||
</td></tr>|1{{{coord|}}}=}} {{t|1=<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background: {{{3|# | </td></tr>|1{{{coord|}}}=}} {{t|1=<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background: {{{3|#333}}}"><td style="border-top: 1px solid #999; border-bottom: 1px solid #999;">Distance from Core</td><td class="infoboxcell" style="border-top: 1px solid #999; border-bottom: 1px solid #999;"> | ||
{{{distance|}}} | {{{distance|}}} | ||
</td></tr>|1{{{distance|}}}=}} {{t|1=<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background: {{{3|# | </td></tr>|1{{{distance|}}}=}} {{t|1=<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background: {{{3|#333}}}"><td style="border-top: 1px solid #999; border-bottom: 1px solid #999;">Rotation period</td><td class="infoboxcell" style="border-top: 1px solid #999; border-bottom: 1px solid #999;"> | ||
{{{lengthday|}}} | {{{lengthday|}}} | ||
</td></tr>|1{{{lengthday|}}}=}} {{t|1=<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background: {{{3|# | </td></tr>|1{{{lengthday|}}}=}} {{t|1=<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background: {{{3|#333}}}"><td style="border-top: 1px solid #999; border-bottom: 1px solid #999;">Orbital period</td><td class="infoboxcell" style="border-top: 1px solid #999; border-bottom: 1px solid #999;"> | ||
{{{lengthyear|}}} | {{{lengthyear|}}} | ||
</td></tr>|1{{{lengthyear|}}}=}} {{t|1=|1{{{hidep|}}}=<tr><th colspan="2" style="text-align:left; font-weight:normal; background:# | </td></tr>|1{{{lengthyear|}}}=}} {{t|1=|1{{{hidep|}}}=<tr><th colspan="2" style="text-align:left; font-weight:normal; background:#996;">'''Physical'''</th></tr>}} {{t|1=<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background: {{{3|#333}}}"><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;"> | ||
{{{class|}}} | {{{class|}}} | ||
</td></tr>|1{{{class|}}}=}} {{t|1=<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background: {{{3|# | </td></tr>|1{{{class|}}}=}} {{t|1=<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background: {{{3|#333}}}"><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;"> | ||
{{{diameter|}}} | {{{diameter|}}} | ||
</td></tr>|1{{{diameter|}}}=}} {{t|1=<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background: {{{3|# | </td></tr>|1{{{diameter|}}}=}} {{t|1=<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background: {{{3|#333}}}"><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|}}} | {{{atmosphere|}}} | ||
</td></tr>|1{{{atmosphere|}}}=}} {{t|1=<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background: {{{3|# | </td></tr>|1{{{atmosphere|}}}=}} {{t|1=<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background: {{{3|#333}}}"><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|}}} | {{{climate|}}} | ||
</td></tr>|1{{{climate|}}}=}} {{t|1=<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background: {{{3|# | </td></tr>|1{{{climate|}}}=}} {{t|1=<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background: {{{3|#333}}}"><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;"> | ||
{{{gravity|}}} | {{{gravity|}}} | ||
</td></tr>|1{{{gravity|}}}=}} {{t|1=<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background: {{{3|# | </td></tr>|1{{{gravity|}}}=}} {{t|1=<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background: {{{3|#333}}}"><td style="border-top: 1px solid #999; border-bottom: 1px solid #999;">Primary 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|# | </td></tr>|1{{{terrain|}}}=}} {{t|1=<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background: {{{3|#333}}}"><td style="border-top: 1px solid #999; border-bottom: 1px solid #999;">Points of interest</td><td class="infoboxcell" style="border-top: 1px solid #999; border-bottom: 1px solid #999;"> | ||
{{{interest|}}} | {{{interest|}}} | ||
</td></tr>|1{{{interest|}}}=}} {{t|1=|1{{{hides|}}}=<tr><th colspan="2" style="text-align:left; font-weight:normal; background:# | </td></tr>|1{{{interest|}}}=}} {{t|1=|1{{{hides|}}}=<tr><th colspan="2" style="text-align:left; font-weight:normal; background:#996;">'''Societal'''</th></tr>}} {{t|1=<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background: {{{3|#333}}}"><td style="border-top: 1px solid #999; border-bottom: 1px solid #999;">Native species</td><td class="infoboxcell" style="border-top: 1px solid #999; border-bottom: 1px solid #999;"> | ||
{{{species|}}} | {{{species|}}} | ||
</td></tr>|1{{{species|}}}=}} {{t|1=<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background: {{{3|# | </td></tr>|1{{{species|}}}=}} {{t|1=<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background: {{{3|#333}}}"><td style="border-top: 1px solid #999; border-bottom: 1px solid #999;">Immigrated species</td><td class="infoboxcell" style="border-top: 1px solid #999; border-bottom: 1px solid #999;"> | ||
{{{otherspecies|}}} | {{{otherspecies|}}} | ||
</td></tr>|1{{{otherspecies|}}}=}} {{t|1=<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background: {{{3|# | </td></tr>|1{{{otherspecies|}}}=}} {{t|1=<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background: {{{3|#333}}}"><td style="border-top: 1px solid #999; border-bottom: 1px solid #999;">Official language</td><td class="infoboxcell" style="border-top: 1px solid #999; border-bottom: 1px solid #999;"> | ||
{{{language|}}} | {{{language|}}} | ||
</td></tr>|1{{{language|}}}=}} {{t|1=<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background: {{{3|# | </td></tr>|1{{{language|}}}=}} {{t|1=<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background: {{{3|#333}}}"><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;"> | ||
{{{population|}}} | {{{population|}}} | ||
</td></tr>|1{{{population|}}}=}} {{t|1=<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background: {{{3|# | </td></tr>|1{{{population|}}}=}} {{t|1=<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background: {{{3|#333}}}"><td style="border-top: 1px solid #999; border-bottom: 1px solid #999;">Major cities</td><td class="infoboxcell" style="border-top: 1px solid #999; border-bottom: 1px solid #999;"> | ||
{{{cities|}}} | {{{cities|}}} | ||
</td></tr>|1{{{cities|}}}=}} {{t|1=<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background: {{{3|# | </td></tr>|1{{{cities|}}}=}} {{t|1=<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background: {{{3|#333}}}"><td style="border-top: 1px solid #999; border-bottom: 1px solid #999;">Major imports</td><td class="infoboxcell" style="border-top: 1px solid #999; border-bottom: 1px solid #999;"> | ||
{{{imports|}}} | {{{imports|}}} | ||
</td></tr>|1{{{imports|}}}=}} {{t|1=<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background: {{{3|# | </td></tr>|1{{{imports|}}}=}} {{t|1=<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background: {{{3|#333}}}"><td style="border-top: 1px solid #999; border-bottom: 1px solid #999;">Major exports</td><td class="infoboxcell" style="border-top: 1px solid #999; border-bottom: 1px solid #999;"> | ||
{{{exports|}}} | {{{exports|}}} | ||
</td></tr>|1{{{exports|}}}=}} {{t|1=<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background: {{{3|# | </td></tr>|1{{{exports|}}}=}} {{t|1=<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background: {{{3|#333}}}"><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|}}} | {{{affiliation|}}} | ||
</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%;"> [[Template:Planet|[Source]]]</td></tr></table><noinclude> | </td></tr>|1{{{affiliation|}}}=}} </table></div></td></tr><tr style="background:#000;"><td id="infoboxend" class="plainlinks" style="text-align:right; width:49%;"></td><td style="text-align:left; width:51%;"> [[Template:Planet|[Source]]]</td></tr></table><noinclude> | ||
{{clear}} | {{clear}} | ||
==Usage instructions== | ==Usage instructions== | ||
Line 91: | Line 91: | ||
===Source=== | ===Source=== | ||
<nowiki>{{subst:slh|#996|250px}} {{subst:sls|Astrographical|# | <nowiki>{{subst:slh|#996|250px}} {{subst:sls|Astrographical|#996|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 from Core|distance}} {{subst:sld|Rotation period|lengthday}} {{subst:sld|Orbital period|lengthyear}} {{subst:sls|Physical|#996|hidep}} {{subst:sld|Class|class}} {{subst:sld|Diameter|diameter}} {{subst:sld|Atmosphere|atmosphere}} {{subst:sld|Climate|climate}} {{subst:sld|Gravity|gravity}} {{subst:sld|Primary terrain|terrain}} {{subst:sld|Points of interest|interest}} {{subst:sls|Societal|#996|hides}} {{subst:sld|Native species|species}} {{subst:sld|Immigrated species|otherspecies}} {{subst:sld|Official language|language}} {{subst:sld|Population|population}} {{subst:sld|Major cities|cities}} {{subst:sld|Major imports|imports}} {{subst:sld|Major exports|exports}} {{subst:sld|Affiliation|affiliation}} {{subst:slf}}</nowiki> | ||
[[Category:Infobox templates|Planet]] | [[Category:Infobox templates|Planet]] | ||
</noinclude> | </noinclude> |
Revision as of 20:58, 6 March 2009
| |||||||||||
[Source] |
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.
{{Planet |image= |name= |region= |sector= |system= |suns= |moons= |coord= |distance= |class= |diameter= |atmosphere= |climate= |gravity= |terrain= |interest= |lengthday= |lengthyear= |species= |otherspecies= |language= |population= |cities= |imports= |exports= |affiliation= }}
Display parameters
- hidea
- hidep
- hides
Source
{{subst:slh|#996|250px}} {{subst:sls|Astrographical|#996|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 from Core|distance}} {{subst:sld|Rotation period|lengthday}} {{subst:sld|Orbital period|lengthyear}} {{subst:sls|Physical|#996|hidep}} {{subst:sld|Class|class}} {{subst:sld|Diameter|diameter}} {{subst:sld|Atmosphere|atmosphere}} {{subst:sld|Climate|climate}} {{subst:sld|Gravity|gravity}} {{subst:sld|Primary terrain|terrain}} {{subst:sld|Points of interest|interest}} {{subst:sls|Societal|#996|hides}} {{subst:sld|Native species|species}} {{subst:sld|Immigrated species|otherspecies}} {{subst:sld|Official language|language}} {{subst:sld|Population|population}} {{subst:sld|Major cities|cities}} {{subst:sld|Major imports|imports}} {{subst:sld|Major exports|exports}} {{subst:sld|Affiliation|affiliation}} {{subst:slf}}