Forum:Data itemtip breaks armor sets

One of the widgets I had working under the direct use of Template:Itemtip was inclusion of categories with the armor set tooltip. For instance, Ymirjar Lord's Battleplate would import Category:Warrior set items and Category:Ymirjar Lord's Battlegear set items from the set page (Ymirjar Lord's Battlegear).

This apparently does not happen with the  scheme. The only side effect I know of is that the additional categories do not get added.

I would be a sad panda if we could not get this to work, as it saves a lot of repeated effort and simplifies recategorization. --Eirik Ratcatcher (talk) 23:16, 10 August 2011 (UTC)
 * The effect is not unexpected, and it should be easy enough to fix.... -- 23:31, 10 August 2011 (UTC)
 * I assume by "easy enough to fix" you mean "make it work again without devolving to pushing the categories to the individual item pages". The knowledge for that fix is not within my skill set.  Would whoever does fix it please contact me and show me what you did, and how?  Perhaps I can put it into my skill set with your aid. --Eirik Ratcatcher (talk) 23:22, 16 August 2011 (UTC)
 * I'm confused -- what's a "widget" in this context, and when did we use Itemtip directly? &mdash; foxlit (talk) 13:53, 19 August 2011 (UTC)
 * "widget" = "thing that does something". Think of it like a "hack", a tricky bit of code.  In this case, a technique that took advantage of how set items would include a link to the "set description" page to piggyback some categories into the set item pages.  At the time, it used Tooltip.  So no, I cannot say specifically that Itemtip ever did this correctly.  But Tooltip did.  That it did not carry over is a fault in translation, or an unintended side effect due to the new #data functionality. --Eirik Ratcatcher (talk) 22:29, 24 August 2011 (UTC)

The core of the issue is that the set articles are no longer transcluded to generate item tooltips -- so including categorization within &lt;includeonly> sections has no effect. Some discussions in the past suggest that it might not be desirable to do categorization within settip/itemtip itself, as that'd almost always require additional invisible parameters to be added to those templates.

To restore some of that functionality, I've added  to the settip boilerplate (should contain the category tags that need to be applied to set item articles, and no other visible content); you can see an example of a set page update to take advantage of this here. On a side note, &lt;onlyinclude>, &lt;includeonly>, and |mode={ { {mode|}}}, |arg={ { {arg|}}} can be removed from set articles -- those things are no longer meaningful in this context. &mdash; foxlit (talk) 21:43, 12 November 2011 (UTC)