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

Tinderbox Icon


Code Type:   Data Include
Code Scope of Action:   item

^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):

Up: Export Codes - Full Listing
Previous: ^childLinks( start, list-item-prefix, list-item-suffix, end )^  Next: ^cloud( item, count] )^ 

A Tinderbox Reference File : Export Codes : Export Codes - Full Listing : ^children( [template][,N] )^

Quicklinks: Attributes | Action Codes | Export Codes | Designators | Date Formats | aTbRef Site Map

[Last updated: 16 May 2012, using v5.11.1]


Search:

Google search aTbRef for:  


Creative Commons Licence

aTbRef by Mark Anderson is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Unported License.

[See aTbRef CC licence Attribution & Waiver info]

Made with Tinderbox