Difference between revisions of "Template:Infobox irregular satellite"

From blackwiki
Jump to navigation Jump to search
imported>Steven Crossin
(Fix up)
imported>Nrco0e
(unitless semimajor parameter; add apsidal and nodal precession)
 
(11 intermediate revisions by 6 users not shown)
Line 1: Line 1:
 
{{Infobox
 
{{Infobox
|name=Infobox irregular satellite
+
| title   = {{{name|}}}
|title={{{name}}}
+
| image    = {{#invoke:InfoboxImage|InfoboxImage|image={{{image|}}}|size={{{image size|{{{image_size|{{{imagesize|}}}}}}}}}|alt={{{alt|}}}}}
|image={{{image}}}
+
| header1 = {{#if:{{{discoverer|}}}{{{discovery_date|}}}|Discovery {{{ref_discovery|}}} }}
|headerstyle=background:#c0c0c0;
+
| label2   = Discovered by
|labelstyle=background:inherit;
+
| data2   = {{{discoverer|}}}
|header1= Discovery {{{ref_discovery|}}}
+
| label3   = Discovered
|label2= Discovered by  
+
| data3   = {{{discovery_date|}}}
|data2 = {{{discoverer}}}
+
| header4 = {{#if:{{{epoch|}}}{{{semimajor|}}}{{{eccentricity|}}}{{{inclination|}}}{{{period|}}}{{{apsidal_precession|}}}{{{nodal_precession|}}}|{{{orb_elems_type|Mean}}} [[orbit]]al elements {{{ref_orb_elems|}}} }}
|label3= Discovered  
+
| data5   = {{#if:{{{epoch|}}}|[[Epoch (astronomy)|Epoch]] {{{epoch}}}}}
|data3 = {{{discovery_date}}}
+
| label6   = [[Semi-major axis]]
|header4 = {{{orb_elems_type|Mean}}} [[Orbit]]al elements {{{ref_orb_elems|}}}
+
| data6   = {{{semimajor|}}}
|data5= [[Epoch (astronomy)|Epoch]] {{{epoch}}}
+
| label7   = [[Eccentricity (orbit)|Eccentricity]]
|label6= [[Semi-major axis]]
+
| data7   = {{{eccentricity|}}}
|data6 = {{{semimajor}}} [[gigametre|Gm]]
+
| label8   = [[Inclination]]
|label7= [[Eccentricity (orbit)|Eccentricity]]
+
| data8   = {{#if:{{{inclination|}}}|{{{inclination}}}° <sup>*</sup>}}
|data7 = {{{eccentricity}}}
+
| label9   = [[Orbital period]]
|label8= [[Inclination]]
+
| data9   = {{{period|}}}
|data8 = {{{inclination}}}° <sup>*</sup>
+
| label10  = [[Apsidal precession]] period
|label9= [[Orbital period]]
+
| data10  = {{{apsidal_precession|}}}
|data9 = {{{period}}}
+
| label11  = [[Nodal precession]] period
|header10= Physical characteristics
+
| data11  = {{{nodal_precession|}}}
|label11= Mean [[diameter]]
+
| header12 = {{#if:{{{diameter|}}}{{{dimensions|}}}{{{rotation|}}}{{{albedo|}}}{{{color|}}}{{{spectral_type|}}}|Physical characteristics}}
|data11 = {{{diameter}}} <sup>**</sup>
+
| label13  = Mean [[diameter]]
|label12= [[Sidereal day|Rotation period]]
+
| data13  = {{#if:{{{diameter|}}}|{{{diameter}}} <sup>**</sup>}}
|data12 = {{{rotation|?}}}
+
| label14  = dimensions
|label13= [[Albedo]]
+
| data14  = {{{dimensions|}}}
|data13 = {{{albedo}}}
+
| label15  = [[Sidereal day|Rotation period]]
|label14= [[color index|Color]]
+
| data15  = {{{rotation|}}}
|data14 = {{{color|?}}}
+
| label16  = [[Albedo]]
|label15= [[Asteroid spectral types|Spectral type]]
+
| data16  = {{{albedo|}}}
|data15 = {{{spectral_type|?}}}
+
| label17  = [[Color index|Color]]
|below= <sup>*</sup><small>{{{footnote_1|''to the [[ecliptic]]''}}}</small></small>
+
| data17  = {{{color|}}}
<sup>**</sup><small>{{{footnote_2|''based on the albedo''}}}</small>
+
| label18  = [[Asteroid spectral types|Spectral type]]
}}<noinclude>{{Documentation}}</noinclude>
+
| data18  = {{{spectral_type|}}}
 +
| below   = {{#if:{{{inclination|}}}{{{diameter|}}}|{{ubl
 +
| 1 = {{#if:{{{inclination|}}}|<sup>*</sup><small>{{{footnote_1|''to the [[ecliptic]]''}}}</small>}}
 +
| 2 = {{#if:{{{diameter|}}}|<sup>**</sup><small>{{{footnote_2|''based on the albedo''}}}</small>}}
 +
}} }}
 +
}}<noinclude>
 +
{{Documentation}}
 +
</noinclude>

Latest revision as of 01:12, 7 February 2021

[[Category:Infobox templates|Template:Remove first word]]

Template documentation[view] [edit] [history] [purge]
  1. redirect Template:Parameter names example

Usage

Name

  • For the named irregulars use the name followed by the designation e.g. Psamathe - Neptune X
  • Use the provisional designation otherwise

The following parameters for the references should be defined

  • ref_discovery
    • appears in the Discovery header
    • Suggested default <ref name="Discoverers_JPL">Discovery Circumstances [http://ssd.jpl.nasa.gov/?sat_discovery (JPL)]</ref>
  • ref_orb_elems
    • appears in the Orbital elements header

The following parameters are optional (defaults provided)

  • orb_elems_type
    • appears in front of Orbital elements
    • defined default Mean
    • use Osculating or Best-fit when mean elements are not available
  • footnote_1
    • refers to the inclination
    • the default is to the ecliptic; preferred for the irregulars
    • use to the planet's equator if ecliptic is not available
    • try to avoid to the Laplace plane as this is requires the definition of the plane
    • try to avoid re-calculating the inclination
  • footnote_2
    • refers to the diameter
    • the default is based on the albedo