Extension:Tabber

From MediaWiki.org
Jump to: navigation, search
MediaWiki extensions manual - list
Crystal Clear action run.png
Tabber

Release status: experimental

Tabber.JPG
Description Create pages with "Tabs"
Author(s) Eric Fortin (Kenyu73Talk)
Last version 1.2 - 10/17/2011
License GPL
Download Download snapshot
Subversion [Help]

Browse source code
View code changes

Check usage (experimental)

This allows the author to create tabs within a page. The tabs can contain any valid wiki data (links, images, templates, etc).

  • dedicated CSS file for easy customization
  • dedicated Javascript file

Based off the javascript code from barelyfitz.com

Contents

[edit] Usage

Tabs are created as follows: <tabName>=<tabBody>

Tabs are separated by: "|-|"

<tabber>
 tab1=Some neat text here
|-|
 tab2=
 [http://www.google.com Google]<br>
 [http://www.cnn.com Cnn]<br>
|-|
 tab3={{Template:SomeTemplate}}
</tabber>

[edit] Multiple word tabs

Add &nbsp; between words. Example:

<tabber>
 multiple&nbsp;word&nbsp;tab=Some neat text here
</tabber>

[edit] Parser functions and conditionals

<tabber>
Tab1 = {{{1|}}}
|-|
Tab2 = {{{2|}}}
</tabber>

Becomes:

{{#tag:tabber|
Tab1={{{1|}}}
{{!}}-{{!}}
Tab2={{{2|}}}
}}

[edit] Installation

There are three files in the zip file:

  • Tabber.css
  • Tabber.js
  • Tabber.php

Move these three files in the tabber folder to the extensions folder.

Add the following to LocalSettings.php:

require_once ( "$IP/extensions/Tabber/Tabber.php" );

[edit] See Also

Current MediaWiki Projects

Extension:Calendar (Kenyu73) -- wikipage calendar
Extension:MW Calendar -- database calendar
Extension:LaunchExternal
Extension:Presentation
Extension:Tabber
Extension:Menu
Personal tools
Namespaces
Variants
Actions
Site
Support
Download
Development
Communication
Print/export
Toolbox