%META:TOPICINFO{author="TWikiContributor" date="1429834354" format="1.1" version="1"}% %META:TOPICPARENT{name="TWikiVariables"}% #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: =%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 [[%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: =%CHILDREN{ topic="%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]]