Difference between revisions of "Template:Infobox Planets"

From Australis Ultima 30k
Jump to: navigation, search
(Undo revision 874 by Sirrob01 (talk))
Line 1: Line 1:
{{ infobox
+
<!--Please do no edit this template-->
| class       = vcard
+
{| class="infobox" style="font-size:95%; width:300px; background-color:#fff;float: right;border: 1px solid #aaa; margin-left:20px;"
| style       = {{if:{{{width|}}}|width: {{{width}}} }}
+
|-
| titleclass  = fn org
+
! colspan="2" style="background-color:#d7e2ea; text-align:center; color:#000; font-size:150%; padding:1em;" | {{{Box title|No Title}}}
| title       = {{{name|<includeonly>{{PAGENAME}}</includeonly>}}} {{{symbol|}}}
+
{{#if: {{{image|}}}|
| image      = {{{image|}}}
+
{{!}}-
| caption    = {{{caption|}}}
+
{{!}} colspan="2" style="text-align:center;" {{!}} [[{{{image}}}|{{{imagewidth|250}}}px|link={{{imagelink}}}]]<br/>''{{{caption| }}}''
| headerstyle = {{#if:{{{background|}}}{{{bgcolour|}}}|background-color:{{{background|{{{bgcolour|}}}}}}}}
+
|
 +
}}
 +
|-
 +
| style="width:40%;" |
 +
'''{{{Row 1 title|No Title}}}'''
 +
| style="width:60%;" |
 +
{{{Row 1 info|No information}}}
 +
{{#if: {{{Row 2 title|}}}|
 +
{{!}}-
 +
{{!}}
 +
'''{{{Row 2 title}}}'''
 +
{{!}}
 +
{{{Row 2 info|No information}}}
 +
{{#if: {{{Row 3 title|}}}|
 +
{{!}}-
 +
{{!}}
 +
'''{{{Row 3 title}}}'''
 +
{{!}}
 +
{{{Row 3 info|No information}}}
 +
{{#if: {{{Row 4 title|}}}|
 +
{{!}}-
 +
{{!}}
 +
'''{{{Row 4 title}}}'''
 +
{{!}}
 +
{{{Row 4 info|No information}}}
 +
{{#if: {{{Row 5 title|}}}|
 +
{{!}}-
 +
{{!}}
 +
'''{{{Row 5 title}}}'''
 +
{{!}}
 +
{{{Row 5 info|No information}}}
 +
{{#if: {{{Row 6 title|}}}|
 +
{{!}}-
 +
{{!}}
 +
'''{{{Row 6 title}}}'''
 +
{{!}}
 +
{{{Row 6 info|No information}}}
 +
{{#if: {{{Row 7 title|}}}|
 +
{{!}}-
 +
{{!}}
 +
'''{{{Row 7 title}}}'''
 +
{{!}}
 +
{{{Row 7 info|No information}}}
 +
{{#if: {{{Row 8 title|}}}|
 +
{{!}}-
 +
{{!}}
 +
'''{{{Row 8 title}}}'''
 +
{{!}}
 +
{{{Row 8 info|No information}}}
 +
{{#if: {{{Row 9 title|}}}|
 +
{{!}}-
 +
{{!}}
 +
'''{{{Row 9 title}}}'''
 +
{{!}}
 +
{{{Row 9 info|No information}}}
 +
{{#if: {{{Row 10 title|}}}|
 +
{{!}}-
 +
{{!}}
 +
'''{{{Row 10 title}}}'''
 +
{{!}}
 +
{{{Row 10 info|No information}}}
 +
{{#if: {{{Row 11 title|}}}|
 +
{{!}}-
 +
{{!}} colspan="2" style="text-align:center; background:#AAAAAA;" {{!}}
 +
'''Too many parameters'''
 +
|
 +
}}
 +
|
 +
}}
 +
|
 +
}}
 +
|
 +
}}
 +
|
 +
}}
 +
|
 +
}}
 +
|
 +
}}
 +
|
 +
}}
 +
|
 +
}}
 +
|
 +
}}
 +
|}<noinclude><br style="clear:both;"/>
 +
<div style="margin: auto; max-width: 100em; {{box-shadow|0.1em|0.1em|0.5em|rgba( 192, 192, 192, 0.75 )}} {{border-radius|1em}} border: 1px solid #a7d7f9; margin-bottom: 1em; padding: 0.5em 1em 1em; color: black;" class="ui-helper-clearfix">
  
| header1    = {{#if:{{{discoverer|}}}{{{discovery_site|}}}{{{discovered|}}}{{{discovery_method|}}}|Discovery{{#if:{{{discovery_ref|}}}|{{{discovery_ref}}} }}{{#if:{{{minorplanet|}}}|&nbsp;and designation}} }}
+
==Description==
 +
An infobox with much easier and nice method for anyone to use. This ''Infobox classic'' is a kind of infobox where you can give titles to every row. Below are some of the rules to use this infobox.
  
| label2      = Discovered by
+
==Syntax==
| data2      = {{{discoverer|}}}
+
<pre>
| label3     = Discovery site
+
{{Infobox classic
| data3      = {{{discovery_site|}}}
+
|Box title    =  
| label4      = Discovery date
+
|image        = Image:Example.jpg
| data4      = {{{discovered|}}}
+
|imagewidth  = [defaults to 250]
| label5      = [[Methods of detecting extrasolar planets|Detection method]]
+
|imagelink    =
| data5      = {{{discovery_method|}}}
+
|caption     = Wikipedia
 +
|Row 1 title  =
 +
|Row 1 info  =
 +
|Row 2 title  =
 +
|Row 2 info  =
 +
|Row 3 title  =
 +
|Row 3 info  =
 +
|Row 4 title  =
 +
|Row 4 info  =
 +
|Row 5 title  =
 +
|Row 5 info  =
 +
|Row 6 title  =
 +
|Row 6 info  =
 +
|Row 7 title  =
 +
|Row 7 info  =
 +
|Row 8 title  =
 +
|Row 8 info  =
 +
|Row 9 title  =
 +
|Row 9 info  =
 +
|Row 10 title =
 +
|Row 10 info  =
 +
}}
 +
</pre>
  
| header10    = {{#if:{{{designations|{{{mp_name|}}}{{{named_after|}}}{{{alt_names|}}}{{{mp_category|}}}{{{pronounce|}}}{{{pronounced|}}}{{{adjective|}}}{{{adjectives|}}}}}}|{{#if:{{{exosolar planets|}}}|[[Extrasolar planet#Nomenclature|Designations]]|Designations}} }}
+
===Notes===
 +
* Keeping the '''Box Title''' empty will result in displaying '''No title'''
 +
* If you don't want to display image, just keep '''Image file Name''' and '''Image Size''' empty.
 +
* Leaving imagelink blank results in a no click image - decoration only
 +
* Keeping the '''Row 1 title''' empty will result in displaying '''No title'''.
 +
* Keeping the '''Row (any row) info''' empty will result in displaying '''No information'''.
 +
* Keeping the '''Row (any below row 1) title''' empty will result in that row and the rest of the rows below it will not be displayed.
 +
* Max row for information: 10 rows.
  
| label11    = [[Minor planet designation|MPC designation]]
+
==Sample output==
| data11     = {{{mp_name|}}}
+
{{Infobox classic
| label12    = Pronunciation
+
|Box title    = Info Title
| data12      = {{{pronounce|{{{pronounced|}}}|}}}
+
|image        = Image:Barren One.png
| label13    = Named after
+
|imagewidth  = 120
| data13      = {{{named_after|}}}
+
|imagelink    = Barren Two
| label14    = [[Provisional designation in astronomy|Alternative names]]
+
|caption     = Barren One Links to Barren Two
| data14      = {{{alt_names|}}}
+
|Row 1 title  = Title row 1
| label15    = Minor planet category
+
|Row 1 info  = Info row 1
| data15      = {{{mp_category|}}}
+
|Row 2 title  = Title row 2
| label16    = [[List of adjectivals and demonyms of astronomical bodies|Adjective]]
+
|Row 2 info  = Info row 2
| data16     = {{{adjectives|{{{adjective|}}}}}}
+
|Row 3 title  = Title row 3
 +
|Row 3 info  = Info row 3
 +
|Row 4 title  = Title row 4
 +
|Row 4 info  = Info row 4
 +
|Row 5 title  = Title row 5
 +
|Row 5 info  = Info row 5
 +
|Row 6 title  = Title row 6
 +
|Row 6 info  = Info row 6
 +
|Row 7 title  = Title row 7
 +
|Row 7 info  = Info row 7
 +
|Row 8 title  = Title row 8
 +
|Row 8 info  = Info row 8
 +
|Row 9 title  = Title row 9
 +
|Row 9 info  = Info row 9
 +
|Row 10 title = Title row 10
 +
|Row 10 info  = Info row 10
 +
}}
 +
Complete Infobox:<br />
 +
<code>
 +
'''<nowiki>{{</nowiki>Infobox classic'''<br />
 +
'''|'''Box title    = Info Title<br />
 +
'''|'''image        = Image:Barren One.png<br />
 +
'''|'''imagewidth  = 120<br />
 +
'''|'''imagelink    = Barren Two<br />
 +
'''|'''caption     = Barren One Links to Barren Two<br />
 +
'''|'''Row 1 title  = Title row 1<br />
 +
'''|'''Row 1 info  = Info row 1<br />
 +
'''|'''Row 2 title  = Title row 2<br />
 +
'''|'''Row 2 info  = Info row 2<br />
 +
'''|'''Row 3 title  = Title row 3<br />
 +
'''|'''Row 3 info  = Info row 3<br />
 +
'''|'''Row 4 title  = Title row 4<br />
 +
'''|'''Row 4 info  = Info row 4<br />
 +
'''|'''Row 5 title  = Title row 5<br />
 +
'''|'''Row 5 info  = Info row 5<br />
 +
'''|'''Row 6 title  = Title row 6<br />
 +
'''|'''Row 6 info  = Info row 6<br />
 +
'''|'''Row 7 title  = Title row 7<br />
 +
'''|'''Row 7 info  = Info row 7<br />
 +
'''|'''Row 8 title  = Title row 8<br />
 +
'''|'''Row 8 info  = Info row 8<br />
 +
'''|'''Row 9 title  = Title row 9<br />
 +
'''|'''Row 9 info  = Info row 9<br />
 +
'''|'''Row 10 title = Title row 10<br />
 +
'''|'''Row 10 info  = Info row 10<br />
 +
'''<nowiki>}}</nowiki>'''
 +
</code>
  
| header20    = {{#if:{{{orbit_diagram|}}}{{{epoch|}}}{{{aphelion|}}}{{{perihelion|}}}{{{periapsis|}}}{{{apoapsis|}}}{{{semimajor|}}}{{{mean_orbit_radius|}}}{{{eccentricity|}}}{{{period|}}}{{{synodic_period|}}}{{{avg_speed|}}}{{{mean_anomaly|}}}{{{inclination|}}}{{{angular_dist|}}}{{{asc_node|}}}{{{long_periastron|}}}{{{time_periastron|}}}{{{arg_peri|}}}{{{semi-amplitude|}}}{{{satellite_of|}}}{{{satellites|}}}|[[Osculating orbit|Orbital characteristics]]{{#if:{{{orbit_ref|}}}|{{{orbit_ref}}} }} }}
+
<br style="clear:both; margin-bottom:3em;"/>
| data21      = {{{orbit_diagram|}}}
+
| data22      = {{#if:{{{epoch|}}}|[[Epoch (astronomy)|Epoch]] {{{epoch}}}}}
+
  
| label23    = {{#switch:{{{apsis}}}|apsis|gee|(apsis)=[[Apsis|Apo{{{apsis}}}]]|[[Apsis|Ap{{{apsis|helion}}}]]}}
+
{{Infobox classic
| data23      = {{{aphelion|}}}
+
|Box title    = Info Title
| label24    = [[Apsis|Peri{{{apsis|helion}}}]]
+
|Row 1 title  = Title row 1
| data24      = {{{perihelion|}}}
+
|Row 1 info  = Info row 1
| label25    = [[Apsis|Peri{{{apsis|apsis}}}]]
+
|Row 2 title  = Title row 2
| data25      = {{{periapsis|}}}
+
|Row 2 info  = Info row 2
| label26    = {{#switch:{{{apsis}}}|helion|astron=[[Apsis|Ap{{{apsis}}}]]|[[Apsis|Apo{{{apsis|apsis}}}]]}}
+
|Row 3 title  = Title row 3
| data26      = {{{apoapsis|}}}
+
|Row 3 info  = Info row 3
| label27    = [[Semi-major axis]]
+
|Row 4 title  = Title row 4
| data27      = {{{semimajor|}}}
+
|Row 4 info  = Info row 4
| label28    = [[Radius|Mean orbit radius]]
+
|Row 5 title  = Title row 5
| data28      = {{{mean_orbit_radius|}}}
+
|Row 5 info  = Info row 5
| label29    = [[Orbital eccentricity|Eccentricity]]
+
|Row 6 title  = Title row 6
| data29      = {{{eccentricity|}}}
+
|Row 6 info  = Info row 6
| label30    = [[Orbital period]]
+
|Row 7 title  = Title row 7
| data30      = {{{period|}}}
+
|Row 7 info  = Info row 7
| label31    = [[Orbital period|Synodic period]]
+
|Row 8 title  = Title row 8
| data31      = {{{synodic_period|}}}
+
|Row 8 info  = Info row 8
| label32    = [[Orbital speed|Average orbital speed]]
+
|Row 9 title  = Title row 9
| data32      = {{{avg_speed|}}}
+
|Row 9 info  = Info row 9
| label33    = [[Mean anomaly]]
+
|Row 10 title = Title row 10
| data33      = {{{mean_anomaly|}}}
+
|Row 10 info  = Info row 10
| label34    = [[Orbital inclination|Inclination]]
+
}}
| data34      = {{{inclination|}}}
+
Infobox '''Image''' omitted :<br />
| label35    = [[Angular distance]]
+
<code>
| data35      = {{{angular_dist|}}}
+
'''<nowiki>{{</nowiki>Infobox classic'''<br />
| label36    = [[Longitude of the ascending node|Longitude of ascending node]]
+
'''|'''Box title    = Info Title<br />
| data36      = {{{asc_node|}}}
+
'''|'''Row 1 title  = Title row 1<br />
| label37    = [[Longitude of the periapsis|Longitude of]] [[Apsis|periastron]]
+
'''|'''Row 1 info  = Info row 1<br />
| data37      = {{{long_periastron|}}}
+
'''|'''Row 2 title  = Title row 2<br />
| label38    = [[Apsis|Time of periastron]]
+
'''|'''Row 2 info  = Info row 2<br />
| data38      = {{{time_periastron|}}}
+
'''|'''Row 3 title  = Title row 3<br />
| label39    = [[Argument of periapsis|Argument of peri{{{apsis|helion}}}]]
+
'''|'''Row 3 info  = Info row 3<br />
| data39      = {{{arg_peri|}}}
+
'''|'''Row 4 title  = Title row 4<br />
| label40    = [[Amplitude|Semi-amplitude]]
+
'''|'''Row 4 info  = Info row 4<br />
| data40      = {{{semi-amplitude|}}}
+
'''|'''Row 5 title  = Title row 5<br />
| label41    = [[Natural satellite|Satellite of]]
+
'''|'''Row 5 info  = Info row 5<br />
| data41      = {{{satellite_of|}}}
+
'''|'''Row 6 title  = Title row 6<br />
| label42    = [[Natural satellite|Satellites]]
+
'''|'''Row 6 info  = Info row 6<br />
| data42      = {{{satellites|}}}
+
'''|'''Row 7 title  = Title row 7<br />
 +
'''|'''Row 7 info  = Info row 7<br />
 +
'''|'''Row 8 title  = Title row 8<br />
 +
'''|'''Row 8 info  = Info row 8<br />
 +
'''|'''Row 9 title  = Title row 9<br />
 +
'''|'''Row 9 info  = Info row 9<br />
 +
'''|'''Row 10 title = Title row 10<br />
 +
'''|'''Row 10 info  = Info row 10<br />
 +
'''<nowiki>}}</nowiki>'''
 +
</code>
  
| header50    = {{#if:{{{p_semimajor|}}}{{{p_eccentricity|}}}{{{p_mean_motion|}}}{{{p_inclination|}}}{{{node_rate|}}}{{{perihelion_rate|}}}|[[Proper orbital elements]]{{#if:{{{p_orbit_ref|}}}|{{{p_orbit_ref}}} }} }}
+
<br style="clear:both; margin-bottom:3em;"/>
  
| label51    = Proper [[semi-major axis]]
+
{{Infobox classic
| data51      = {{#if:{{{p_semimajor|}}}|{{{p_semimajor}}} [[Astronomical unit|AU]]}}
+
|Box title    = Info Title
| label52    = Proper [[Orbital eccentricity|eccentricity]]
+
|Row 1 title  = Title row 1
| data52      = {{{p_eccentricity|}}}
+
|Row 1 info  = Info row 1
| label53    = Proper [[inclination]]
+
|Row 2 title  = Title row 2
| data53      = {{{p_inclination|}}}
+
|Row 2 info  = Info row 2
| label54    = Proper [[mean motion]]
+
|Row 3 title  = Title row 3
| data54      = {{#if:{{{p_mean_motion|}}}|{{{p_mean_motion}}} [[Degree (angle)|deg]]{{\}} [[Julian year (astronomy)|yr]]}}
+
|Row 3 info  = Info row 3
| label55    = Proper [[orbital period]]
+
}}
| data55      = {{#if:{{{p_mean_motion|}}}|{{#expr:360/{{{p_mean_motion|1}}} round 5}} [[Julian year (astronomy)|yr]]<br />({{#expr:365.25*360/{{{p_mean_motion|1}}} round 3}} [[day|d]]) }}
+
Infobox '''Image''' omitted and displaying only 3 rows of information:<br />
| label56    = Precession of [[Apsis|perihelion]]
+
<code>
| data56      = {{#if:{{{perihelion_rate|}}}|{{{perihelion_rate}}} [[Arcsecond|arcsec]]{{\}} [[Julian year (astronomy)|yr]] }}
+
'''<nowiki>{{</nowiki>Infobox classic'''<br />
| label57    = Precession of the [[Longitude of the ascending node|ascending node]]
+
'''|'''Box title    = Info Title<br />
| data57      = {{#if:{{{node_rate|}}}|{{{node_rate}}} [[Arcsecond|arcsec]]{{\}} [[Julian year (astronomy)|yr]]}}
+
'''|'''Row 1 title  = Title row 1<br />
 +
'''|'''Row 1 info  = Info row 1<br />
 +
'''|'''Row 2 title  = Title row 2<br />
 +
'''|'''Row 2 info  = Info row 2<br />
 +
'''|'''Row 3 title  = Title row 3<br />
 +
'''|'''Row 3 info  = Info row 3<br />
 +
'''<nowiki>}}</nowiki>'''
 +
</code>
  
| header60    = {{#if:{{{dimensions|}}}{{{mean_radius|}}}{{{equatorial_radius|}}}{{{polar_radius|}}}{{{flattening|}}}{{{circumference|}}}{{{surface_area|}}}{{{volume|}}}{{{mass|}}}{{{density|}}}{{{surface_grav|}}}{{{escape_velocity|}}}{{{rotation|}}}{{{sidereal_day|}}}{{{rot_velocity|}}}{{{axial_tilt|}}}{{{right_asc_north_pole|}}}{{{declination|}}}{{{pole_ecliptic_lat|}}}{{{pole_ecliptic_lon|}}}{{{albedo|}}}{{{single_temperature|}}}{{{temperatures|}}}{{{spectral_type|}}}{{{magnitude|}}}{{{abs_magnitude|}}}{{{angular_size|}}}|{{#if:{{{minorplanet|}}}| [[Standard asteroid physical characteristics|Physical characteristics]]|Physical characteristics}} }}
+
<br style="clear:both; margin-bottom:3em;"/>
  
| label61    = Dimensions
+
{{Infobox classic
| data61      = {{{dimensions|}}}
+
|Box title    = Info Title
| label62    = Mean radius
+
|Row 1 title  = Title row 1
| data62      = {{{mean_radius|}}}
+
|Row 1 info  = Info row 1
| label63    = [[Equator]]ial radius
+
|Row 2 title  = Title row 2
| data63      = {{{equatorial_radius|}}}
+
|Row 2 info  = Info row 2
| label64    = [[Geographical pole|Polar]] radius
+
|Row 3 title  = Title row 3
| data64      = {{{polar_radius|}}}
+
|Row 3 info  = Info row 3
| label65    = [[Flattening]]
+
|Row 4 info  = Info row 4
| data65      = {{{flattening|}}}
+
|Row 5 title  = Title row 5
| label66    = Circumference
+
|Row 5 info  = Info row 5
| data66      = {{{circumference|}}}
+
|Row 6 title  = Title row 6
| label67    = [[Spheroid#Surface area|Surface area]]
+
|Row 6 info  = Info row 6
| data67      = {{{surface_area|}}}
+
}}
| label68    = [[Volume]]
+
Infobox '''Image''' and '''title row 4''' omited:<br />
| data68      = {{{volume|}}}
+
Result: Row 4, 5, and 6 will not be displayed.<br />
| label69    = [[Mass]]
+
<code>
| data69      = {{{mass|}}}
+
'''<nowiki>{{</nowiki>Infobox classic'''<br />
| label70    = Mean [[density]]
+
'''|'''Box title    = Info Title<br />
| data70      = {{{density|}}}
+
'''|'''Row 1 title  = Title row 1<br />
| label71    = {{#if:{{{minorplanet|}}}|[[Standard asteroid physical characteristics#Surface gravity|Equatorial surface gravity]]|[[Surface gravity|Equatorial surface gravity]]}}
+
'''|'''Row 1 info  = Info row 1<br />
| data71      = {{{surface_grav|}}}
+
'''|'''Row 2 title  = Title row 2<br />
| label72    = {{#if:{{{minorplanet|}}}|Equatorial [[Escape velocity|escape velocity]]|[[Escape velocity]]}}
+
'''|'''Row 2 info  = Info row 2<br />
| data72      = {{{escape_velocity|}}}
+
'''|'''Row 3 title  = Title row 3<br />
| label73    = [[Rotation period]]
+
'''|'''Row 3 info  = Info row 3<br />
| data73      = {{{rotation|}}}
+
'''|'''Row 4 info  = Info row 4<br />
| label74    = [[Rotation period|Sidereal rotation period]]
+
'''|'''Row 5 title  = Title row 5<br />
| data74      = {{{sidereal_day|}}}
+
'''|'''Row 5 info  = Info row 5<br />
| label75    = Equatorial rotation velocity
+
'''|'''Row 6 title  = Title row 6<br />
| data75      = {{{rot_velocity|}}}
+
'''|'''Row 6 info  = Info row 6<br />
| label76    = [[Axial tilt]]
+
'''<nowiki>}}</nowiki>'''
| data76      = {{{axial_tilt|}}}
+
</code>
| label77    = North pole {{nowrap|[[right ascension]]}}
+
</div>
| data77      = {{{right_asc_north_pole|}}}
+
<includeonly>[[Category:General wiki templates|{{PAGENAME}}]][[Category:Infobox templates| ]]</includeonly><noinclude>[[Category:Template documentation|{{PAGENAME}}]]
| label78    = North pole [[declination]]
+
| data78      = {{{declination|}}}
+
| label79    = Pole [[Ecliptic latitude|ecliptic latitude]]
+
| data79      = {{{pole_ecliptic_lat|}}}
+
| label80    = Pole [[Ecliptic longitude|ecliptic longitude]]
+
| data80      = {{{pole_ecliptic_lon|}}}
+
| label81    = {{#if:{{{minorplanet|}}}|[[Geometric albedo]]|[[Albedo]]}}
+
| data81      = {{{albedo|}}}
+
| label82    = [[Temperature]]
+
| data82      = {{{single_temperature|}}}
+
  
| data83      = {{#if:{{{temp_name1|}}}{{{temp_name2|}}}|
+
[[Category:Infobox templates]]
<table style="width: 100%; background-color: #f9f9f9; border: none; margin: 0; text-align: left; line-height: 1.2em; white-space:nowrap" cellspacing=0 cellpadding=0><tr>
+
</noinclude>
<th style="width:33%; padding-right: 0.25em; text-align: left">Surface [[temperature|temp.]]</th>
+
<th style="padding-right: 0.25em; text-align: left">min</th>
+
<th style="padding-right: 0.25em; text-align: left">mean</th>
+
<th style="padding-right: 0.25em; text-align: left">max</th>
+
</tr>{{#if:{{{temp_name1|}}}|<tr>
+
<th style="padding-left: 1.0em">{{{temp_name1}}}</th>
+
<td>{{{min_temp_1|}}}</td>
+
<td>{{{mean_temp_1|}}}</td>
+
<td>{{{max_temp_1|}}}</td>
+
</tr>}}{{#if:{{{temp_name2|}}}|<tr>
+
<th style="padding-left: 1.0em">{{{temp_name2}}}</th>
+
<td>{{{min_temp_2|}}}</td>
+
<td>{{{mean_temp_2|}}}</td>
+
<td>{{{max_temp_2|}}}</td>
+
</tr>}}
+
</table>}}
+
 
+
| label84    = {{#if:{{{minorplanet|}}}|[[Asteroid spectral types|Spectral type]]|Spectral type}}
+
| data84      = {{{spectral_type|}}}
+
| label85    = [[Apparent magnitude]]
+
| data85      = {{{magnitude|}}}
+
| label86    = [[Absolute magnitude#Solar System bodies (H)|Absolute magnitude ''(H)'']]
+
| data86      = {{{abs_magnitude|}}}
+
| label87    = [[Angular diameter]]
+
| data87      = {{{angular_size|}}}
+
 
+
| header90    = {{#if:{{{atmosphere|}}}{{{scale_height|}}}{{{atmosphere_composition|}}}|Atmosphere{{#if:{{{atmosphere_ref|}}}|{{{atmosphere_ref}}} }} }}
+
 
+
| label91    = Surface [[Atmospheric pressure|pressure]]
+
| data91      = {{{surface_pressure|}}}
+
| label92    = [[Scale height]]
+
| data92      = {{{scale_height|}}}
+
| label93    = Composition
+
| data93      = {{{atmosphere_composition|}}}
+
 
+
| below      = <includeonly>{{#if:{{{note|}}}||{{reflist|group="note"}} }}</includeonly>
+
 
+
}}<noinclude>{{documentation}}<!-- Please add interwikis to the /doc subpage, not here --></noinclude>
+

Revision as of 01:39, 2 September 2013

No Title

No Title

No information


Description

An infobox with much easier and nice method for anyone to use. This Infobox classic is a kind of infobox where you can give titles to every row. Below are some of the rules to use this infobox.

Syntax

{{Infobox classic
|Box title    = 
|image        = Image:Example.jpg
|imagewidth   = [defaults to 250]
|imagelink     =
|caption      = Wikipedia
|Row 1 title  =
|Row 1 info   =
|Row 2 title  =
|Row 2 info   =
|Row 3 title  =
|Row 3 info   =
|Row 4 title  =
|Row 4 info   =
|Row 5 title  =
|Row 5 info   =
|Row 6 title  =
|Row 6 info   =
|Row 7 title  =
|Row 7 info   =
|Row 8 title  =
|Row 8 info   =
|Row 9 title  =
|Row 9 info   =
|Row 10 title =
|Row 10 info  =
}}

Notes

  • Keeping the Box Title empty will result in displaying No title
  • If you don't want to display image, just keep Image file Name and Image Size empty.
  • Leaving imagelink blank results in a no click image - decoration only
  • Keeping the Row 1 title empty will result in displaying No title.
  • Keeping the Row (any row) info empty will result in displaying No information.
  • Keeping the Row (any below row 1) title empty will result in that row and the rest of the rows below it will not be displayed.
  • Max row for information: 10 rows.

Sample output

Info Title
Barren One.png
Barren One Links to Barren Two

Title row 1

Info row 1

Title row 2

Info row 2

Title row 3

Info row 3

Title row 4

Info row 4

Title row 5

Info row 5

Title row 6

Info row 6

Title row 7

Info row 7

Title row 8

Info row 8

Title row 9

Info row 9

Title row 10

Info row 10

Complete Infobox:
{{Infobox classic
|Box title = Info Title
|image = Image:Barren One.png
|imagewidth = 120
|imagelink = Barren Two
|caption = Barren One Links to Barren Two
|Row 1 title = Title row 1
|Row 1 info = Info row 1
|Row 2 title = Title row 2
|Row 2 info = Info row 2
|Row 3 title = Title row 3
|Row 3 info = Info row 3
|Row 4 title = Title row 4
|Row 4 info = Info row 4
|Row 5 title = Title row 5
|Row 5 info = Info row 5
|Row 6 title = Title row 6
|Row 6 info = Info row 6
|Row 7 title = Title row 7
|Row 7 info = Info row 7
|Row 8 title = Title row 8
|Row 8 info = Info row 8
|Row 9 title = Title row 9
|Row 9 info = Info row 9
|Row 10 title = Title row 10
|Row 10 info = Info row 10
}}



Info Title

Title row 1

Info row 1

Title row 2

Info row 2

Title row 3

Info row 3

Title row 4

Info row 4

Title row 5

Info row 5

Title row 6

Info row 6

Title row 7

Info row 7

Title row 8

Info row 8

Title row 9

Info row 9

Title row 10

Info row 10

Infobox Image omitted :
{{Infobox classic
|Box title = Info Title
|Row 1 title = Title row 1
|Row 1 info = Info row 1
|Row 2 title = Title row 2
|Row 2 info = Info row 2
|Row 3 title = Title row 3
|Row 3 info = Info row 3
|Row 4 title = Title row 4
|Row 4 info = Info row 4
|Row 5 title = Title row 5
|Row 5 info = Info row 5
|Row 6 title = Title row 6
|Row 6 info = Info row 6
|Row 7 title = Title row 7
|Row 7 info = Info row 7
|Row 8 title = Title row 8
|Row 8 info = Info row 8
|Row 9 title = Title row 9
|Row 9 info = Info row 9
|Row 10 title = Title row 10
|Row 10 info = Info row 10
}}



Info Title

Title row 1

Info row 1

Title row 2

Info row 2

Title row 3

Info row 3

Infobox Image omitted and displaying only 3 rows of information:
{{Infobox classic
|Box title = Info Title
|Row 1 title = Title row 1
|Row 1 info = Info row 1
|Row 2 title = Title row 2
|Row 2 info = Info row 2
|Row 3 title = Title row 3
|Row 3 info = Info row 3
}}



Info Title

Title row 1

Info row 1

Title row 2

Info row 2

Title row 3

Info row 3

Infobox Image and title row 4 omited:
Result: Row 4, 5, and 6 will not be displayed.
{{Infobox classic
|Box title = Info Title
|Row 1 title = Title row 1
|Row 1 info = Info row 1
|Row 2 title = Title row 2
|Row 2 info = Info row 2
|Row 3 title = Title row 3
|Row 3 info = Info row 3
|Row 4 info = Info row 4
|Row 5 title = Title row 5
|Row 5 info = Info row 5
|Row 6 title = Title row 6
|Row 6 info = Info row 6
}}