Extension:Backdrop
![]() Release status: stableCategory:Stable extensions |
|
---|---|
Implementation | Parser functionCategory:Parser function extensions |
Description | Provides reader specific background customisations |
Author(s) | Sanjay Thiyagarajan (Techwizzietalk) |
Latest version | 1.0.0 (2023-04-28) |
MediaWiki | 1.37.0+Category:Extensions with manual MediaWiki version |
Database changes | No |
License | MIT License |
Download | GitHub: Note: |
The Backdrop extension provides a reader specific wiki customization with respect to background, scrolling etc.
Installation
- Download and place the file(s) in a directory called
Backdrop
in yourextensions/
folder. - Add the following code at the bottom of your LocalSettings.php file:
wfLoadExtension( 'Backdrop' );
Done – Navigate to Special:Version on your wiki to verify that the extension is successfully installed.
Usage
{{#backdrop: background=Cityatnight.jpg | coverpage=true | hidecontrol=true | titlecolor=white | pagelogo=BBC_logo.png | content-bgcolor=aliceblue | content-textcolor=green }}
Parameters
- background - Name of the image to be set as the background
- coverpage - If a cover page displaying the title of the page along with the page logo is needed
- hidecontrol - Hides the page controls like Edit, Delete, etc., to everyone but the logged-in user
- titlecolor - Color to be used for the titles and subtitles throughout the article / page
- pagelogo - Name of the image to be set as page logo
- content-bgcolor - Color to be used for the background of the card displaying the main content
- content-textcolor - Color to be used for the text in the main content
Category:All extensions
Category:Extensions in GitHub version control
Category:Extensions with manual MediaWiki version
Category:Extensions without a compatibility policy
Category:Extensions without an image
Category:MIT licensed extensions
Category:ParserFirstCallInit extensions
Category:Parser function extensions
Category:Stable extensions