Extension:RandomGameUnit/de-formal
![]() Release status: stable |
|
---|---|
Implementation | Parser extension |
Description | Displays a randomly chosen picture game, poll or a quiz |
Author(s) | Aaron Wright, David Pean, Jack Phoenix |
Latest version | 2.7 (2020-05-24) |
MediaWiki | 1.39+ |
License | GNU General Public License 2.0 or later |
Download | |
|
|
Quarterly downloads | 4 (Ranked 176th) |
Translate the RandomGameUnit extension if it is available at translatewiki.net | |
Issues | Open tasks · Report a bug |
RandomGameUnit extension displays a randomly chosen picture game, poll or a quiz through the <randomgameunit>
tag.
Requirements
Along with one or more of the following extensions:
Installation
- Die Erweiterung herunterladen und die Datei(en) in ein Verzeichnis namens
RandomGameUnit
im Ordnerextensions/
ablegen. - Folgenden Code am Ende Ihrer
LocalSettings.php
hinzufügen:wfLoadExtension( 'RandomGameUnit' );
- Done – Zu Special:Version in dem Wiki (bei Einstellung auf deutsch nach Spezial:Version) navigieren, um die erfolgreiche Installierung der Erweiterung zu überprüfen.
Parameters
$wgRandomGameDisplay
— controls what games are enabled.$wgRandomGameDisplay['random_poll']
— display a random poll. Defaults totrue
.$wgRandomGameDisplay['random_quiz']
— display a random quiz. Defaults totrue
.$wgRandomGameDisplay['random_picturegame']
— display a random picture game. Defaults totrue
.
$wgRandomImageSize
— width (in pixels) for game images. Defaults to50
.
This extension is included in the following packages and/or wiki farms: This is not an authoritative list. Some wiki farms/hosts may contain this extension even if they are not listed here. Always check with your wiki farms/hosts or bundle to confirm. |