Extension:AddBodyClass

Category:Unmaintained extensions#AddBodyClass Category:Extensions without an imageCategory:Extensions without a compatibility policyCategory:GPL licensed extensions
MediaWiki extensions manual
AddBodyClass
Release status: unmaintainedCategory:Unmaintained extensions
Implementation Parser function Category:Parser function extensions
Description Allows adding custom classes to the HTML <body> tag
Author(s) Povilas Kanapickas, Will Stott
Latest version 1.2.0 (2016-03-21)
MediaWiki 1.18Category:Extensions with manual MediaWiki version
Database changes No
License GNU General Public License 2.0 or later
Download Category:Extensions in GitHub version control
README
Category:All extensionsCategory:Extensions not in ExtensionJson

The AddBodyClass extension allows adding custom classes to the HTML <body> tag.

Usage

{{#addbodyclass:your_class}}

This will append 'your_class' to the contents of the 'class' attribute of <body> class. You can append multiple classes using:

{{#addbodyclass:your_class1 your_class2 your_class3}}

Installation

Category:All extensions Category:Extensions in GitHub version control Category:Extensions not in ExtensionJson Category:Extensions not using extension registration Category:Extensions with manual MediaWiki version Category:Extensions without a compatibility policy Category:Extensions without an image Category:GPL licensed extensions Category:OutputPageBeforeHTML extensions Category:OutputPageBodyAttributes extensions Category:ParserFirstCallInit extensions Category:Parser function extensions Category:Unmaintained extensions