Thread:Gloweye/@comment-3974211-20141202210601/@comment-24416108-20141202223053

I'm not to experienced with the way ability frame are created - from the Source Info I think it has something to do with the fact that it's inside a div class(among others, the one that produces a frame around the ability.). This is relevant because it basically cuts the tooltip generator in half, making attempt to render inline.

Custom Tooltips are the best solution. From "my" Wikia: Since the Tooltip would take it's data from a specifiable location, it's easier to have two template: one to generate the tooltip, and one to supply the contents. Also, you can generate a template for each kind of CC itself - one for stun, one for silence, and so on, and call these by kind - thats what we choose for, and we now got 85 pages on the AoW3 wikia, and over 800 templates.

Class name is the basic configuration call, and whenever I give the span class "ability-tooltip" to a ability, it will generate a tooltip based on the data attribute I put in the same span. For example, If you include above example in the common.js here, AND we assume you clear the Crowd Control Info template from all but the current "Tooltip Contents" class, This: Charm  will do the same as you currently intend. (Save for the entangle/polymorph duo icon of course - you could recreate the switch for that.) Should you do that, it will give a tooltip here:

However, my suggestion would be to package them all in different templates - it would remove the hard to edit switch tables you've got now, and just having a Template:Charm(Crowd_Control) wouldn't be so bad I think. If so, the current Template:Crowd Control Info could just contain the generator - with the following in java: and the following template: Template:Crowd Control Info(or just Template:ccinf )  Should already do the trick - it basically allows you to link to any template and renders it's contents into the tooltip, for example the nice table for cc, or even a complete ability.(See Example page for a bunch of text with loads of tooltips and tooltips-in-tooltips).