Extension:ContainerFilter/pl
Appearance
Status wydania: stabilne |
|
|---|---|
| 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+ |
| Licencja | Licencja GNU General Public License 3.0 wyłącznie |
| Pobieranie | |
| Przetłumacz rozszerzenie ContainerFilter jeżeli jest dostępne na translatewiki.net | |
The ContainerFilter extension allows filtering content elements within a page.
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
ContainerFilterw 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
General
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: |
