Template:Test2: Difference between revisions
From USS Pacifica Online Database
Jump to navigationJump to search
(Created page with '<includeonly>{| class="wiki-sidebar" |- ! colspan="2" | {{{Name}}} |- {{ #if: {{{ImageOrbital|}}}|{{!}}class="sb-both" colspan="2"{{!}}{{sidebar image|{{{ImageOrbital}}}|{{#if: {…') |
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;"> | ||
<tr colspan="2"><td> | |||
<table border="0" cellspacing="0" cellpadding="4" style="float:right; margin:0 0 0 0; width:100%; background:#656565; border-collapse:collapse;"> | |||
<tr style="text-align:center;"> | |||
<td colspan="2" style="padding:0; background:{{#if:{{{imageBG|}}}|{{{imageBG}}}|#8C0000}};">{{{image|}}}</td></tr> | |||
<tr style="text-align:center; color:{{{3|#FFFFFF}}}; background:#490101; 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:#8C0000;">'''Astronomical Location'''</td></tr>}} {{t|1=<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background: #656565"><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: #656565"><td style="border-top: 1px solid #666666; border-bottom: 1px solid #666666;">Sector</td><td style="border-top: 1px solid #666666; border-bottom: 1px solid #666666;"> | |||
{{ | {{{sector|}}}</td></tr>|1{{{sector|}}}=}} {{t|1=<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background: #656565"><td style="border-top: 1px solid #666666; border-bottom: 1px solid #666666;">System</td><td style="border-top: 1px solid #666666; border-bottom: 1px solid #666666;"> | ||
|- | {{{system|}}}</td></tr>|1{{{system|}}}=}} {{t|1=|1{{{hidec|}}}=<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle;><td colspan="2" style="text-align:left; font-weight:normal; background:#8C0000;">'''Physical Characteristic'''</td></tr>}} {{t|1=<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background: #656565"><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;"> | ||
{{{class|}}}</td></tr>|1{{{class|}}}=}} {{t|1=<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background: #656565"><td style="border-top: 1px solid #666666; border-bottom: 1px solid #666666;">Equatorial Radius</td><td style="border-top: 1px solid #666666; border-bottom: 1px solid #666666;"> | |||
{{{equaradius|}}}</td></tr>|1{{{equaradius|}}}=}} {{t|1=<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background: #656565"><td style="border-top: 1px solid #666666; border-bottom: 1px solid #666666;">Polar Radius</td><td style="border-top: 1px solid #666666; border-bottom: 1px solid #666666;"> | |||
{{{polarradius|}}}</td></tr>|1{{{polarradius|}}}=}} {{t|1=<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background: #656565"><td style="border-top: 1px solid #666666; border-bottom: 1px solid #666666;">Surface Gravity</td><td style="border-top: 1px solid #666666; border-bottom: 1px solid #666666;"> | |||
{{ | {{{gravity|}}}</td></tr>|1{{{gravity|}}}=}} {{t|1=<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background: #656565"><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;"> | ||
{{ # | {{{day|}}}</td></tr>|1{{{day|}}}=}} {{t|1=<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background: #656565"><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;"> | ||
|- | {{{year|}}}</td></tr>|1{{{year|}}}=}} {{t|1=<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background: #656565"><td style="border-top: 1px solid #666666; border-bottom: 1px solid #666666;">Moons</td><td style="border-top: 1px solid #666666; border-bottom: 1px solid #666666;"> | ||
{{{moons|}}}</td></tr>|1{{{moons|}}}=}} {{t|1=|1{{{hidec|}}}=<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle;><td colspan="2" style="text-align:left; font-weight:normal; background:#8C0000;">'''Additional Information'''</td></tr>}} {{t|1=<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background: #656565"><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: #656565"><td style="border-top: 1px solid #666666; border-bottom: 1px solid #666666;">Native Race(s)</td><td style="border-top: 1px solid #666666; border-bottom: 1px solid #666666;"> | |||
|- | {{{native|}}}</td></tr>|1{{{native|}}}=}} {{t|1=<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background: #656565"><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: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. --> | |||
<noinclude> | |||
|- | {{clear}} | ||
===Usage instructions=== | |||
Paste the following code into the top of an article, filling all known fields: | |||
| | <pre><nowiki> | ||
{{Planet | |||
|image= | |||
|- | |name= | ||
|quadrant= | |||
|sector= | |||
|system= | |||
|class= | |||
|equaradius= | |||
|polarradius= | |||
|gravity= | |||
|day | |||
|year | |||
|moons= | |||
|affiliation= | |||
|native= | |||
|population= | |||
}}</nowiki></pre> | |||
<noinclude> | |||
==Data fields== | |||
*image – Put a link to the image at a width of 250 pixels or less. | |||
*name – Simply list the name of the planet in italics. | |||
*qaudrant – Put the quadrant the planet is located in | |||
*sector – Put the sector the planet is located in | |||
*system – Put the system the planet is located in | |||
*class – Put the planet classification (e.g. M class) | |||
*equaradius – Put the radius of the planet along the equator | |||
*polarradius – Put the radius of the planet from pole to pole | |||
*gravity – Put the surfacr gravity of the planet (1''g'' = earth's gravity) | |||
*day – Put the time it takes for one rotation of the planet | |||
*year – Put the time it takes for the planet to orbit its star | |||
*native – Put the name of all the native sentient species on the planet. | |||
*population – Put the number of senties beings on the planet | |||
</noinclude> | |||
<noinclude>[[Category:Templates|P]]</noinclude> | |||
Latest revision as of 12:31, 12 November 2010
| ||||||||||
| [Source] | ||||||||||
Usage instructions
Paste the following code into the top of an article, filling all known fields:
{{Planet
|image=
|name=
|quadrant=
|sector=
|system=
|class=
|equaradius=
|polarradius=
|gravity=
|day
|year
|moons=
|affiliation=
|native=
|population=
}}
Data fields
- image – Put a link to the image at a width of 250 pixels or less.
- name – Simply list the name of the planet in italics.
- qaudrant – Put the quadrant the planet is located in
- sector – Put the sector the planet is located in
- system – Put the system the planet is located in
- class – Put the planet classification (e.g. M class)
- equaradius – Put the radius of the planet along the equator
- polarradius – Put the radius of the planet from pole to pole
- gravity – Put the surfacr gravity of the planet (1g = earth's gravity)
- day – Put the time it takes for one rotation of the planet
- year – Put the time it takes for the planet to orbit its star
- native – Put the name of all the native sentient species on the planet.
- population – Put the number of senties beings on the planet