source

Tinderbox Icon

Used (only) by export codes that create link lists.

The object refers to the note from which the exported links will arise. In most (all?) cases this equates to both this and current, so the object 'source' makes it easier for the user to specify generically from where data is drawn.

See also - destination.

For example,

^basicLinks(<ul>,"<li>^getFor(source,Name)^ - > ",</li>,</ul>)^

will export a list of links, each target note's Name preceded by the source note's name and a -> pointing to the target note's name.

Note that the placeholder can be used in the link export code's item prefix and/or suffix arguments. Meanwhile, the link's anchor text always remains the Name (i.e. title) of the link's target note, linked to that note's page's url.


Up: Item Objects
Previous: root  Next: this 

[Last updated: 1 Dec 2008]

Google search aTbRef for:  

Licensed under Creative Commons Attribution-Noncommercial-Share Alike 3.0 License
[See aTbRef CC licence Attribution/Waiver info info]

Creative Commons License

Made with Tinderbox