#VarCHILDREN ---+++ 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 %IF{ "istopic 'TWiki.TreePlugin'" then="TWiki.TreePlugin" else="TWiki:Plugins.TreePlugin (not yet installed)" }%. * Syntax: =%<nop>CHILDREN{...}%= * Supported parameters: | *Parameter:* | *Description:* | *Default:* | | =web="%<nop>WEB%"= | Wiki web. | Current web | | =topic="%<nop>TOPIC%"= | The topic to find the children. | Current topic | | =format="..."= | Custom format for each topic found. Supports same format strings as [[%IF{"'%INCLUDINGTOPIC%'='TWikiVariables'" then="#"}%VarSEARCH][SEARCH]].%BR% See *[[FormattedSearch]]* for usage, variables & examples | ="$topic"= | | =separator="..."= | Separator between topics. | =", "= | | =default="none"= | Default text shown if no children found. | =""= (empty) | * Example: =%<nop>CHILDREN{ topic="%<nop>TOPIC%" }%= * Category: SearchingAndListingVariables, SystemInformationVariables * Related: [[%IF{"'%INCLUDINGTOPIC%'='TWikiVariables'" then="#"}%VarMETA][META]], [[%IF{"'%INCLUDINGTOPIC%'='TWikiVariables'" then="#"}%VarPARENTTOPIC][PARENTTOPIC]], [[%IF{"'%INCLUDINGTOPIC%'='TWikiVariables'" then="#"}%VarMETASEARCH][METASEARCH]], [[%IF{"'%INCLUDINGTOPIC%'='TWikiVariables'" then="#"}%VarSEARCH][SEARCH]]
This topic: TWiki
>
WebHome
>
TWikiVariables
>
VarCHILDREN
Topic revision: r1 - 2015-04-24 - TWikiContributor
Copyright © 1999-2025 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
.