Difference between revisions of "Template talk:Infobox/Body"

From Kerbal Space Program Wiki
Jump to: navigation, search
(Uh, hello?)
(Apoapsis/periapsis: new section)
Line 24: Line 24:
  
 
Where are the Longitude Of Pericenter and the Longitude Ascending Node? These are very important. Has anyone even noticed that they're missing? Also, we should get ready for adding axial tilt, as it may happen.--[[User:Mocha2007|Mocha2007]] ([[User talk:Mocha2007|talk]]) 15:38, 29 October 2012 (UTC)
 
Where are the Longitude Of Pericenter and the Longitude Ascending Node? These are very important. Has anyone even noticed that they're missing? Also, we should get ready for adding axial tilt, as it may happen.--[[User:Mocha2007|Mocha2007]] ([[User talk:Mocha2007|talk]]) 15:38, 29 October 2012 (UTC)
 +
 +
== Apoapsis/periapsis ==
 +
 +
Programmatically, the game reports apoapsis and periapsis as measured from the center of one body to the center of another. This is how they're calculated in astronomy, too. But in-game, the apoapsis/periapsis numbers that are ''displayed onscreen'' have the parent body's radius subtracted from them (presumably because your distance from the surface is a more useful number than your distance from the center).
 +
 +
We should pick one or another for the planetbox and stick with it. I don't really have a preference, but I notice this has confused editors (and perhaps readers), so I figured I'd start a discussion on which numbers to display. =) — [[User:Elembis|Elembis]] ([[User talk:Elembis|talk]]) 18:03, 20 November 2012 (UTC)

Revision as of 18:03, 20 November 2012

Awesome

Good job, I was just thinking about how we needed to add one of these. -- N3X15 (talk) 19:18, 24 September 2012 (UTC)


Thanks, I'm trying to expand on this wiki as much as my limited wiki editing skills will allow :) --Craigmt1 (talk) 20:41, 24 September 2012 (UTC)


I like it. Soon I`ll make it multilanguage. Is my way of making many languages support in one template normal? example. Or there is some easier way? --Varden (talk) 16:42, 26 September 2012 (UTC)

  • I'm not sure :/. If you look at the English and Spanish pages for planets on Wikipedia, they use different templates.[1] [2] --Craigmt1 (talk) 19:23, 26 September 2012 (UTC)
    • I'm to lazy for watching every change in English version and change Russian one. In multilanguage version of template you just change number, and in all languages number would be same. --Varden (talk) 21:57, 26 September 2012 (UTC)
      • I did a little searching, this is the best I could find. It looks like some sort of extension for translation. Perhaps you could ask one of the admins to implement it? http://www.mediawiki.org/wiki/Extension:Translate --Craigmt1 (talk) 23:08, 26 September 2012 (UTC)
        • If it is just a translator - bad idea. I don`t want to translate every change, I want it to work automatically. P.S. Didn't read linked page, just looked and closed =) --Varden (talk) 18:22, 27 September 2012 (UTC)

Dual precision

I am not sure if this would be possible, but I was wondering if the template could be updated so that you can enter the exact value, say 1545612.5625m (yes I mashed numbers for that) and the template automagically can work out to display that value as 1.546Mm but when you hover over it, you get the full exact value, perhaps click on it to toggle to it. This cater for both people wanting to have high precision values and show (by default) more human readable values. I am not sure how possible this really is though, especially the 'click to toggle' as it might require a little snippet of JavaScript, which I don't think is that easy to slip into wikis like this. Thecoshman (talk) 08:19, 18 October 2012 (UTC)

that would be awesome if that could be done. It might be easier for the scripting if it didnt say 1.546Mm but if it said 1.546x10^6 m (or just e6). That way it is mathematically the same, just a different representation of the same unit. But I, by far, dont know enough about programming to be certain about it.--Azivegu (talk) 08:34, 18 October 2012 (UTC)
If we could use a little bit of JavaScript it would be really easy. It would simply require that the data is entered in the base unit, so m rather then Km. I think the templates can do something similar statically, so you enter the precise value and the template will convert it to 'x10^' format. Thecoshman (talk) 10:46, 18 October 2012 (UTC)

Uh, hello?

Where are the Longitude Of Pericenter and the Longitude Ascending Node? These are very important. Has anyone even noticed that they're missing? Also, we should get ready for adding axial tilt, as it may happen.--Mocha2007 (talk) 15:38, 29 October 2012 (UTC)

Apoapsis/periapsis

Programmatically, the game reports apoapsis and periapsis as measured from the center of one body to the center of another. This is how they're calculated in astronomy, too. But in-game, the apoapsis/periapsis numbers that are displayed onscreen have the parent body's radius subtracted from them (presumably because your distance from the surface is a more useful number than your distance from the center).

We should pick one or another for the planetbox and stick with it. I don't really have a preference, but I notice this has confused editors (and perhaps readers), so I figured I'd start a discussion on which numbers to display. =) — Elembis (talk) 18:03, 20 November 2012 (UTC)