^include( item[, template] )^

Tinderbox Icon


Code Type:   Data Include
Code Scope of Action:   item

^include( item )^

Includes a single item or note (with its default template) in the web page for the current note.

^include( item, template )^

Includes an item with its template HTML export file in the web page for the current note.

The optional second argument, which specifies the export template to use when including is evaluated. This permits parameterised constructions like the following:

^include(^get(WhatToInclude)^,^get(TemplateName)^)^ 

Note that Tinderbox will not generate HTML links for TBX file links that point to notes that are only exported via the ^include method; consider linking to the note's (export) parent note.


Up: Data Include
Previous: ^getFor(path | item, attribute[, format] )^  Next: ^justChildren( [template] )^ 

[Last updated: 14 Dec 2009, using v5.0]

Google search aTbRef for:  

Licensed under Creative Commons Attribution-Noncommercial-Share Alike 3.0 License
[See aTbRef CC licence Attribution/Waiver info info]

Creative Commons License

Made with Tinderbox