Extension:FixedHeaderTable
![]() Release status: unmaintained |
|
---|---|
Implementation | Tag |
Description | This extension wraps the jquery.fixedheadertable widget to create tables with fixed headers and optionally fixed columns. |
Author(s) | Ishmal Lewis, Mark Malek |
Latest version | 1.0.0 (2014-09-29) |
MediaWiki | 1.17+ |
PHP | 5.4.0 |
License | GNU General Public License 3.0 or later |
Download | |
Quarterly downloads | 0 |
Translate the FixedHeaderTable extension if it is available at translatewiki.net | |
The FixedHeaderTable extension fixes the header of tables contained within the <fixedheadertable> tag.
Usage
This extension assumes the table markup is formatted line-by-line, with header markup (!
) used for header cells as shown in the example below:
<fixedheadertable fixedcolumns="1">
{| class="wikitable"
! Header 1
! Header 2
|-
| Cell 1
| Cell 2
|-
| Cell 3
| Cell 4
|}
</fixedheadertable>
Parameters
fixedcolumns="3"
- This parameter specifies the amount of columns to fix, counting from the left.
Installation
- Download and move the extracted
FixedHeaderTable
folder to yourextensions/
directory.
Developers and code contributors should install the extension from Git instead, using:cd extensions/
git clone https://gerrit.wikimedia.org/r/mediawiki/extensions/FixedHeaderTable - Add the following code at the bottom of your LocalSettings.php
require_once "$IP/extensions/FixedHeaderTable/FixedHeaderTable.php";
file: Done – Navigate to Special:Version on your wiki to verify that the extension is successfully installed.