%META:TOPICINFO{author="TWikiContributor" date="1135112682" format="1.1" version="1.1"}%
%META:TOPICPARENT{name="TopicFunction"}%
---+ Function: %TOPIC%
%FORMFIELD{"TopicDescription"}%

---++ Parameters
   * THISWEB: name of the web 
   * THISTOPIC: name of the topic

---++ Implementation
<verbatim>
%STARTINCLUDE%
<noautolink>
%~~ DBQUERY{topic="%THISTOPIC%" web="%THISWEB%"
~~~   format="$expand(Teaser or Text)"
~~~ }%
</noautolink>
%STOPINCLUDE%
</verbatim>

---++ Test
<div class="alt">
%DBCALL{"%TOPIC%" THISTOPIC="TestBlogEntry0" THISWEB="%WEB%"}%
</div>

%DBCALL{"RenderFunctionCallers"}%

<!--
   * Set ALLOWTOPICCHANGE = %MAINWEB%.BlogAdminGroup
   * Set SIDEBAR = Admin
   * Set SIDEBARARG = TopicFunction
-->


%META:FORM{name="TopicForm"}%
%META:FIELD{name="TopicType" attributes="M" title="TopicType" value="TopicFunction"}%
%META:FIELD{name="TopicDescription" attributes="M" title="TopicDescription" value="Render a topic summary for a search hit"}%
%META:TOPICMOVED{by="MichaelDaum" date="1130235147" from="Blog.RenderSearchHit" to="Blog.RenderTopicSummary"}%
