^basicLinks( start, list-item-prefix, list-item-suffix, end )^

Tinderbox Icon

Code Type:   Link Creation
Code Scope of Action:   item

^basicLinks( start, list-item-prefix, list-item-suffix, end )^

returns all of the basic links from this note, formatted as an unordered list. The logical counterpart of this code is ^inboundLinks^. This code does not include outbound text links on the presumption that these are already present in the output ^text^ of the note. There is no single code to list all outbound links.

This allows you to format the group of links as an HTML list or table in the exact format you want, where "start" is text that will be inserted before all of the links, "end" is text that will be inserted after all of the links, "list-item-prefix" is text that will be inserted before each link, and "list-item-suffix" is text that will be inserted after each link.

Exported links use the CSS class and target based on their underlying Tinderbox link values, if one is specified; the link type value is not picked up as a class name.

Mark-up elements embedded in ^basicLinks^ are evaluated.

Note that unlike other link in/outbound link codes this code and ^inboundLinks^ do not offer an option link type filter.

Item objects source and destination may be used in expressions to indicate from where data used within the expression's arguments is drawn.

Up: Creation of Links
Previous: ^ancestors( start, list-item-prefix, list-item-suffix, end )^  Next: ^childLinks( start, list-item-prefix, list-item-suffix, end )^ 

[Last updated: 14 Dec 2009, using v5.0]

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