No edit summary Tag: 2017 source edit |
No edit summary Tag: 2017 source edit |
||
Line 9: | Line 9: | ||
|desc= | |desc= | ||
|features= The extension '''ContainerFilter''' adds a <code><nowiki><containerfilter /></nowiki></code> tag to a page. It allows to filter page content based on its CSS-class. By default, the class <code>.wikitable tr</code> is used to filter content. This allows to quickly filter a standard MediaWiki table. | |features= The extension '''ContainerFilter''' adds a <code><nowiki><containerfilter /></nowiki></code> tag to a page. It allows to filter page content based on its CSS-class. By default, the class <code>.wikitable tr</code> is used to filter content. This allows to quickly filter a standard MediaWiki table. | ||
'''Example: '''MediaWiki table filter | '''Example: '''MediaWiki table filter | ||
Line 38: | Line 39: | ||
|} | |} | ||
</syntaxhighlight> | </syntaxhighlight> | ||
'''Output:''' | '''Output:''' | ||
<containerfilter /> | <containerfilter /> | ||
Line 62: | Line 64: | ||
{{!}}$5.840,00 | {{!}}$5.840,00 | ||
{{!}}} | {{!}}} | ||
Example: List filter | |||
'''Example:''' List filter | |||
<syntaxhighlight lang="text"> | <syntaxhighlight lang="text"> | ||
<containerfilter selector=".filterexample li"></containerfilter> | <containerfilter selector=".filterexample li"></containerfilter> | ||
<div class="filterexample"> | <div class="filterexample"> | ||
Line 76: | Line 79: | ||
<div> | <div> | ||
</syntaxhighlight> | </syntaxhighlight> | ||
'''Output:''' | '''Output:''' | ||
<containerfilter selector=".filterexample"></containerfilter> | <containerfilter selector=".filterexample li"></containerfilter> | ||
<div class="filterexample"> | <div class="filterexample"> |
Revision as of 16:58, 17 July 2023
Extension: ContainerFilter
Overview | |||
---|---|---|---|
Description: |
Allows to filter content elements within a page | ||
State: | stable | Dependency: | BlueSpice |
Developer: | HalloWelt | License: | GPL-3.0-only |
Type: | BlueSpice | Category: | Data Analysis |
Edition: | BlueSpice pro, BlueSpice Farm"BlueSpice Farm" is not in the list (BlueSpice free, BlueSpice free (deactivated), BlueSpice pro, BlueSpice pro (deactivated), BlueSpice farm, BlueSpice farm (deactivated), BlueSpice cloud, BlueSpice cloud (deactivated)) of allowed values for the "BSExtensionInfoEdition" property., BlueSpice Cloud"BlueSpice Cloud" is not in the list (BlueSpice free, BlueSpice free (deactivated), BlueSpice pro, BlueSpice pro (deactivated), BlueSpice farm, BlueSpice farm (deactivated), BlueSpice cloud, BlueSpice cloud (deactivated)) of allowed values for the "BSExtensionInfoEdition" property. | Version: | 4.3+ |
Features
The extension ContainerFilter adds a <containerfilter />
tag to a page. It allows to filter page content based on its CSS-class. By default, the class .wikitable tr
is used to filter content. This allows to quickly filter a standard MediaWiki table.
Example: MediaWiki table filter
<containerfilter />
{| class="wikitable"
!Product
!Sales
|-
|Carretera
|$529.550,00
|-
|Montana
|$13.815,00
|-
|Montana
|$15.022,00
|-
|Montana
|$43.125,00
|-
|Montana
|$9.225,00
|-
|Paseo
|$5.840,00
|}
Output:
Product | Sales |
---|---|
Carretera | $529.550,00 |
Montana | $13.815,00 |
Montana | $15.022,00 |
Montana | $43.125,00 |
Montana | $9.225,00 |
Paseo | $5.840,00 |
Example: List filter
<containerfilter selector=".filterexample li"></containerfilter>
<div class="filterexample">
* Germany: Hr. Müller, Frau Bauer
* England: Mr. Miller, Mrs. Farmer
* France: Mr. Meunier, Mme. Paysanne
* Müller, Bauer, Miller
* Farmer, Meunier, Paysanne
* Meunier, Bauer, Other
<div>
Output:
- Germany: Hr. Müller, Frau Bauer
- England: Mr. Miller, Mrs. Farmer
- France: Mr. Meunier, Mme. Paysanne
- Müller, Bauer, Miller
- Farmer, Meunier, Paysanne
- Meunier, Bauer, Other
Technical Information
This information applies to BlueSpice 4. Technical details for BlueSpice cloud can differ in some cases.
Requirements
- MediaWiki: 1.39.0
Integrates into
- ContentDroplets
- VisualEditor