User talk:XZise

From Kerbal Space Program Wiki
Revision as of 18:29, 7 April 2013 by Gusta (talk | contribs) (/Data)
Jump to: navigation, search

Planetbox templates

Thanks a lot for your work on Template:Planetbox and related templates! It's really nice to have them cleaned up so that they no longer require redundant information. — Elembis (talk) 13:44, 18 February 2013 (CST)

Spoiler Template

Hello XZise. I noticed that you seem to know your way around MediaWiki syntax. Could you create a "spoiler" template for the wiki which hides content until the user clicks on it? That would be very useful for hiding information about easter eggs, like some of the screenshots on the page about Mün. --Crush (talk) 08:38, 7 March 2013 (CST)

Terminal velocity - chart on Atmosphere

Thanks for fixing it! The many Kerbals that would otherwise have died trying to fudge that value experimentally are most grateful! (They will, more likely than not, be headed for a much more creative death now... for the sake of science, of course.)

-- Joren (talk) 16:51, 27 March 2013 (CDT)

Heh... I didn't even notice that was using a template. I really should have investigated it further instead of just pressing the delete button... pressing the launch button is much more fun, anyway :) -- Joren (talk) 16:57, 27 March 2013 (CDT)

Error caused by Template:Sigfigs and Template:OrbitAltitude

Hello XZise. Your recent edits to these two templates caused an error message on the page Mün (old version with the error message). I fixed it temporarily by removing the Sigfigs template around the OrbitalAltitude template, but you might want to look into it. --Crush (talk) 07:50, 7 April 2013 (CDT)

This is simply because {{OrbitAltitude}} doesn't return only a number (like 1337.42) and instead format it (1 337.42). Now {{Sigfigs}} expects a plain number. To fix this either remove sigfigs (preferred as it's not useful to use it in cases like your's) or use {{OrbitAltitude/Core}}. Unfortunately every celestials article uses {{OrbitAltitude}} indirectly via the {{Planetbox}} so “What links here” is not of great use. — xZise [talk] 08:03, 7 April 2013 (CDT)
Okay I looked in all articles. I couldn't find any new location of this error. As there is no need to make OrbitAltitude compatible with Sigfigs I would leave it as it is. — xZise [talk] 08:26, 7 April 2013 (CDT)
PS: {{Tl}} creates easily those cool looking clickable templates. — xZise [talk] 08:08, 7 April 2013 (CDT)

/Data

XZise, the problem of using one data template is that the template is in english. Gusta (talk) 12:31, 7 April 2013 (CDT)

Hmmm but Kerbol/de or Kerbol/ru have it in German/Russian? In some languages (e.g. Swedish) the translations are missing. But then somebody with Swedish skills should do it. — xZise [talk] 12:47, 7 April 2013 (CDT)
Ah I saw that you are active in the Portuguese Wikipedia and Planetbox doesn't support this language. I guess you saw this edit and marking Kerbol/pt/Data for deletion. If you want to add the Portuguese translation simply edit {{Planetbox}}. — xZise [talk] 12:53, 7 April 2013 (CDT)
You mean creating Template:Planetbox/pt ? Gusta (talk) 12:55, 7 April 2013 (CDT)
“If you want to add the Portuguese translation simply edit {{Planetbox}}” No not creating a /pt translation (there is no {{Planetbox/de}}. For example I want to add the translation of mass for Klingon I can do this by adding “tlh=ngI'” to
{{lang|en=[[w:Mass|Mass]]|nl=[[w:nl:Massa|Massa]]|fr=[[w:fr:Masse|Masse]]|pl=[[w:pl:Masa_(fizyka)|Masa]]|ru=[[w:ru:Масса|Масса]]|de=[[w:de:Masse (Physik)|Masse]]}}
As you can see there are already translations into Dutch, French, Polish, Russian and German. Now if you are on a page with /fr as suffix (e.g. Kerbol/fr) it selects the French text. If there is no text in the “active” language it will use by default English. As {{lang}} doesn't understand tlh/Klingon it won't work ;)xZise [talk] 13:19, 7 April 2013 (CDT)
Ohh, understood now. Thanks a lot!. Gusta (talk) 13:29, 7 April 2013 (CDT)