Board Thread:Suggestions on Baldur's Gate Wiki/@comment-35012282-20180411053618/@comment-35012282-20180414061012

CompleCCity wrote: Does the #switch still work with portable infoboxes?

I once also was planning some auto-categorization in the infoboxes, but haven't yet dared to touch the categories too much. They're somehow Islandking's thing. 😉 Oh indeed, it does work! :) But for categorization purposes, you need to place it outside the   tags. I just added this bit of code to the Infobox Spell Template (borrowed from this Wiki), and it's working wonders! (I had no way of posting it here except by this screenshot, since putting the code here directly even with the "nowiki" tags is looking clumsy and indecipherable.)

​​​​​​Of course, you wouldn't need it here, since the spells are already categorized. But there in the IWD Wiki, this is saving a lot of precious time! :)