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. Some of the examples are displayed using the "glue" syntax of the TWiki:Plugins.GluePlugin to ease reading multiline TML expressions and arguments.
%FLEXWEBLIST%DnD? Main Support TWiki
%FLEXWEBLIST{webs="%MAINWEB%,public,%TWIKIWEB%"}%Main DnD? Support TWiki
%FLEXWEBLIST{subwebs="none"}%DnD? Main Support TWiki
%FLEXWEBLIST{subwebs="only"}%
%FLEXWEBLIST{subwebs="Sandbox"}%
%FLEXWEBLIST{exclude="TestCases|Trash.*" subwebs="none"}%DnD? Main Support TWiki
%FLEXWEBLIST{include="Sandbox(/\w+)?"}%
%FLEXWEBLIST{format="$indent * [[$web.%HOMETOPIC%][$name]]$n"}%
%~~ FLEXWEBLIST{ ~~~ header="<ul>" ~~~ format="<li>[[$web.%HOMETOPIC%][$name]]" ~~~ separator="</li>" ~~~ footer="</li></ul>" ~~~ }%
%~~ FLEXWEBLIST{ ~~~ exclude="TestCases|Trash.*" ~~~ subwebs="none" ~~~ selection="Sandbox" ~~~ format="$indent * [[$web.%HOMETOPIC%][$name]]$n" ~~~ markerformat="$percntFLEXWEBLIST{ ~~~ webs=\"$web\" ~~~ format=\"$dollarindent * [[$dollarweb.%HOMETOPIC%][$dollarname]]$dollarn\" ~~~ }$percnt" ~~~ }%
%~~ FLEXWEBLIST{ ~~~ header="<ul>" ~~~ format="<li> ~~~ $percntTWISTYBUTTON{ ~~~ id=\"twisty_weblist_$web\" ~~~ link=\"$name ($nrsubwebs)\" ~~~ }$percnt" ~~~ separator="</li>" ~~~ subheader=" ~~~ $percntTWISTYTOGGLE{ ~~~ id=\"twisty_weblist_$web\" ~~~ mode=\"div\" ~~~ }$percnt<ul>" ~~~ subfooter="</li></ul>$percntENDTWISTY$percnt" ~~~ footer="</li></ul>" ~~~ }%
%~~ FLEXWEBLIST{ ~~~ webs="%MAINWEB%,public,%TWIKIWEB%" ~~~ exclude="TestCases|Trash.*" ~~~ header="<ul>" ~~~ format="<li>[[$web.%HOMETOPIC%][$name]] ~~~ $percntIFDEFINEDTHEN{\"$nrsubwebs \" as=\"0 \"}$percnt ~~~ $percntELSEDEFINED$percnt ~~~ $percntTWISTYBUTTON{ ~~~ id=\"sitemap_$web\" ~~~ buttonmode=\"span\" ~~~ showimg=\"$percntICONURLPATH{\"toggleopenleft\"}$percnt\" ~~~ hideimg=\"$percntICONURLPATH{\"toggleclose\"}$percnt\" ~~~ }$percnt ~~~ $percntFIDEFINED$percnt" ~~~ separator="</li>$n" ~~~ subheader="$percntTWISTYTOGGLE{id=\"sitemap_$web\"}$percnt<ul>" ~~~ subfooter="</li></ul>$percntENDTWISTY$percnt" ~~~ footer="</ul>" ~~~ }%
%~~ FLEXWEBLIST{ ~~~ map="TestCases=Tests,%TWIKIWEB%=System,%MAINWEB%=Home" ~~~ format="$indent * [[$web.%HOMETOPIC%][$name]]$n" ~~~ }%
%~~ FLEXWEBLIST{ ~~~ exclude="TestCases|Trash.*" ~~~ format="$indent * <span class=\"$marker\"> $web </span>$n" ~~~ marker="twikiAlert" ~~~ selection="%BASEWEB%" ~~~ }%
%~~ FLEXWEBLIST{ ~~~ exclude="TestCases|Trash.*" ~~~ format="$indent * [[$web.%HOMETOPIC%][$name]]$n" ~~~ markerformat="$indent * ~~~ [[$web.%HOMETOPIC%][<span class=\"twikiAlert\">$name</span>]]$n" ~~~ selection="%BASEWEB%" ~~~ }%