mal.link.xref.linkid
Parameters
- $node
The element containing an xref attribute.
- $xref
The xref value to generate a link ID from.
This template outputs the fully qualified link ID for an xref attribute. This may simply be $xref, but if $xref starts with the # character, it is prefixed with the ID of the page that contains $node.
See mal.link.linkid for more on link IDs.