Output the desc content for a link element.
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 desc.
An info element that overrides the info found in a target node.
This template outputs the secondary desc text content for a link. If xref points to a valid page or section, the desc from that page or section will be used. The mal.link.content.mode mode is applied to the contents of that desc. 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 mal.link.desc.custom 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.
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.