^include( item|group[, 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. 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.


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

Up: Export Codes - Full Listing
Previous: ^inboundTextLinks( [start, list-item-prefix, list-item-suffix, end, type] )^  Next: ^indent( [data][, N] )^ 

A Tinderbox Reference File : Export Codes : Export Codes - Full Listing : ^include( item|group[, template] )^

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