(The Help System)



The link or other element creating the link.


The action attribute of $node.


The xref attribute of $node.


The href attribute of $node.


A space-separated list of link roles, used to select the appropriate title.


An info element that overrides the info found in a target node.

This template outputs the automatic text content for a link. It should only be used for links that do not have specified content. If $xref points to a valid page or section, the appropriate link title from that page or section will be selected, based on the list of roles in $role. The first role for which a matching link title is found will be used. Otherwise, the link title without a role is used, or the primary title. The mode is applied to the contents of that title. Stylesheets using this template should map that mode to inline processing.

For inline links, $node should be the link element. For links from a links element, $node should be that links element, or the containing element when the links element is implicit.

This template first calls with the same arguments. If that template returns a non-empty result, it is used as the return value, overriding any other behavior of this template.

If only $href is provided, that URL is used as the text content. If a target page or section cannot be found, $xref is used as the text content.

Normally, this template automatically looks up information from a targret node according to the $xref parameter. However, if the $info parameter is given, information in that node set is used instead. This is useful for external info links, where the target information is provided as child elements to the link element.

Calls Keys

Calls Modes