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 : ^getFor( item, descendedFrom, attribute[, format] )^ (pre v3.0.0) |
^getFor( item, descendedFrom, attribute[, format] )^ (pre v3.0.0) |
[Used up to v2.5.0]
^getFor( item, descendedFrom, attribute[,format])^
Gets any attribute you specify for any item (note) you specify. Note that:
^getFor (CurrentFileName , attribute)^
will get any attribute of the file like a root note.
Multiple levels of inclusion are permitted, but cycles are detected and broken.
The descendedFrom argument is treated as optional and scope is assumed as this if no argument is given here.
Color values - regardless of how defined inside the TBX (name, RGB or hex) are exported as hex; e.g #FF0000. If the attribute is of 'date' type then optionally a format string may be cited.
Up: Data Include | |
Previous: ^get( attribute[, format] )^ | Next: ^getFor(path | item, attribute[, format] )^ (from v3.0.0) |
Licensed under Creative Commons Attribution-Noncommercial-Share Alike 3.0 License
[See aTbRef CC licence Attribution/Waiver info info]