Difference between revisions of "User talk:Daniu"

From Kerbal Space Program Wiki
Jump to: navigation, search
(Updating the infoboxes)
m (Updating the infoboxes: -link: this page is going to go;)
 
(6 intermediate revisions by 2 users not shown)
Line 19: Line 19:
 
:::::And short note, [[wing]] and [[winglet]] are two different things here, so I separated them. And I also noticed the problem with the solar panels. I'll try to fix that but for now you might skip the solar panels. — [[User:XZise|xZise]] <small>&#91;[[User talk:XZise|talk]]&#93;</small> 06:16, 28 March 2014 (CDT)
 
:::::And short note, [[wing]] and [[winglet]] are two different things here, so I separated them. And I also noticed the problem with the solar panels. I'll try to fix that but for now you might skip the solar panels. — [[User:XZise|xZise]] <small>&#91;[[User talk:XZise|talk]]&#93;</small> 06:16, 28 March 2014 (CDT)
  
::::::Yes I know Winglet is something else, but {{Infobox/Part/Wing}} was already used... needed a way to split drag-coeff/lift. [[User:Daniu|Daniu]] ([[User talk:Daniu|talk]]) 06:21, 28 March 2014 (CDT)
+
::::::Yes I know Winglet is something else, but ''Template:Infobox/Part/Wing'' was already used... needed a way to split drag-coeff/lift. [[User:Daniu|Daniu]] ([[User talk:Daniu|talk]]) 06:21, 28 March 2014 (CDT)
 +
:::::::It differentiates between upper and lower case. That's why the modular templates are mostly lower case. So {{Tl|Infobox/Part/wing}} would be fine. — [[User:XZise|xZise]] <small>&#91;[[User talk:XZise|talk]]&#93;</small> 08:03, 28 March 2014 (CDT)
 +
:::::::Oh also, <tt>torque drain</tt> and <tt>power consumption</tt> are required for {{Tl|Infobox/Part/command module}}. Of course if you are working on splitting it into probe cores and command pods it might work (also I think <tt>torque drain</tt> is still required sometimes). — [[User:XZise|xZise]] <small>&#91;[[User talk:XZise|talk]]&#93;</small> 08:06, 28 March 2014 (CDT)
 +
 
 +
::::::::Yeah I realized the torque drain got messed up when I moved electricity-stored out of command module...
 +
::::::::That splitting was what I had in mind, and to reuse the energy storage module, but I didn't want to remove any more than I already had so you can take a look if you think it's okay like this.
 +
::::::::It would probably be best to have command modules use the SAS template, plus crew plus fuel, plus energy storage.
 +
::::::::But I'll leave it like this for the weekend. [[User:Daniu|Daniu]] ([[User talk:Daniu|talk]]) 08:25, 28 March 2014 (CDT)
 +
:Okay, I've applied a quickfix so it at least looks good enough for now. Two notes:
 +
:* I was able to make the solar panel module work. A bit of trickery allowed me to show additional information: It basically adds a &lt;ref group="N"&gt;…&lt;/ref&gt; while the main template optionally adds a &lt;references group="N" /&gt;. It is possible to change the N to any other value (if there might be conflicts). Unfortunately I wasn't able to automatise that so you have to manually say there will be references there. I've edited [http://wiki.kerbalspaceprogram.com/w/index.php?title=OX-4W_2x3_Photovoltaic_Panels%2FBox&diff=34302&oldid=34014 one infobox] to show you how it works.
 +
:* Unfortunately the software is unable to pass arguments to it lower/upper templates. So when you have a tank you need to define the fuels twice: Once in the tank module itself (which shows the contents) and once in main template so that this calculates the total mass. One note here: The part.cfg show the dry mass so when the amount of fuel in a part is supplied in the main template it automatically calculates the total mass using the dry mass and the masses of the resources on board. One problem with that is now, that the infobox doesn't show how long a pod does work on it self, because the module doesn't know anymore how much energy it stores.
 +
:— [[User:XZise|xZise]] <small>&#91;[[User talk:XZise|talk]]&#93;</small> 14:54, 28 March 2014 (CDT)

Latest revision as of 18:02, 29 July 2014

Updating the infoboxes

Hi Daniu, while you are at it, can you maybe update the infobox to the new modular system? Eventually all part infoboxes should only use the module system. You can find one example in the version history for the LV-1R. — xZise [talk] 08:09, 27 March 2014 (CDT)

Okay it appears you read my answer. But I noticed that you forgot to set the type. I'm trying to add all types, so please wait a few minutes until I can add them. — xZise [talk] 05:07, 28 March 2014 (CDT)
Yeah I can wait for you to add the types (stuck anyway right now); not sure where I was supposed to add them anyway, in the Parts themselves?
Don't know if you saw, but I created some new modules (winglet, control surface); don't know if there is a list for those so I don't do it double and/or have to add mine?
Am stuck on the solar panel which have a note I can't seem to manage to add in a module.
Also not sure how to modularize the fuel containers. Probably best to add a Discussion there though.— Preceding unsigned comment added by Daniu (talkcontribs) 10:20, 28 March 2014‎ (UTC)
Yes I saw that you added new modules and hopefully I already add all to Template:Infobox/Part#Types. And you add the type to the box, like I did here. Use only the abbreviations and if there is no adequate type available, use parent= and role= separate. This is what I did in R.A.P.I.E.R. Engine/Box. You could also the types to {{Infobox/Part}} ([1]) and {{Infobox/Part/roles}} ([2]).
Oh and it's a good manner to sign your own posts on talk pages with --~~~~. And I now have added most of them so you can continue. — xZise [talk] 05:54, 28 March 2014 (CDT)
Ah and I forgot about the fuel containers. {{Infobox/Part/tank}} will do the job in the future, as it'll support all resources (I'm going to implement them now). An example for LF/OX can be found in Kerbodyne S3-14400 Tank/Box. — xZise [talk] 05:56, 28 March 2014 (CDT)
Hmmmm... where am I supposed to sign with --~~~~? Been looking around on talk pages but don't that anywhere.
Added the {{Infobox/Part/winglet}} module to the table you linked.
I also created a {{Infobox/Part/solar panel}} template, but when using it the note will be displayed wrong, and I'm out of ideas. Maybe you want to take a look, more experience should.
Pretty much done with what I wanted to do (originally only wanted to add the required research everywhere ;)), but if you have anything else I can help with let me know.— Preceding unsigned comment added by Daniu (talkcontribs) 11:06, 28 March 2014‎ (UTC)
The software automatically replaces the ~~~~ with your name and a date time stamp (of course you mustn't use <nowiki> then): — xZise [talk] 06:16, 28 March 2014 (CDT)
And short note, wing and winglet are two different things here, so I separated them. And I also noticed the problem with the solar panels. I'll try to fix that but for now you might skip the solar panels. — xZise [talk] 06:16, 28 March 2014 (CDT)
Yes I know Winglet is something else, but Template:Infobox/Part/Wing was already used... needed a way to split drag-coeff/lift. Daniu (talk) 06:21, 28 March 2014 (CDT)
It differentiates between upper and lower case. That's why the modular templates are mostly lower case. So {{Infobox/Part/wing}} would be fine. — xZise [talk] 08:03, 28 March 2014 (CDT)
Oh also, torque drain and power consumption are required for {{Infobox/Part/command module}}. Of course if you are working on splitting it into probe cores and command pods it might work (also I think torque drain is still required sometimes). — xZise [talk] 08:06, 28 March 2014 (CDT)
Yeah I realized the torque drain got messed up when I moved electricity-stored out of command module...
That splitting was what I had in mind, and to reuse the energy storage module, but I didn't want to remove any more than I already had so you can take a look if you think it's okay like this.
It would probably be best to have command modules use the SAS template, plus crew plus fuel, plus energy storage.
But I'll leave it like this for the weekend. Daniu (talk) 08:25, 28 March 2014 (CDT)
Okay, I've applied a quickfix so it at least looks good enough for now. Two notes:
  • I was able to make the solar panel module work. A bit of trickery allowed me to show additional information: It basically adds a <ref group="N">…</ref> while the main template optionally adds a <references group="N" />. It is possible to change the N to any other value (if there might be conflicts). Unfortunately I wasn't able to automatise that so you have to manually say there will be references there. I've edited one infobox to show you how it works.
  • Unfortunately the software is unable to pass arguments to it lower/upper templates. So when you have a tank you need to define the fuels twice: Once in the tank module itself (which shows the contents) and once in main template so that this calculates the total mass. One note here: The part.cfg show the dry mass so when the amount of fuel in a part is supplied in the main template it automatically calculates the total mass using the dry mass and the masses of the resources on board. One problem with that is now, that the infobox doesn't show how long a pod does work on it self, because the module doesn't know anymore how much energy it stores.
xZise [talk] 14:54, 28 March 2014 (CDT)