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 Code Arguments |
Export Code Arguments |
The argument action refers to a statement that can be evaluated as if an Action or Rule.
The arguments argument and anotherArgument refer to text or code supplied as macro arguments.
The argument attribute refers to an explicit attribute name.
The argument count refers to a number, in figures, e.g. 5 not five.
The argument css class is the (text) name of a CSS mark up class.
The argument data (data1, data2, etc.) refer to either:
The argument date refers to either:
The argument expression refers to a statement that can be evaluated and assigned to an attribute.
The argument format refers to either:
The argument group is either:
The argument item is either:
The argument N refers to a number, in figures, e.g. 5 not five.
The argument precision refers to the number of decimal points that are exported.
The argument path refers to the path to a note or agent (including the latter's Name).
The arguments start, list-item-prefix, list-item-suffix, start, list-item-prefix, list-item-suffix, end refer to optional alternate HTML mark up and text for a list of links.
The argument target refers to either:
The argument template refers to a template file name either:
Export argument value may be enclosed in double quotes. The quotes will be ignored, but doing so can help avoid parsing difficulties. From v4.0.0, use of quotes for string values is recommended. This is because many new operators have been added and the scope for misinterpretation of string literals as code has increased. For example, if a note is named ...
she, shyly
... the comma would confused the parser in expressions like:
^linkTo(she, shyly)^
<- won't work
... so this may now (optionally) be written with double quotes:
^linkTo("she, shyly")^
From v4.0.0, link lists can use two new references in their optional mark-up arguments:
Up: Export Codes | |
Previous: Export Code Scope | Next: Quick Lists |
Licensed under Creative Commons Attribution-Noncommercial-Share Alike 3.0 License
[See aTbRef CC licence Attribution/Waiver info info]