Change book | Close bookmaker |
%STARTINCLUDE% %DBQUERY{ "WikiApplication='\b%NAME{default="%EXTRACT{text="%BASEWEB%" pattern=".*/(.+?)$" format="$1"}%"}%\b' AND TopicType=~'\b%TYPE%\b' %IF{"defined NOTTYPE" then=" AND !(TopicType=~'\b%NOTTYPE%\b')"}%" web="%THEWEB{default="%BASEWEB%"}%" hidenull="on" header="<div class='twbDocuHolder'> ---+++ [[%TYPE%]]$n" format="<div class='twbDocuSectionHolder'> ---++++ [[$topic]] <div class='twbDocuSectionSummary'>$formfield(Summary)</div> <div class='twbDocuSectionText'>$percntDBCALL{\"$web.$topic\" section=\"documentation\" warn=\"off\"}$percnt ... [[$web.$topic][%MAKETEXT{"read more"}%]]</div> </div>" separator="$n" footer="</div>" }% %STOPINCLUDE%
jpe?g|JPE?G|gif|GIF|png|PNG|svg|SVG|webp|WEBP
MyTopicTypeRenderRss
.
These are then called automatically using the %DBCALL{"web.topic->RenderRss"}%
method call of the RssViewTemplate.
<fieldName1>=<value1>;<fieldName2>=<value2>;...
INCLUDINGWEB.INCLUDINGTOPIC
BASETOPIC
save
or edit
, defaults to edit
save
jpeg, jpg, gif, bmp, svg or png
. If there are multiple image attachments
then the first one ordered by comment and name is taken. The empty string
is returned if no image attachment is found.
on
comment:name
which will take the one that sorts first wrt the comment, falling back to the name
global
or one per column using multi
, default global