Erweiterung:Backdrop
Appearance
Freigabestatus: stabil |
|
|---|---|
| Einbindung | Parser-Funktion |
| Beschreibung | Bietet leserspezifische Hintergrundanpassungen |
| Autor(en) | Sanjay Thiyagarajan (TechwizzieDiskussion) |
| Letzte Version | 1.0.0 (2023-04-28) |
| MediaWiki | 1.37.0+ |
| Datenbankänderungen | Nein |
| Lizenz | MIT-Lizenz |
| Herunterladen | GitHub:
Hinweis: |
Die Erweiterung Backdrop bietet leserspezifische Wiki-Anpassung in Bezug auf Hintergrund, Scrollen usw.
Installation
- Die Erweiterung herunterladen und die Datei(en) in ein Verzeichnis namens
Backdropim Ordnerextensions/ablegen. - Folgenden Code am Ende deiner LocalSettings.php-Datei einfügen:
wfLoadExtension( 'Backdrop' );
Erledigt – Navigiere zu Special:Version in deinem Wiki, um zu überprüfen, ob die Erweiterung erfolgreich installiert wurde.
Verwendung
{{#backdrop: background=Cityatnight.jpg | coverpage=true | hidecontrol=true | titlecolor=white | pagelogo=BBC_logo.png | content-bgcolor=aliceblue | content-textcolor=green }}
Parameter
- 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
