Last edited 2 years ago
by Anonymous user

SocialEntity:29 and Reference:ContainerFilter: Difference between pages

(Difference between pages)
No edit summary
 
No edit summary
Tag: 2017 source edit
 
Line 1: Line 1:
{
{{BSExtensionInfo
    "social-profile-title": null,
|status=stable
    "social-profile-name": null,
|developer=HalloWelt
    "social-profile-email": null,
|type=BlueSpice
    "social-profile-department": "",
|edition=BlueSpice pro, BlueSpice Farm, BlueSpice Cloud
    "social-profile-function": "",
|compatible=BlueSpice
    "social-profile-location": "",
|category=Data Analysis
    "social-profile-phone": "",
|bsvFrom=4.3
    "description": "",
|desc=
    "parentid": 0,
|features= This extensions 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.
    "id": 29,
 
    "ownerid": 8,
'''Example: '''MediaWiki table filter
    "type": "profile",
 
    "archived": false,
<syntaxhighlight lang="text">
    "tags": [
<containerfilter selector=".filterexample li"></containerfilter>
        "User:Fbaeckmann"
 
    ],
{| class="wikitable"
    "resolved": false
!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
|}
</syntaxhighlight>
'''Output:'''
<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
|}
Example:  
<syntaxhighlight lang="text">
<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>
</syntaxhighlight>
 
 
 
}}

Revision as of 17:53, 17 July 2023

Extension: ContainerFilter

all extensions

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 Cloud Version: 4.3+

Features

This extensions 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 selector=".filterexample li"></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:

{

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

Special pages

Hooks