This version is out of date, covering development from v5.0.0 to v5.12.2. It is maintained here only for inbound reference links from elsewhere.

Jump to the current version of aTbRef.

Tinderbox Icon

^children( [template][,N] )^


Code Type: 

Code Scope of Action: 

Code First Added: 

Code Altered: 

 Data Include   [other codes of this type]

 item   [codes with similar scope]

 Already in v5.0.0

 format"


^children^

Tells Tinderbox to include the immediate children of the current note (or agent) in the current web page using their default template file.

^children( template )^

Tells Tinderbox to include the descendants of the current note (or agent) in the current Web page using the specified template file.

^children( template,N )^

Tells Tinderbox to include only the first N immediate children of the current note (or agent) with the specified template file. If N is used without a template, a comma must be placed before N.

This replaces the now deprecated ^justChildren( template )^. The original ^children^ function was replaced by ^descendants^.

^children^ evaluates its template argument, allowing agents and containers to use expressions like

^children(^value($MyTemplate)^)^

The HTMLDontExport settings of children are respected.


Possible relevant notes (via "Similar Notes" feature):


A Tinderbox Reference File : Export Codes : Export Code Types : Data Include : ^children( [template][,N] )^