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

---++ Parameters
   * ATTR

---++ Implementation
<verbatim>
%STARTINCLUDE%
---++ List of TWikiForms that use the '%ATTR%' attribute
| *Name* | *Description* |
%~~ DBQUERY{"TopicType=~'\bTWikiForm\b' AND text=~'\n\| *(..)?%ATTR% * \|'"
~~~   format="| $topic | $formfield(TopicDescription) |"
~~~ }%
%STOPINCLUDE%
</verbatim>

---++ Test
<div class="alt">
%DBCALL{"RenderTWikiFormList" ATTR="Headline"}%
</div>
<div class="alt">
%DBCALL{"RenderTWikiFormList" ATTR="BaseRef"}%
</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="" title="TopicDescription" value="Renders a list of TWikiForms that use a given TWikiFormAttribute"}%
