Difference between revisions of "Template talk:Infobox/Part"
From Kerbal Space Program Wiki
m (Forgot to sign... *derp*) |
|||
Line 11: | Line 11: | ||
::<nowiki>{{Partbox/Decoupler}}</nowiki> has no class/API set per default, but can't be overwritten either, so all decouplers have "Unknown API". --[[User:Dgelessus|Dgelessus]] ([[User talk:Dgelessus|talk]]) 10:45, 6 May 2013 (CDT) | ::<nowiki>{{Partbox/Decoupler}}</nowiki> has no class/API set per default, but can't be overwritten either, so all decouplers have "Unknown API". --[[User:Dgelessus|Dgelessus]] ([[User talk:Dgelessus|talk]]) 10:45, 6 May 2013 (CDT) | ||
:::Do you know what API decouplers and separators have? Then I can add it. Or you do it on your own by editing {{Tl|Partbox/Decoupler}}. — [[User:XZise|xZise]] <small>[[[User talk:XZise|talk]]]</small> 13:08, 6 May 2013 (CDT) | :::Do you know what API decouplers and separators have? Then I can add it. Or you do it on your own by editing {{Tl|Partbox/Decoupler}}. — [[User:XZise|xZise]] <small>[[[User talk:XZise|talk]]]</small> 13:08, 6 May 2013 (CDT) | ||
− | ::::If "module=(something)" in the part.cfg is the API, then all decouplers and separators have Part as API. I'll try adding it to <nowiki>{{Partbox/Decoupler}}</nowiki>... | + | ::::If "module=(something)" in the part.cfg is the API, then all decouplers and separators have Part as API. I'll try adding it to <nowiki>{{Partbox/Decoupler}}</nowiki>... --[[User:Dgelessus|Dgelessus]] ([[User talk:Dgelessus|talk]]) 13:15, 6 May 2013 (CDT) |
Revision as of 18:15, 6 May 2013
Rework
I'm working on a new version based on the {{Planetbox}} which you can find here: User:XZise/Partbox If you have any suggestions/feedback please let me know. — XZise (talk) 07:14, 23 February 2013 (CST)
- Okay I now added it into this template;
Class/Role Parameter
What exactly are the class and role parameter? It looks like the role parameter is nothing specific and is simply the type of part. But class seems like a internal definition. But I can't see where the it is defined. — xZise [talk] 10:21, 16 April 2013 (CDT)
Where is the API name set? Some parts have class and role set, but the API name won't appear, while others don't have them set, but have an API. --Dgelessus (talk) 08:26, 6 May 2013 (CDT)
- When you use {{Partbox}} directly it class/role aren't set by default. While the class is optional (it will show Unknown API if not set) role isn't. Now all subtemplates are now choosing role and class for you, to make it easier to add new articles and to be consistent. So {{Partbox}} should only be used, if there aren't many parts of this type and this part doesn't have any additional values (like Isp etc.). Now the class is the API so you have to set the class to change the API but this works only for {{Partbox}}. Mind if I ask you why you want to change the class/role of a part? OR do you mean where the role/class are defined in the part.cfg? — xZise [talk] 09:53, 6 May 2013 (CDT)
- {{Partbox/Decoupler}} has no class/API set per default, but can't be overwritten either, so all decouplers have "Unknown API". --Dgelessus (talk) 10:45, 6 May 2013 (CDT)
- Do you know what API decouplers and separators have? Then I can add it. Or you do it on your own by editing {{Partbox/Decoupler}}. — xZise [talk] 13:08, 6 May 2013 (CDT)
- {{Partbox/Decoupler}} has no class/API set per default, but can't be overwritten either, so all decouplers have "Unknown API". --Dgelessus (talk) 10:45, 6 May 2013 (CDT)