This version is out of date, covering development from v4.6.0 to v4.7.1. It is maintained here only for inbound reference links from elsewhere. Jump to the current version of aTbRef. |
|
A Tinderbox Reference File : Export Codes : Export Code Types : Data Include : ^include( item[, template] )^ | aTbRef Site Map |
^include( item[, template] )^ |
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] )^ |
Licensed under Creative Commons Attribution-Noncommercial-Share Alike 3.0 License
[See aTbRef CC licence Attribution/Waiver info info]