Forum:Tabber with infoboxes

I need help with making tabs for infoboxes. I want it to be like the two examples below:

I already know how to make different tabs for different images but I don't how to make different tabs for different infoboxes. I tried viewing the coding for it on Kingdom Hearts Wiki (the site the examples are from) but it only confused me. Help, please?

Here's an example of one of my infoboxes: InfoCharacter template from VG Wiki

--iSodium, VG Wiki Creator (Talk) 23:27, June 6, 2011 (UTC)


 * The simple way is to do:

 First tab = Everything that's between the includeonly tags in your template here, table width changed from 45% to 100% Second tab = Second infobox template code here Third tab = Third infobox template code here


 * and that will create the same results with a FIXED number of tabs. However, the Kingdom Hearts wiki is using div blocks for every tab and the tabber itself. I assume it's because they wanted to allow parser functions within the tabber and thus make some tabs optional, depending if some parameters are provided. If you also want some tabs appear or not depending on various provided parameters leave a shout here, and I'll try to explain how it's done. It would be easier to show an example, but for that I would need to know which infobox templates you want to include. — Sovq 08:07, June 7, 2011 (UTC)
 * That code is for the template itself, right? Not for the page calling the template?
 * 14:26, June 7, 2011 (UTC)
 * 14:26, June 7, 2011 (UTC)


 * Yes. — Sovq 16:09, June 7, 2011 (UTC)

I would like to know how to do them so that they're optional like Kingdom Hearts Wiki, please. By the way, thanks for the help so far. --iSodium, VG Wiki Creator (Talk) 19:25, June 7, 2011 (UTC)


 * In that case it would be helpful if you said which templates you want on each tab. It will be easier for me to show an example of how it's done, rather than just explain it theoretically. — Sovq 19:33, June 7, 2011 (UTC)