Wikia

Harry Potter Wiki

Help:Tabber

Create Talk0
Tabber
Tabber used to display character types
This extension is enabled by default on Wikia.

Tabber is an extension that allows you to add multiple tabs to a section of content, which can be toggled without having to reload the page.

Step-By-Step

  • Open an article for editing and switch to Source mode.
  • Copy and paste the following code into your editor.
<tabber>
First Tab Title=
First tab sample text. Replace this with your own content.
|-|
Second Tab Title=
Second tab content goes here. Replace this with your own content.
|-|
Third Tab Title=
Third tab content goes here. Replace this with your own content.
</tabber>
  • Click "Preview". You'll see that the code produced these tabs:

First tab sample text. Replace this with your own content.

Second tab content goes here. Replace this with your own content.

Third tab content goes here. Replace this with your own content.


  • Click "Back" to return to editing.
  • Edit your tabs by replacing the text of the titles and content with your wiki's content. For example, replace with "First Tab Title" with "Characters," and replace the sample text with descriptions and images of your favorite characters. You can also change the number of tabs by adding or removing code.

Usage Information

Formatting: Keep in mind that the title should always end with an equal sign ("="), and the tab separator ("|-|") must always appear between tabs.

Wikicode: You can use any wikicode within your tabs, including templates and images.

Headers: H2 and H3 headers are disabled by default in Tabber. You can enable them by adding the following code to MediaWiki:common.css:

.tabberlive .tabbertab h2, .tabberlive .tabbertab h3 { 
display:block !important; 
}


See also

Further Help & Feedback

Photos

Add a Photo
18,911photos on this wiki
See all photos >

Recent Wiki Activity

See more >

Around Wikia's network

Random Wiki