Documentation
This method is called by
RenderCategory to display
a summary for an object listed within the Category topic.
Parameters
Implementation
%STARTINCLUDE%<div class='clsIndexItem clsCategoryItem clearfix'>
%CATINFO{
%DBQUERY{topic="%OBJECT%" format="cat=\"$topic\" web=\"$web\""}%
format="$icon<!-- -->
<a href='$url'>%TITLE{default="$title"}%</a>%TITLEEXTRA{default=""}%%IF{"context RedDotPluginEnabled" then="$dollarpercntREDDOT{\\"$web.$topic\\"}$dollarpercnt"}%
<div class='foswikiTopicSummary'>$summary</div>"
}%%DBQUERY{topic="%OBJECT%"
format="<div class='foswikiTopicInfo'>
<span class='foswikiRevisionDate'>$formatTime(info.date)</span>
$percntUSERINFO{\"$expand(info.author)\"
format=\"<span class='foswikiRevisionSep'>|</span> <span class='foswikiRevisionAuthor'>$dollarpercntGETTOPICTITLE{\\"$wikiusername\\"}$dollarpercnt</span>\"
}$percnt<!-- -->
</div>"
}%
</div>%STOPINCLUDE%
Test
%CATINFO{
cat="TestCategory11"
web=""
maxchildren="6"
sortchildren="on"
morechildren="
..."
format="
$icon
$title$percntIF{
\"'$count'>'0'\" then=\" ($count)\"
}$percnt
$percntIF{\"'$percntENCODE{\"$summary\" type=\"entity\"}$percnt'!=''\" then=\"
$summary
\"}$percnt
$children $more
"
}%