Difference between revisions of "User talk:XZise/Archives/2013/04"
From Kerbal Space Program Wiki
m |
m (→/Data) |
||
Line 13: | Line 13: | ||
: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. — [[User:XZise|xZise]] <small valign="middle">[[[User talk:XZise|talk]]]</small> 12:47, 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. — [[User:XZise|xZise]] <small valign="middle">[[[User talk:XZise|talk]]]</small> 12:47, 7 April 2013 (CDT) | ||
:Ah I saw that you are active in the Portuguese Wikipedia and [[Template:Infobox/Body#Translating|Infobox/Body]] doesn't support this language. I guess you saw [http://wiki.kerbalspaceprogram.com/w/index.php?title=Kerbol%2Fpt&diff=13332&oldid=13233 this edit] and marking '''Kerbol/pt/Data''' for deletion. If you want to add the Portuguese translation simply edit {{Tl|Infobox/Body}}. — [[User:XZise|xZise]] <small valign="middle">[[[User talk:XZise|talk]]]</small> 12:53, 7 April 2013 (CDT) | :Ah I saw that you are active in the Portuguese Wikipedia and [[Template:Infobox/Body#Translating|Infobox/Body]] doesn't support this language. I guess you saw [http://wiki.kerbalspaceprogram.com/w/index.php?title=Kerbol%2Fpt&diff=13332&oldid=13233 this edit] and marking '''Kerbol/pt/Data''' for deletion. If you want to add the Portuguese translation simply edit {{Tl|Infobox/Body}}. — [[User:XZise|xZise]] <small valign="middle">[[[User talk:XZise|talk]]]</small> 12:53, 7 April 2013 (CDT) | ||
− | ::You mean creating | + | ::You mean creating '''Template:Infobox/Body/pt''' ? [[User:Gusta|Gusta]] ([[User talk:Gusta|talk]]) 12:55, 7 April 2013 (CDT) |
− | :::“If you want to add the Portuguese translation simply edit {{Tl|Infobox/Body}}” No not creating a /pt translation (there is no | + | :::“If you want to add the Portuguese translation simply edit {{Tl|Infobox/Body}}” No not creating a /pt translation (there is no '''Infobox/Body/de'''. For example I want to add the translation of mass for Klingon I can do this by adding “<tt>tlh=ngI'</tt>” to |
:::<pre>{{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]]}}</pre> | :::<pre>{{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]]}}</pre> | ||
:::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. <small>''As {{Tl|lang}} doesn't understand tlh/Klingon it won't work ;)''</small> — [[User:XZise|xZise]] <small valign="middle">[[[User talk:XZise|talk]]]</small> 13:19, 7 April 2013 (CDT) | :::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. <small>''As {{Tl|lang}} doesn't understand tlh/Klingon it won't work ;)''</small> — [[User:XZise|xZise]] <small valign="middle">[[[User talk:XZise|talk]]]</small> 13:19, 7 April 2013 (CDT) | ||
::::Ohh, understood now. Thanks a lot!. [[User:Gusta|Gusta]] ([[User talk:Gusta|talk]]) 13:29, 7 April 2013 (CDT) | ::::Ohh, understood now. Thanks a lot!. [[User:Gusta|Gusta]] ([[User talk:Gusta|talk]]) 13:29, 7 April 2013 (CDT) |
Latest revision as of 09:31, 7 March 2020
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 {{Infobox/Body}} so “What links here” is not of great use. — xZise [talk] 08:03, 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 Infobox/Body 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 {{Infobox/Body}}. — xZise [talk] 12:53, 7 April 2013 (CDT)
- You mean creating Template:Infobox/Body/pt ? Gusta (talk) 12:55, 7 April 2013 (CDT)
- “If you want to add the Portuguese translation simply edit {{Infobox/Body}}” No not creating a /pt translation (there is no Infobox/Body/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)
- You mean creating Template:Infobox/Body/pt ? Gusta (talk) 12:55, 7 April 2013 (CDT)