Extension:Backdrop
Appearance
リリースの状態: 安定 |
|
|---|---|
| 実装 | パーサー関数 |
| 説明 | Provides reader specific background customisations |
| 作者 | Sanjay Thiyagarajan (Techwizzieトーク) |
| 最新バージョン | 1.0.0 (2023-04-28) |
| MediaWiki | 1.37.0+ |
| データベースの変更 | いいえ |
| ライセンス | MIT ライセンス |
| ダウンロード | GitHub:
注: |
The Backdrop extension provides a reader specific wiki customization with respect to background, scrolling etc.
インストール
- ダウンロードして、ファイルを
extensions/フォルダー内のBackdropという名前のディレクトリ内に配置します。 - 以下のコードを LocalSettings.php ファイルの末尾に追加します:
wfLoadExtension( 'Backdrop' );
完了 – ウィキの「Special:Version」に移動して、拡張機能が正しくインストールされたことを確認します。
使用法
{{#backdrop: background=Cityatnight.jpg | coverpage=true | hidecontrol=true | titlecolor=white | pagelogo=BBC_logo.png | content-bgcolor=aliceblue | content-textcolor=green }}
パラメーター
- 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
