mal2html.ui.links.tiles
Parameters
- $node
A links element to link from.
- $links
A list of links, as from a template in mal-link.
- $role
A link role, used to select the appropriate title and thumbnail.
This template outputs links as thumbnail tiles. For each link, it outputs a div element with a thumbnail, title, and desc (unless the nodesc style hint is used). This template calls mal2html.ui.links.img to find the best-match thumbnail and output the HTML img element for each link.
This template handles link sorting.