Services · Blog · Demo
Welcome, Registration, and other StartingPoints; TWiki history & Wiki style; All the docs...

ChildTopicsPlugin

Recursively count child topics

CHILDTOPICS

List topics that refer to a given topic recursively, either by specifying a TopicReference explicitly in a TWikiForm field, or by being a child topic.

Syntax:

%COUNTCHILDTOPICS{"<topic>" ... }%
"<topic>" name of a topic
web="..." web where to search for references; defaults to the web specified as part of the "topic" parameter or the current one
format="..." format string used to display the count; the variable $count is replaced by the calculated references; defaults to "$count"
single="..." format string used to display a single hit; defaults to the "format" value (see above)
null="..." format string used to display a zero hit; defaults to "0"
hidenull="on,off" if set to "on" nohting is displayed if no references where found; defaults to "off"

Following variables are expanded in format strings:

  • $percnt: % sign
  • $dollar: $ sign
  • $n: newline
  • $nop: "empty string"
  • $count: the calculated number of references

Installation Instructions

%$INSTALL_INSTRUCTIONS%

Plugin Info

Plugin Author: TWiki:Main.MichaelDaum
Copyright ©: 2007, MichaelDaum@WikiRing.com
License: GPL (GNU General Public License)
Plugin Version: %$VERSION%
Change History:  
Dependencies: %$DEPENDENCIES%
Plugin Home: TWiki:Plugins/ChildTopicsPlugin
Feedback: TWiki:Plugins/ChildTopicsPluginDev
Appraisal: TWiki:Plugins/ChildTopicsPluginAppraisal

r4 - 13 Jan 2007 - 14:55:27 - MichaelDaum
This site is powered by the TWiki collaboration platformCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding WikiRing? Send feedback
Note: Please contribute updates to this topic on TWiki.org at TWiki:TWiki.ChildTopicsPlugin
Syndicate this site RSSATOM