Web recursive topic list
This can be included from the WebHome of a Web, to display its topics, as well as its first-level subwebs and their own topics inside a twisty.
Only actual pages are displayed there. Aka categories, utility topics starting with Web, are hidden,
Usage
To use, simply add:
%INCLUDE{"%SYSTEMWEB%.WebRecursiveTopicList"}%
The code
%STARTINCLUDE%
<ul>
%FORMATLIST{
"%TOPICLIST{web="%BASEWEB%" separator=","}%"
format=" <li> [[%BASEWEB%.$1]]</li>"
separator="$n"
exclude="^(.*Category|ClassifiedTopic|SlidesTemplate|UntaggedTopics|UncategorizedTopics|Web.*)"
}%
%WEBLIST{
" <li> [[$name.%HOMETOPIC%]] $percentTWISTY{showlink=$quot$percentJQICON{$quotfa-plus-square$quot}$percent$quot hidelink=$quot$percentJQICON{$quotfa-minus-square$quot}$percent$quot mode=$quotspan$quot}$percent
$percentFORMATLIST{
$quot$percentTOPICLIST{web=$qname separator=$quot,$quot}$percent$quot
header=$quot<ul>$quot
format=$quot<li>[[$name.$1]]$quot
footer=$quot</ul>$quot
separator=$quot$dollarn$quot
exclude=$quot^(.*Category|ClassifiedTopic|SlidesTemplate|UntaggedTopics|UncategorizedTopics|Web.*)$quot
}$percent $percentENDTWISTY$percent</li>"
separator="$n"
subwebs="%BASEWEB%"
}%
</ul>
%STOPINCLUDE%
For centers
%STARTSECTION{"centers_list"}%<ul>%FORMATLIST{
"%TOPICLIST{web="%BASEWEB%" separator=","}%"
format=" <li> [[%BASEWEB%.$1]]"
separator="$n"
exclude="^(.*Category|ClassifiedTopic|SlidesTemplate|UntaggedTopics|UncategorizedTopics|Web.*)"
}%
%WEBLIST{
" <li> [[$name.%HOMETOPIC%]] $percentINCLUDE{$quot$name.%HOMETOPIC%$quot section=$quotcomplete_name$quot}$percent $percentTWISTY{showlink=$quot$percentJQICON{$quotfa-plus-square$quot}$percent$quot hidelink=$quot$percentJQICON{$quotfa-minus-square$quot}$percent$quot mode=$quotspan$quot}$percent
$percentFORMATLIST{
$quot$percentTOPICLIST{web=$qname separator=$quot,$quot}$percent$quot
header=$quot<ul>$quot
format=$quot<li>[[$name.$1]]</li>$quot
footer=$quot</ul>$quot
separator=$quot$dollarn$quot
exclude=$quot^(.*Category|ClassifiedTopic|SlidesTemplate|UntaggedTopics|UncategorizedTopics|Web.*)$quot
}$percent $percentENDTWISTY$percent</li>"
separator="$n"
subwebs="%BASEWEB%"
}%</ul>
%ENDSECTION{"centers_list"}%