Extension:RandomImageByCategory/de-formal
![]() Release status: stable |
|
---|---|
Implementation | Tag |
Description | Displays a random image from a given category |
Author(s) |
|
Latest version | 1.4.0 (2020-05-24) |
MediaWiki | 1.39+ |
License | GNU General Public License 2.0 or later |
Download | |
Quarterly downloads | 3 (Ranked 171st) |
Translate the RandomImageByCategory extension if it is available at translatewiki.net | |
The RandomImageByCategory extension displays a random image from the given category or categories.
Installation
- Die Erweiterung herunterladen und die Datei(en) in ein Verzeichnis namens
RandomImageByCategory
im Ordnerextensions/
ablegen. - Folgenden Code am Ende Ihrer
LocalSettings.php
hinzufügen:wfLoadExtension( 'RandomImageByCategory' );
- Done – Zu Special:Version in dem Wiki (bei Einstellung auf deutsch nach Spezial:Version) navigieren, um die erfolgreiche Installierung der Erweiterung zu überprüfen.
Usage
Supported parameters are width
, limit
and categories
.
- Examples
<randomimagebycategory categories="Watermelons"/>
<randomimagebycategory width="200" categories="Featured Image"/>
Siehe auch
- Extension:Random In Category — Direct the user to a random page in a specified category