Extension:Tabber

From MediaWiki.org
Jump to navigation Jump to search
Other languages:Project:Language policy English  • 한국어


MediaWiki extensions manualManual:Extensions
Crystal Clear action run.svg
Tabber

Release status:Extension status stable

Tabber Extension - Sreenshot.JPG
ImplementationTemplate:Extension#type Parser function
DescriptionTemplate:Extension#description Create pages with "Tabs" to dynamically switch between content.
Author(s)Template:Extension#username Eric Fortin, Alexia E. Smith
Latest versionTemplate:Extension#version 2.4.3 (2018-01-26)
MediaWikiTemplate:Extension#mediawiki 1.25+
PHPTemplate:Extension#php 5.6+
LicenseTemplate:Extension#license GNU General Public License 3.0 or later
Download

Outdated:

TagsTemplate:Extension#tags
* tabber
Hooks usedTemplate:Extension#hook
ParserFirstCallInitManual:Hooks/ParserFirstCallInit

Translate the Tabber extension if it is available at translatewiki.net

Check usage and version matrix.

The Tabber extension can assign blocks of content to specified tabs and allow user to dynamically switch between them.

Project Homepage
Documentation at Github
Mediawiki Extension Page
Extension:Tabber
Source Code
Source Code at Github
There's also an outdated version available on WMF Git repository.
Bugs
Issue Tracker at Github
Licensing
Tabber is released under The GNU General Public License, version 3.0.

Installation[edit]

  • Download, extract and place the file(s) in a directory called Tabber in your extensions/ folder.
  • Add the following code at the bottom of your LocalSettings.php:
    wfLoadExtension( 'Tabber' );
    
  • YesY Done - Navigate to Special:Version on your wiki to verify that the extension is successfully installed.

Usage[edit]

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]

Add &nbsp; between words. Example:

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

Parser functions and conditionals[edit]

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

Becomes:

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

See also[edit]

Other languages:Project:Language policy English  • 한국어