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