Difference: VarCHILDREN ( vs. 1)

Revision 12015-04-24 - TWikiContributor

Line: 1 to 1
META TOPICPARENT name="TWikiVariables"

CHILDREN -- find children of a topic

  • Find direct children of a topic, as defined by the parent-child relationship between topics.
  • To find children recursively (topic tree) use the TWiki:Plugins.TreePlugin (not yet installed).
  • Syntax: %CHILDREN{...}%
  • Supported parameters:
    Parameter: Description:
    <-- -->
    Sorted ascending
    format="..." Custom format for each topic found. Supports same format strings as SEARCH.
    See FormattedSearch for usage, variables & examples
    default="none" Default text shown if no children found. "" (empty)
    separator="..." Separator between topics. ", "
    topic="%TOPIC%" The topic to find the children. Current topic
    web="%WEB%" Wiki web. Current web
  • Example: %CHILDREN{ topic="%TOPIC%" }%
  • Category: SearchingAndListingVariables, SystemInformationVariables
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 1999-2023 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback
Note: Please contribute updates to this topic on TWiki.org at TWiki:TWiki.VarCHILDREN.