Difference between revisions of "Template:Infobox irregular satellite"

From blackwiki
Jump to navigation Jump to search
imported>Frietjes
imported>Frietjes
Line 1: Line 1:
 
{{Infobox
 
{{Infobox
| title    = {{{name}}}
+
| title    = {{{name|}}}
| image     = {{#invoke:InfoboxImage|InfoboxImage|image={{{image|}}}|size={{{image size|{{{image_size|{{{imagesize|}}}}}}}}}|alt={{{alt|}}}}}  
+
| image   = {{#invoke:InfoboxImage|InfoboxImage|image={{{image|}}}|size={{{image size|{{{image_size|{{{imagesize|}}}}}}}}}|alt={{{alt|}}}}}  
| header1  = Discovery {{{ref_discovery|}}}
+
| header1  = {{#if:{{{discoverer|}}}{{{discovery_date|}}}|Discovery {{{ref_discovery|}}} }}
 
| label2  = Discovered by
 
| label2  = Discovered by
| data2    = {{{discoverer}}}
+
| data2    = {{{discoverer|}}}
 
| label3  = Discovered
 
| label3  = Discovered
| data3    = {{{discovery_date}}}
+
| data3    = {{{discovery_date|}}}
| header4  = {{{orb_elems_type|Mean}}} [[orbit]]al elements {{{ref_orb_elems|}}}
+
| header4  = {{#if:{{{epoch|}}}{{{semimajor|}}}{{{eccentricity|}}}{{{inclination|}}}{{{period|}}}|{{{orb_elems_type|Mean}}} [[orbit]]al elements {{{ref_orb_elems|}}} }}
| data5    = [[Epoch (astronomy)|Epoch]] {{{epoch}}}
+
| data5    = {{#if:{{{epoch|}}}|[[Epoch (astronomy)|Epoch]] {{{epoch}}}}}
 
| label6  = [[Semi-major axis]]
 
| label6  = [[Semi-major axis]]
| data6    = {{{semimajor}}} [[gigametre|Gm]]
+
| data6    = {{#if:{{{semimajor|}}}|{{{semimajor}}} [[gigametre|Gm]]}}
 
| label7  = [[Eccentricity (orbit)|Eccentricity]]
 
| label7  = [[Eccentricity (orbit)|Eccentricity]]
| data7    = {{{eccentricity}}}
+
| data7    = {{{eccentricity|}}}
 
| label8  = [[Inclination]]
 
| label8  = [[Inclination]]
| data8    = {{{inclination}}}° <sup>*</sup>
+
| data8    = {{#if:{{{inclination|}}}|{{{inclination}}}° <sup>*</sup>}}
 
| label9  = [[Orbital period]]
 
| label9  = [[Orbital period]]
| data9    = {{{period}}}
+
| data9    = {{{period|}}}
| header10 = Physical characteristics
+
| header10 = {{#if:{{{diameter|}}}{{{dimensions|}}}{{{rotation|}}}{{{albedo|}}}{{{color|}}}{{{spectral_type|}}}|Physical characteristics}}
 
| label11  = Mean [[diameter]]
 
| label11  = Mean [[diameter]]
| data11  = {{{diameter}}} <sup>**</sup>
+
| data11  = {{#if:{{{diameter|}}}|{{{diameter}}} <sup>**</sup>}}
 
| label12  = dimensions
 
| label12  = dimensions
| data12  = {{{dimensions}}}
+
| data12  = {{{dimensions|}}}
 
| label13  = [[Sidereal day|Rotation period]]
 
| label13  = [[Sidereal day|Rotation period]]
| data13  = {{{rotation|?}}}
+
| data13  = {{{rotation|}}}
 
| label14  = [[Albedo]]
 
| label14  = [[Albedo]]
| data14  = {{{albedo}}}
+
| data14  = {{{albedo|}}}
 
| label15  = [[Color index|Color]]
 
| label15  = [[Color index|Color]]
| data15  = {{{color|?}}}
+
| data15  = {{{color|}}}
 
| label16  = [[Asteroid spectral types|Spectral type]]
 
| label16  = [[Asteroid spectral types|Spectral type]]
| data16  = {{{spectral_type|?}}}
+
| data16  = {{{spectral_type|}}}
| below    = <sup>*</sup><small>{{{footnote_1|''to the [[ecliptic]]''}}}</small></small>
+
| below    = {{#if:{{{inclination|}}}{{{diameter|}}}|{{ubl
<sup>**</sup><small>{{{footnote_2|''based on the albedo''}}}</small>
+
| 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>
 
}}<noinclude>
 
{{Documentation}}
 
{{Documentation}}
 
</noinclude>
 
</noinclude>

Revision as of 16:04, 12 July 2017

[[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