Tags:
create new tag
view all tags

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: Default:
    web="%WEB%" Wiki web. Current web
    topic="%TOPIC%" The topic to find the children. Current topic
    format="..." Custom format for each topic found. Supports same format strings as SEARCH.
    See FormattedSearch for usage, variables & examples
    "$topic"
    separator="..." Separator between topics. ", "
    default="none" Default text shown if no children found. "" (empty)
  • Example: %CHILDREN{ topic="%TOPIC%" }%
  • Category: SearchingAndListingVariables, SystemInformationVariables
  • Related: META, PARENTTOPIC, METASEARCH, SEARCH
Edit | Attach | Watch | Print version | History: r1 | Backlinks | Raw View | More topic actions
Topic revision: r1 - 2015-04-24 - TWikiContributor
 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 1999-2024 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.