This version is out of date, covering development from v6.0.0 to v6.6.5. It is maintained here only for inbound reference links from elsewhere. It is no longer actively updated.

Jump to the current version of aTbRef

TinderboxSix Icon

Notes as export templates

Export templates can be stored in a Tinderbox note.

The note's Properties Inspector Prototype sub-tab has an check-box, Template. If this is checked, the note's path appears in the template menu, and the note may be used as an export template. (N.B. this option applies only to proper notes and not agents).

Template notes appear in selection menus by their complete path. For example, if the template Book Template is a note inside the root-level container named "Templates", it appears in the menu as

/Templates/Book Template 

If a note's name (or path/name) is identical to the name of a template file, the note template will be used rather than the file.

To avoid unwanted name conflicts, it is suggested to store templates in a dedicated container, perhaps using a self-evident name like "Templates". When referring to a template in code, it is sufficient to use the $Name as a quoted string (assuming it is unique in the TBX).

A note's availability as a template is stored in attribute $IsTemplate.

Note templates can be selected from text pane's HTML tab (only if no template has been initially set) or via the HTML Inspector's Export tab.

From v6.3.1, template notes ignore the smart links feature.

A Tinderbox Reference File : Export : Notes as export templates