This version is out of date, covering development as far as v4.2.5. 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 Codes - Full Listing : ^include( item[, template] )^ |
^include( item[, template] )^ |
^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.
Prior to v 3.0.0, Tinderbox ignored paths that included containers that were not exported. For example
^include(/documentation/details/note)^
would include nothing if documentation or details were had HTMLDontExport set to true, even if note had HTMLDontExport set to false.
v3.0.2 now evaluates the optional second argument, which specifies the export template to use when including. 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: Item-based | |
Previous: ^inboundTextLinks( [start, list-item-prefix, list-item-suffix, end, type] )^ | Next: ^indent( data )^ |
Licensed under Creative Commons Attribution-Noncommercial-Share Alike 3.0 License
[See aTbRef CC licence Attribution/Waiver info info]