Extension:ContainerFilter/pl
![]() 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 |
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.
- Example: MediaWiki table filter
- Example: MediaWiki table filter output
- Example: List filter and output List filter
Instalacja
- Pobierz i umieść plik(i) w katalogu o nazwie
ContainerFilter
w folderzeextensions/
.
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' );
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> }}
External links
- Extension reference: ContainerFilter
![]() | To rozszerzenie jest dołączone do następujących farm/hostów wiki lub pakietów: To nie jest pełna lista. Niektóre farmy/hosty wiki lub pakiety mogą zawierać to rozszerzenie nawet jeśli nie są one tutaj wymienione. Zawsze sprawdzaj swoje farmy/hosty wiki, aby to potwierdzić. |
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