Extension:ContainerFilter/pl

Category:Extensions with invalid or missing type/plCategory:GPL licensed extensions/pl
Podręcznik rozszerzeń MediaWiki
ContainerFilter
Status wydania: stabilneCategory:Stable extensions/pl
Opis Allows to filter content elements within a page
Autor(zy) Hallo Welt! GmbH
Ostatnia wersja 3.0.0-alpha
Polityka zgodności Dla każdego wydania MediaWiki, które jest wydaniem wsparcia długoterminowego, istnieje odpowiednia gałąź w rozszerzeniu.
MediaWiki 1.39+Category:Extensions with manual MediaWiki version
Licencja Licencja GNU General Public License 3.0 wyłącznie
Pobieranie Category:Extensions in Wikimedia version control/pl
Quarterly downloads 2 (Ranked 96th)
Przetłumacz rozszerzenie ContainerFilter jeżeli jest dostępne na translatewiki.net
Category:All extensions/pl

You can now mark sections of a page for filtering and display a filter just for the content located within these sections of the page.

Instalacja

  • Pobierz i umieść plik(i) w katalogu o nazwie ContainerFilter 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/ContainerFilter
  • Dodaj poniższy kod na dole twojego pliku LocalSettings.php :
    wfLoadExtension( 'ContainerFilter' );
    
  • Yes Zrobione – Przejdź do Special:Version na twojej wiki, aby sprawdzić czy rozszerzenie zostało pomyślnie zainstalowane.

Użycie

For use with a table, you must use class=wikitable. Other class definitions are possible:

<containerfilter />
{| class="wikitable sortable"
 ! Item      !! Type 
 |-
 | Apple     || Fruit
 |-
 | Potato    || Vegetable
 |-
 | Pear      || Fruit 
 |-
 | Pumpkin   || Vegetable
 |-
 | Raspberry || Fruit
 |-
 | Spinach   || Vegetable 
 |}

With Semantic MediaWiki

When using Semantic MediaWiki, you can use ContainerFilter with the following syntax:

{{#ask: [[Category:Cities]]
 |format=ul
 |class=filterexample
 |intro=<containerfilter selector=".filterexample li">
 |outro=</containerfilter>
}}
Category:Extensions by HalloWelt/pl
Category:All extensions/pl Category:Extensions by HalloWelt/pl Category:Extensions in Wikimedia version control/pl Category:Extensions included in BlueSpice/pl Category:Extensions with invalid or missing type/pl Category:Extensions with manual MediaWiki version Category:GPL licensed extensions/pl Category:ParserFirstCallInit extensions/pl Category:Stable extensions/pl