Template:Planet: Difference between revisions
m (Protected "Template:Planet" ([edit=sysop] (indefinite) [move=sysop] (indefinite))) |
No edit summary |
||
| Line 1: | Line 1: | ||
<table border="0" cellspacing="0" cellpadding="0" style="float:right; clear:right; margin: 0 0 .5em 1em; width:275px; background:#2B2B2B; border-collapse:collapse; border:1px solid #666666; font-size:smaller; line-height:1.5;"> | <table border="0" cellspacing="0" cellpadding="0" style="float:right; clear:right; margin: 0 0 .5em 1em; width:275px; background:#2B2B2B; border-collapse:collapse; border:1px solid #666666; font-size:smaller; line-height:1.5;"> | ||
<tr colspan="2"><td> | <tr colspan="2"><td> | ||
<table border="0" cellspacing="0" cellpadding="4" style="float:right; margin:0 0 0 0; width:100%; background:# | <table border="0" cellspacing="0" cellpadding="4" style="float:right; margin:0 0 0 0; width:100%; background:#2B2B2B; border-collapse:collapse;"> | ||
<tr style="text-align:center;"> | <tr style="text-align:center;"> | ||
<td colspan="2" style="padding:0; background:{{#if:{{{imageBG|}}}|{{{imageBG}}}|#8C0000}};">{{{image|}}}</td></tr> | <td colspan="2" style="padding:0; background:{{#if:{{{imageBG|}}}|{{{imageBG}}}|#8C0000}};">{{{image|}}}</td></tr> | ||
<tr style="text-align:center; color:{{{3|#FFFFFF}}}; background:# | <tr style="text-align:center; color:{{{3|#FFFFFF}}}; background:#8C0000; font-size:larger;"><td colspan="2">'''{{{name}}}'''</td></tr> {{t|1=|1{{{hideb|}}}=<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle;><td colspan="2" style="text-align:left; font-weight:normal; background:#490101;">'''Survey Data'''</td></tr>}} {{t|1=<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background: #232323"><td style="border-top: 1px solid #666666; border-bottom: 1px solid #666666;">Star System</td><td style="border-top: 1px solid #666666; border-bottom: 1px solid #666666;"> | ||
{{{ | {{{Star System|}}}</td></tr>|1{{{Star System|}}}=}} {{t|1=<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background: #232323"><td style="border-top: 1px solid #666666; border-bottom: 1px solid #666666;">Region</td><td style="border-top: 1px solid #666666; border-bottom: 1px solid #666666;"> | ||
{{{ | {{{Region|}}}</td></tr>|1{{{Region|}}}=}} {{t|1=<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background: #232323"><td style="border-top: 1px solid #666666; border-bottom: 1px solid #666666;">Quadrant</td><td style="border-top: 1px solid #666666; border-bottom: 1px solid #666666;"> | ||
{{{ | {{{Quadrant|}}}</td></tr>|1{{{Quadrant|}}}=}} {{t|1=<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background: #232323"><td style="border-top: 1px solid #666666; border-bottom: 1px solid #666666;">Orbital Period</td><td style="border-top: 1px solid #666666; border-bottom: 1px solid #666666;"> | ||
{{{Orbital Period|}}}</td></tr>|1{{{Orbital Period|}}}=}} {{t|1=<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background: #232323"><td style="border-top: 1px solid #666666; border-bottom: 1px solid #666666;">Rotational Period</td><td style="border-top: 1px solid #666666; border-bottom: 1px solid #666666;"> | |||
{{{Rotational Period|}}}</td></tr>|1{{{Rotational Period|}}}=}} {{t|1=<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background: #232323"><td style="border-top: 1px solid #666666; border-bottom: 1px solid #666666;">Classification</td><td style="border-top: 1px solid #666666; border-bottom: 1px solid #666666;"> | |||
{{{ | {{{Classification|}}}</td></tr>|1{{{Classification|}}}=}} {{t|1=<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background: #232323"><td style="border-top: 1px solid #666666; border-bottom: 1px solid #666666;">Satellites</td><td style="border-top: 1px solid #666666; border-bottom: 1px solid #666666;"> | ||
{{{ | {{{Satellites|}}}</td></tr>|1{{{Satellites|}}}=}} {{t|1=<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background: #232323"><td style="border-top: 1px solid #666666; border-bottom: 1px solid #666666;">Discovery Date</td><td style="border-top: 1px solid #666666; border-bottom: 1px solid #666666;"> | ||
{{{ | {{{Discovery Date|}}}</td></tr>|1{{{Discovery Date|}}}=}} {{t|1=<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background: #232323"><td style="border-top: 1px solid #666666; border-bottom: 1px solid #666666;">Discovered By</td><td style="border-top: 1px solid #666666; border-bottom: 1px solid #666666;"> | ||
{{{Discovered By|}}}</td></tr>|1{{{Discovered By|}}}=}} {{t|1=|1{{{hidep|}}}=<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle;><td colspan="2" style="text-align:left; font-weight:normal; background:#490101;">'''Political Information'''</td></tr>}} {{t|1=<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background: #232323"><td style="border-top: 1px solid #666666; border-bottom: 1px solid #666666;">Affiliation</td><td style="border-top: 1px solid #666666; border-bottom: 1px solid #666666;"> | |||
{{{Affiliation|}}}</td></tr>|1{{{Affiliation|}}}=}} {{t|1=<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background: #232323"><td style="border-top: 1px solid #666666; border-bottom: 1px solid #666666;">Native Sentients</td><td style="border-top: 1px solid #666666; border-bottom: 1px solid #666666;"> | |||
{{{ | {{{Native Sentients|}}}</td></tr>|1{{{Native Sentients|}}}=}} {{t|1=<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background: #232323"><td style="border-top: 1px solid #666666; border-bottom: 1px solid #666666;">Previous Inhabitants</td><td style="border-top: 1px solid #666666; border-bottom: 1px solid #666666;"> | ||
{{{ | {{{Previous Inhabitants|}}}</td></tr>|1{{{Previous Inhabitants|}}}=}} {{t|1=<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background: #232323"><td style="border-top: 1px solid #666666; border-bottom: 1px solid #666666;">Current Inhabitants</td><td style="border-top: 1px solid #666666; border-bottom: 1px solid #666666;"> | ||
{{{ | {{{Current Inhabitants|}}}</td></tr>|1{{{Current Inhabitants|}}}=}} {{t|1=<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background: #232323"><td style="border-top: 1px solid #666666; border-bottom: 1px solid #666666;">Capital</td><td style="border-top: 1px solid #666666; border-bottom: 1px solid #666666;"> | ||
{{{Capital|}}}</td></tr>|1{{{Capital|}}}=}} {{t|1=<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background: #232323"><td style="border-top: 1px solid #666666; border-bottom: 1px solid #666666;">Population</td><td style="border-top: 1px solid #666666; border-bottom: 1px solid #666666;"> | |||
{{{Population|}}}</td></tr>|1{{{Population|}}}=}} </table></td></tr><tr><td style="text-align:center; width:50%;"> [[Template:Infobox Planet|[Source]]]</td></tr></table><!-- TEMPLATE ENDS HERE. In order to regenerate the template, replace the code above with the source code provided. --><!-- TEMPLATE ENDS HERE. In order to regenerate the template, replace the code above with the source code provided. --> | |||
<includeonly> | |||
[[Category:Planets]] | |||
</includeonly> | |||
<noinclude> | <noinclude> | ||
{{clear}} | {{clear}} | ||
===Usage instructions=== | ===Usage instructions=== | ||
Paste the following code into the top of an article, filling all known fields: | Paste the following code into the top of an article, filling all known or desired fields: | ||
<pre><nowiki> | <pre><nowiki> | ||
{{Planet | {{Infobox Planet | ||
|image= | |image= | ||
|name= | |name= | ||
| | |Star System= | ||
| | |Region= | ||
| | |Quadrant= | ||
| | |Orbital Period= | ||
| | |Rotational Period= | ||
| | |Classification= | ||
| | |Satellites= | ||
| | |Discovery Date= | ||
| | |Discovered By= | ||
| | |Affiliation= | ||
| | |Native Sentients= | ||
| | |Previous Inhabitants= | ||
| | |Current Inhabitants= | ||
}}</nowiki></pre | |Capital= | ||
|Population= | |||
}} | |||
</nowiki></pre> | |||
== | ===Display parameters=== | ||
*hideb | |||
*hidep | |||
*hidec | |||
* | |||
* | |||
* | |||
< | ===Source=== | ||
<nowiki> | |||
{{subst:slh|#8C0000|275px}} {{subst:sls|Survey Data|#490101|hideb}} {{subst:sld|Star System|Star System}} {{subst:sld|Region|Region}} {{subst:sld|Quadrant|Quadrant}} {{subst:sld|Orbital Period|Orbital Period}} {{subst:sld|Rotational Period|Rotational Period}} {{subst:sld|Classification|Classification}} {{subst:sld|Satellites|Satellites}} {{subst:sld|Discovery Date|Discovered By}} {{subst:sld|Satellites|Satellites}} {{subst:sls|Political Information|#490101|hidep}} {{subst:sld|Native Sentients|Native Sentients}} {{subst:sld|Previous Inhabitants|Previous Inhabitants}} {{subst:sld|Current Inhabitants|Current Inhabitants}} {{subst:sld|Affiliation|Affiliation}} {{subst:sld|Capital|Capital}} {{subst:sld|Population|Population}} {{subst:slf}} | |||
</nowiki> | |||
[[Category:Templates|{{PAGENAME}}]]</noinclude> | |||
Revision as of 09:56, 4 June 2012
| ||||||||
| [Source] | ||||||||
Usage instructions
Paste the following code into the top of an article, filling all known or desired fields:
{{Infobox Planet
|image=
|name=
|Star System=
|Region=
|Quadrant=
|Orbital Period=
|Rotational Period=
|Classification=
|Satellites=
|Discovery Date=
|Discovered By=
|Affiliation=
|Native Sentients=
|Previous Inhabitants=
|Current Inhabitants=
|Capital=
|Population=
}}
Display parameters
- hideb
- hidep
- hidec
Source
{{subst:slh|#8C0000|275px}} {{subst:sls|Survey Data|#490101|hideb}} {{subst:sld|Star System|Star System}} {{subst:sld|Region|Region}} {{subst:sld|Quadrant|Quadrant}} {{subst:sld|Orbital Period|Orbital Period}} {{subst:sld|Rotational Period|Rotational Period}} {{subst:sld|Classification|Classification}} {{subst:sld|Satellites|Satellites}} {{subst:sld|Discovery Date|Discovered By}} {{subst:sld|Satellites|Satellites}} {{subst:sls|Political Information|#490101|hidep}} {{subst:sld|Native Sentients|Native Sentients}} {{subst:sld|Previous Inhabitants|Previous Inhabitants}} {{subst:sld|Current Inhabitants|Current Inhabitants}} {{subst:sld|Affiliation|Affiliation}} {{subst:sld|Capital|Capital}} {{subst:sld|Population|Population}} {{subst:slf}}