Extension:Backdrop

From mediawiki.org
This page is a translated version of the page Extension:Backdrop and the translation is 100% complete.
Manuel des extensions MediaWiki
Backdrop
État de la version : stable
Implémentation Fonction d'analyseur
Description Fournit au lecteur des personnalisations spécifiques d'arrière-plan
Auteur(s) Sanjay Thiyagarajan (Techwizziediscussion)
Dernière version 1.0.0 (2023-04-28)
MediaWiki 1.37.0+
Modifie la base
de données
Non
Licence Licence MIT
Téléchargement

L'extension Backdrop fournit au lecteur des personnalisations spécifiques d'arrière-plan, de défilage, etc.

Installation

  • Téléchargez et placez le(s) fichier(s) dans un répertoire appelé Backdrop dans votre dossier extensions/.
  • Ajoutez le code suivant à la fin de votre fichier LocalSettings.php  :
    wfLoadExtension( 'Backdrop' );
    
  • Yes Fait – Accédez à Special:Version sur votre wiki pour vérifier que l'extension a bien été installée.

Utilisation

 {{#backdrop: background=Cityatnight.jpg | coverpage=true | hidecontrol=true | titlecolor=white | pagelogo=BBC_logo.png | content-bgcolor=aliceblue | content-textcolor=green }}

Paramètres

  • 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