Output topic links from a page or section.
A links, page, or section element to link from.
The depth level for the HTML header element.
A list of links from mal.link.topiclinks.
The list of link groups for this links element.
The list of all valid groups for the page or section.
This template outputs topic links for a page or section. It does not extract the links itself. They must be passed in with the links parameter. This template only outputs links which have a group that matches groups. The groups parameter is not expected to have the implicit groups first, default, and last. These are added automatically by this template when determining which links to output.