Extension:Tabber
(Redirected from Tabber)
Jump to navigation
Jump to search
Tabber Release status: stable |
|
---|---|
Implementation | Parser function |
Description | Create pages with "Tabs" to dynamically switch between content |
Author(s) | Eric Fortin, Alexia E. Smith |
Latest version | 2.4.5 (2019-08-21) |
MediaWiki | 1.25+ |
PHP | 5.6+ |
License | GNU General Public License 3.0 or later |
Download | GitLab: Note: Outdated: |
* tabber |
|
Translate the Tabber extension if it is available at translatewiki.net | |
The Tabber extension can assign blocks of content to specified tabs and allow users to dynamically switch between them.
- Project homepage
- Documentation at GitLab
- Source code
- Source code at GitLab
- There's also an outdated version available on WMF Git repository.
- Bugs
- Issue tracker at GitLab
- Licensing
- Tabber is released under The GNU General Public License, version 3.0.
Installation[edit]
- Download and place the file(s) in a directory called
Tabber
in yourextensions/
folder. - Add the following code at the bottom of your LocalSettings.php:
wfLoadExtension( 'Tabber' );
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
between words.
Example:
<tabber> multiple word tab=Some neat text here </tabber>
Parser functions and conditionals[edit]
<tabber> Tab1 = {{{1|}}} |-| Tab2 = {{{2|}}} </tabber>
Becomes:
{{#tag:tabber| Tab1={{{1|}}} {{!}}-{{!}} Tab2={{{2|}}} }}
Issues[edit]
- Tabbers do not display on the mobile skin.
- Section editing does not work in Tabbers. If one or more section headers appear in a Tabber, use
__NOEDITSECTION__
on that page.