Documentation
This method is called by
RenderCategory to display
a summary for an object listed within the Category topic.
Parameters
Implementation
%STARTINCLUDE%%DBQUERY{topic="%OBJECT%"
format="<div class='clsIndexItem clsTopicItem clsCategorizedTopicItem clearfix'>
%IF{"defined THEICON" then="$percntJQICON{%THEICON%}$percnt"}%<!-- -->
$percntDBCALL{\"$web.$topic->Applications.RenderTopicThumbnail\"
TYPE=\"plain\"
ALIGN=\"right\"
CROP=\"west\"
}$percnt<!-- -->
[[$web.$topic][$expand(topictitle)]]%IF{"context RedDotPluginEnabled" then="$dollarpercntREDDOT{\\"$web.$topic\\"}$dollarpercnt"}%
$expand('<div class=\"foswikiTopicSummary\">' and Summary and '</div>')<!-- -->
<div class='foswikiTopicInfo'>
<!-- -->$formatTime(info.date)
<!-- -->$percntUSERINFO{\"$expand(info.author)\"
format=\"<span class='foswikiRevisionSep'>|</span> <nop>$dollarpercntGETTOPICTITLE{\\"$wikiusername\\"}$dollarpercnt\"
}$percnt
$percntCATINFO{\"$web.$topic\"
header=\" <span class='foswikiRevisionSep'>|</span> <span class='clsCatInfo'>\"
exclude=\"TopCategory|%URLPARAM{"catname" default="%BASETOPIC%"}%\"
separator=\", \"
footer=\"</span>\"
}$percnt<!-- -->
$percntIF{\"'$expand(total_likes)'>0\"
then=\"<span class='foswikiRevisionSep'>|</span> <span class='clsLikeInfo'>$percntTRANSLATE{\"[quant,_1,like,likes]\" args=\"$expand(total_likes)\"}$percnt</span>\"
}$percnt<!-- -->
</div>
</div>"
}%%STOPINCLUDE%
Test