Extension:RandomImageByCategory/pl

This page is a translated version of the page Extension:RandomImageByCategory and the translation is 44% complete.
Podręcznik rozszerzeń MediaWiki
RandomImageByCategory
Status wydania: stabilne
Realizacja Znaczniki
Opis Displays a random image from a given category
Autor(zy)
Ostatnia wersja 1.4.0 (2020-05-24)
MediaWiki 1.39+
Licencja GNU General Public License 2.0 or later
Pobieranie
Quarterly downloads 6 (Ranked 141st)
Przetłumacz rozszerzenie RandomImageByCategory jeżeli jest dostępne na translatewiki.net

The RandomImageByCategory extension displays a random image from the given category or categories.

Instalacja

  • Pobierz i umieść plik(i) w katalogu o nazwie RandomImageByCategory w folderze extensions/.
    Developers and code contributors should install the extension from Git instead, using:cd extensions/
    git clone https://gerrit.wikimedia.org/r/mediawiki/extensions/RandomImageByCategory
  • Dodaj poniższy kod na dole twojego pliku LocalSettings.php :
    wfLoadExtension( 'RandomImageByCategory' );
    
  •   Zrobione – Przejdź do Special:Version na twojej wiki, aby sprawdzić czy rozszerzenie zostało pomyślnie zainstalowane.

Użycie

Supported parameters are width, limit and categories.

Przykłady
<randomimagebycategory categories="Watermelons"/>
<randomimagebycategory width="200" categories="Featured Image"/>

Zobacz też