These are some simple examples to show how to use the basic features
of the
FlexWebListPlugin. Please create some subwebs in the Sandbox web
for a better illustration of the examples below.
No params (almost)
%FLEXWEBLIST{separator=", " subheader=", "}%
Anwendungskompetenz, Blockwoche, CLB, Challenge, Challenge22, Cluster, DPACK, Dagstuhl, Datafication, Digital, Digitalitaet, FL, FMS, Facile, Fadimi, GDI, GDI16, GDI17, GDI18, GDI19, GDI20, GDI21, GDI22, GDI23, GL, GMLS, Gender, IMS, Informatikdidaktik, KIPKO, L2L, Lehrmittel, Lehrmittelvergleich, Lernentrotzcorona, MAIP, MIA, MIGIFEST, MIGMLS, MIMD, MIMKMAMKH18, MIMKMAMKH19, MSBE, MSBE21, MSBE22, MSBE23, MSDI, MSDI19, MSDI20, MSDI21, MSDI22, MSDI23, MSDM, MSET, MSFE, MSFE20, MSFE21, MSFE22, MSFE23, MSGF, MSWT, Main, Material, Medienbildung, News, One, Online, PICTS, PWMDW, Primarstufe, Rigi, Sandbox, Schulleitung, Sekundarstufe, Sprachmaschinen, Summerschool, System, Test, Uri, Virtual
Influencing order
%FLEXWEBLIST{webs="%USERSWEB%,public,%SYSTEMWEB%" separator=", " subheader=", "}%
Main, Anwendungskompetenz, Blockwoche, CLB, Challenge, Challenge22, Cluster, DPACK, Dagstuhl, Datafication, Digital, Digitalitaet, FL, FMS, Facile, Fadimi, GDI, GDI16, GDI17, GDI18, GDI19, GDI20, GDI21, GDI22, GDI23, GL, GMLS, Gender, IMS, Informatikdidaktik, KIPKO, L2L, Lehrmittel, Lehrmittelvergleich, Lernentrotzcorona, MAIP, MIA, MIGIFEST, MIGMLS, MIMD, MIMKMAMKH18, MIMKMAMKH19, MSBE, MSBE21, MSBE22, MSBE23, MSDI, MSDI19, MSDI20, MSDI21, MSDI22, MSDI23, MSDM, MSET, MSFE, MSFE20, MSFE21, MSFE22, MSFE23, MSGF, MSWT, Material, Medienbildung, News, One, Online, PICTS, PWMDW, Primarstufe, Rigi, Sandbox, Schulleitung, Sekundarstufe, Sprachmaschinen, Summerschool, System, Test, Uri, Virtual
Controlling subwebs
No subwebs
%FLEXWEBLIST{subwebs="none" separator=", " subheader=", "}%
Anwendungskompetenz, Blockwoche, CLB, Challenge, Challenge22, Cluster, DPACK, Dagstuhl, Datafication, Digital, Digitalitaet, FL, FMS, Facile, Fadimi, GDI, GDI16, GDI17, GDI18, GDI19, GDI20, GDI21, GDI22, GDI23, GL, GMLS, Gender, IMS, Informatikdidaktik, KIPKO, L2L, Lehrmittel, Lehrmittelvergleich, Lernentrotzcorona, MAIP, MIA, MIGIFEST, MIGMLS, MIMD, MIMKMAMKH18, MIMKMAMKH19, MSBE, MSBE21, MSBE22, MSBE23, MSDI, MSDI19, MSDI20, MSDI21, MSDI22, MSDI23, MSDM, MSET, MSFE, MSFE20, MSFE21, MSFE22, MSFE23, MSGF, MSWT, Main, Material, Medienbildung, News, One, Online, PICTS, PWMDW, Primarstufe, Rigi, Sandbox, Schulleitung, Sekundarstufe, Sprachmaschinen, Summerschool, System, Test, Uri, Virtual
Only subwebs
%FLEXWEBLIST{subwebs="only" separator=", " subheader=", "}%
Subwebs of "Sandbox"
%FLEXWEBLIST{subwebs="Sandbox" separator=", " subheader=", "}%
Using include and exclude
Exclude TestCases and Trash webs
%FLEXWEBLIST{exclude="(TestCases|Trash).*" subwebs="none" separator=", " subheader=", "}%
Anwendungskompetenz, Blockwoche, CLB, Challenge, Challenge22, Cluster, DPACK, Dagstuhl, Datafication, Digital, Digitalitaet, FL, FMS, Facile, Fadimi, GDI, GDI16, GDI17, GDI18, GDI19, GDI20, GDI21, GDI22, GDI23, GL, GMLS, Gender, IMS, Informatikdidaktik, KIPKO, L2L, Lehrmittel, Lehrmittelvergleich, Lernentrotzcorona, MAIP, MIA, MIGIFEST, MIGMLS, MIMD, MIMKMAMKH18, MIMKMAMKH19, MSBE, MSBE21, MSBE22, MSBE23, MSDI, MSDI19, MSDI20, MSDI21, MSDI22, MSDI23, MSDM, MSET, MSFE, MSFE20, MSFE21, MSFE22, MSFE23, MSGF, MSWT, Main, Material, Medienbildung, News, One, Online, PICTS, PWMDW, Primarstufe, Rigi, Sandbox, Schulleitung, Sekundarstufe, Sprachmaschinen, Summerschool, System, Test, Uri, Virtual
Include Sandbox web and all of its subwebs
%FLEXWEBLIST{include="Sandbox(\.\w+)?" separator=", " subheader=", "}%
Sandbox
Creating lists
Simple nested list
%FLEXWEBLIST{format="$indent * [[$web.%HOMETOPIC%][$name]]$n"}%
Nested list using HTML
%FLEXWEBLIST{
header="<ul>"
format="<li>[[$web.%HOMETOPIC%][$name]]"
separator="</li>"
footer="</li></ul>"
}%
Nested calls to FLEXWEBLIST
%FLEXWEBLIST{
exclude="(TestCases|Trash).*"
subwebs="none"
selection="Applications"
format="$indent * [[$web.%HOMETOPIC%][$name]]$n"
markerformat="$percntFLEXWEBLIST{
include=\"^$web.*\"
format=\"$dollarindent * [[$dollarweb.%HOMETOPIC%][$dollarname]]$dollarn\"
}$percnt"
}%
Twisty weblist
needs the
Foswiki:Extensions/TwistyPlugin
%FLEXWEBLIST{
header="<ul><li>"
format="
$percntTWISTY{
link=\"$name $percntIF{\"$nrsubwebs > 0\" then=\"($nrsubwebs)\"}$percnt\"
}$percnt"
separator="$percntENDTWISTY$percnt</li><li>"
footer="</li></ul>"
}%
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
Sitemap
Mapping names
%FLEXWEBLIST{
map="TestCases=Tests,%SYSTEMWEB%=Documentation,%USERSWEB%=Users"
format="$indent * [[$web.%HOMETOPIC%][$name]]$n"
}%
Marking a selection
Using marker
%FLEXWEBLIST{
exclude="(TestCases|Trash).*"
format="$indent * <span class=\"$marker\"> $web </span>$n"
marker="foswikiAlert"
selection="%BASEWEB%"
}%
- Anwendungskompetenz
- Blockwoche
- CLB
- Challenge
- Challenge22
- Cluster
- DPACK
- Dagstuhl
- Datafication
- Digital
- Digitalitaet
- FL
- FMS
- Facile
- Fadimi
- GDI
- GDI16
- GDI17
- GDI18
- GDI19
- GDI20
- GDI21
- GDI22
- GDI23
- GL
- GMLS
- Gender
- IMS
- Informatikdidaktik
- KIPKO
- L2L
- Lehrmittel
- Lehrmittelvergleich
- Lernentrotzcorona
- MAIP
- MIA
- MIGIFEST
- MIGMLS
- MIMD
- MIMKMAMKH18
- MIMKMAMKH19
- MSBE
- MSBE21
- MSBE22
- MSBE23
- MSDI
- MSDI19
- MSDI20
- MSDI21
- MSDI22
- MSDI23
- MSDM
- MSET
- MSFE
- MSFE20
- MSFE21
- MSFE22
- MSFE23
- MSGF
- MSWT
- Main
- Material
- Medienbildung
- News
- One
- Online
- PICTS
- PWMDW
- Primarstufe
- Rigi
- Sandbox
- Schulleitung
- Sekundarstufe
- Sprachmaschinen
- Summerschool
- System
- Test
- Uri
- Virtual
%FLEXWEBLIST{
exclude="(TestCases|Trash).*"
format="$indent * [[$web.%HOMETOPIC%][$name]]$n"
markerformat="$indent *
[[$web.%HOMETOPIC%][<span class=\"foswikiAlert\">$name</span>]]$n"
selection="%BASEWEB%"
}%