Wikia

Community Central

Tabbing Infoboxes

86,777pages on
this wiki

Forum page

This Forum has been archived

Visit the new Forums
Forums: Index Community Central Forum Tabbing Infoboxes
Wikia's forums are a place for the community to help other members.
To contact staff directly or to report bugs, please use Special:Contact.
Note: This topic has been unedited for 1387 days. It is considered archived - the discussion is over. Do not add to unless it really needs a response.

Alright, I'm back, but this isn't some user dispute or anything, this is just a raw wiki skill. How do you tab infoboxes? Here's an example. I asked a moderator who knows how to tab infoboxes on that same wiki, but he said that tabbing infoboxes on another wiki is different, and he doesn't know how to do it. So... how do you tab infoboxes? The Yoshiman 97 21:27, June 25, 2010 (UTC)

looking at the page you linked to it has this code just below the top that creates the two infoboxes inside the tabs;

<div class="tabber" style="float: right;">
<div class="tabbertab" title="KHIIFM" style="width:234px">
{{InfoKeyKHIIFM
   <!--Infobox 1's code
}}
</div><div class="tabbertab" title="KH Days" style="width:234px">
{{InfoWeapon358
   <!--Infobox 2's code -->
}}
</div></div>

And in the MediaWiki:commmon.css file a section near the bottom for "tabber", with a web address for were the addon code is from. Have a look what it says on that site (should have details on using the code and what is needed). But in principle you need to copy the code to add to the Common.css file and add the code above with the relevant infobox code were i have stripped it out & change the titles to suit. Note there may be other code needed - check the source link for usage info.
If a page has features on are of interest just go into edit mode and look at the templates and code that build up the page and look at each template listed (some common std ones can generally be ignored) in turn to see what it does (if the wiki is well organised the templates will have documentation with them to help explain them). In this case the info is not in the templates but the use of class= which indicates to look in the .css file for style info. - BulldozerD11 00:22, June 26, 2010 (UTC)

Thank you for your help, again, Bulldozer. The Yoshiman 97 01:38, June 26, 2010 (UTC)

Around Wikia's network

Random Wiki