Extension:Tabber
From MediaWiki.org
|
Tabber Release status: stable |
|
|---|---|
| Description | Create pages with "Tabs" |
| Author(s) | Eric Fortin (Kenyu73talk) |
| Latest version | 1.2 - 10/17/2011 |
| MediaWiki | 1.19+ |
| License | GPL |
| Download | |
|
Translate the Tabber extension if it is available at translatewiki.net |
|
| Check usage and version matrix; code metrics | |
- Please see Extension:Header Tabs a better tab extension.
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
Usage[edit | edit source]
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>
Multiple word tabs[edit | edit source]
Add between words. Example:
<tabber> multiple word tab=Some neat text here </tabber>
Parser functions and conditionals[edit | edit source]
<tabber>
Tab1 = {{{1|}}}
|-|
Tab2 = {{{2|}}}
</tabber>
Becomes:
{{#tag:tabber|
Tab1={{{1|}}}
{{!}}-{{!}}
Tab2={{{2|}}}
}}
Installation[edit | edit source]
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" );
See also[edit | edit source]
Current MediaWiki Projects
Extension:Calendar (Kenyu73) -- wikipage calendar
Extension:MW Calendar -- database calendar
Extension:LaunchExternal
Extension:Presentation
Extension:Tabber
Extension:Menu