| 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. From v5.9.2, the scope may be group scope instead, either from an attribute holding a list of paths or a function returning such a list
^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(^value($StringAttribute(ItemNameOrPath))^,^value($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.
