Template talk:Infobox planet

From formulasearchengine
Revision as of 04:07, 18 February 2014 by en>JeanLucMargot (→‎Moment of inertia missing)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Template:Permprot Template:WPAstronomy User:MiszaBot/config Template:Archives

Age param

This template should include a parameter for specifying the age of a planet. See {{Sun}}.   — C M B J   13:28, 4 November 2012 (UTC)

Please add a link

Please add the language link tr:Şablon:Gezegen bilgi kutusu.

"apsis ="-present-but-apsis-not-defined bug

Hi! There seems to be a teeensy little glitch; when "apsis = esh*t" (or "gee" or "helion" if you must) is specified then "Apesh*t ..." appears as it should.

But if it's just "apsis =" then you get "Ap" and "Peri", which look goofy.

Thanks, Saintrain (talk) 00:40, 11 April 2013 (UTC)

Template:Edit protected If the template includes an entry of the form '| apsis =' with no value, then the infobox displays Aphelion as 'Ap' and Perihelion as 'Peri'. For an example, see 4055 Magellan. Please address this bug. Thank you. Praemonitus (talk) 17:53, 29 September 2013 (UTC)

I've put what I believe are Template:Diff into the sandbox. Please test. --Redrose64 (talk) 19:28, 29 September 2013 (UTC)
I previewed the sandbox template on Earth, 4 Vesta, 67P/Churyumov–Gerasimenko, Europa (moon), 4055 Magellan, and 243 Ida; it corrected the bug and seemed to work without anomalies. Thank you. Praemonitus (talk) 22:54, 29 September 2013 (UTC)
[edit conflict :-)] Thanks Template:Reply to. Came to say the same thing. Saintrain (talk) 23:10, 29 September 2013 (UTC)
Done Since the job queue is borked, if you want to see the fixes straight away, you will need to null-edit pages showing the bug - or you can wait a few weeks for the job queue to get there. --Redrose64 (talk) 09:44, 30 September 2013 (UTC)

Moment of inertia missing

Template:Edit protected The second most important parameter (after bulk density) that describes the interior structure of a planet is the normalized polar moment of inertia (C/MR^2). The normalized polar moment of inertia (C/MR^2) quantifies the distribution of mass inside a planet. It is adimensional. It has been measured for Mercury, Earth, and Mars. It has been inferred for the giant planets and several large satellites. This is a proposal to add this quantity to the planet infobox, immediately after density.

JeanLucMargot (talk) 22:02, 29 August 2013 (UTC)

Hmmm, I think. Not done: please establish a consensus for this alteration before using the Template:Tlx template. --Redrose64 (talk) 19:20, 30 August 2013 (UTC)
Thank you. I am happy to seek a consensus on this non-controversial proposal. Most planetary science texts list the moment of inertia as one of the fundamental descriptors of planets. Examples:
-Hartmann (2005) Moons and Planets, Table 8-1, p. 198
-de Pater & Lissauer (2001) Planetary Sciences, Table 6.1, p. 221
-Lodders & Fegley (1998) The Planetary Scientist's Companion, Table 6.1, p. 128, and corresponding tables of physical properties for other planets
-Hubbard (1984) Planetary Interiors, throughout the book
Does anyone disagree with the inclusion of the moment of inertia in the infobox? Thanks.
JeanLucMargot (talk) 23:08, 30 August 2013 (UTC)
I support IFF the page Normalized polar moment of inertia is created (and populated  :-) first. Saintrain (talk) 16:50, 2 September 2013 (UTC)
That sounds like it could be good addition, of course only if the parameter links to a good explanation about what it means. --JorisvS (talk) 12:00, 5 September 2013 (UTC)
A page describing the moment of inertia factor has been created. Please review and comment on suitability for infobox. Thanks.
JeanLucMargot (talk) 04:07, 18 February 2014 (UTC)


{{#invoke:protected edit request|template}} We only know the number of satellites for the terrestrial planets and some of the asteroids. Everything else should be 'known satellites', don't you think? We make that clear at Saturn, but not elsewhere; even at Jupiter, where the number changes frequently, we simply state that there are 67, which is almost certainly wrong. Could we maybe change the default wording of the heading to 'known satellites', with an option for 'satellites' when we actually mean that, as at Earth and Saturn? — kwami (talk) 18:35, 1 February 2014 (UTC)

Yes, agreed. We do the same thing in the Template:Infobox planetary system with (known) planets, etc. --JorisvS (talk) 19:07, 1 February 2014 (UTC)
I sandboxed a possible fix; parameter is Template:Para - please test. --Redrose64 (talk) 21:25, 1 February 2014 (UTC)
Okay, it works, apart from the caps being off. But the name of the param "noknown_satellites" is confusing to me, as it sounds like "no known satellites". Also, people might put a number into it, which doesn't do anything. Maybe "all satellites" or s.t.? — kwami (talk) 00:24, 2 February 2014 (UTC)
Code is often confusing to me; however, in this case the "no" refers to the word "known". In other words, the word "known" will not be visible if this parameter is set to equal "yes". And if that is the case, the word "Satellites" will need to begin with uppercase "S". One suggestion might be to arrange the wording so that "Satellites" is always at the beginning, and if "known" is needed just enclose it in parens and let it follow "Satellites". – Paine Ellsworth CLIMAX! 02:34, 2 February 2014 (UTC)
I understand the rational, but IMO it's too counter-intuitive to be a good parameter name.
We can change the caps depending on position, though someone can always fix that later. — kwami (talk) 02:40, 2 February 2014 (UTC)
peripheral note: Also curious is that the "Satellites" link is to Natural satellites, and yet the Earth ibox contains (dated) info on artificial satellites. I linked it on the testcases page. Perhaps it should also be linked in the "live" ibox at Earth? The param seems to be just for naturals, and the artificial info in the Earth ibox looks a bit ancient – should it even be there? – Paine Ellsworth CLIMAX! 02:54, 2 February 2014 (UTC)
If we only wanted natural, we should probably call it "moons". I don't see a problem as long as we link appropriately. — kwami (talk) 03:33, 2 February 2014 (UTC)

One other thing, if you set the param to "no", it behaves the same as for "yes". — kwami (talk) 03:22, 2 February 2014 (UTC)

Changed the param to "allsatellites", fixed caps, & should now only trigger if set to 'yes'.

That seems to work for me. Redrose? — kwami (talk) 03:28, 2 February 2014 (UTC)

To address some of the points above: Template:Diff. In that, I essentially copied code from Template:Tlx, which had been suggested by Template:U. This infobox has:
|label13  = No. of {{#if: {{{noknown_stars|}}} | | known }} stars
|label14  = No. of {{#if: {{{noknown_planets|}}} | | known }} planets
Both of these test merely for the presence of any non-blank value in Template:Para and Template:Para - it doesn't matter whether you put Template:Para, Template:Para or Template:Para - the effect is the same. I therefore thought that Template:Para would be a consistent name; also, that by allowing any non-blank value to mean
the word "known" will NOT precede "Satellites" in the "Orbital characteristics" section.
it would give consistent behaviour. --Redrose64 (talk) 14:16, 2 February 2014 (UTC)
Consistent, but needing some improvement in the details. "No" doesn't mean "yes", and "no known" doesn't mean "all known". IMO the other template should be changed to match this one. — kwami (talk) 09:35, 3 February 2014 (UTC)

Have you all decided on parameters to edit, as I am willing to make the edit, but I am not sure if there is consensus here on what to change. Kevin Rutherford (talk) 01:53, 3 February 2014 (UTC)

The sandbox version as of now[1] has proper punctuation and intuitive coding. Is it acceptable to the rest of you? — kwami (talk) 09:35, 3 February 2014 (UTC)
Yep! I just wanted to make sure that I wasn't having to replace a line or something, but all is well now! Kevin Rutherford (talk) 15:16, 3 February 2014 (UTC)