summaryrefslogtreecommitdiff
path: root/doc/yelp-xsl/C/mal2html.ui.links.tiles.page
blob: 0381784fb7293009bd183f2559664caab52dec76 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
<?xml version="1.0"?>
<page xmlns="http://projectmallard.org/1.0/" id="mal2html.ui.links.tiles" type="topic" style="xslt-template"><info><link type="guide" xref="mal2html-ui" group="templates"/><link type="guide" xref="templates" group="mal2html"/><revision version="3.28" date="2015-10-22" status="volatile"/><desc>Output links as thumbnail tiles.</desc></info><title>mal2html.ui.links.tiles</title><p>Output links as thumbnail tiles.</p>
  
  
  <synopsis><title>Parameters</title><terms>
    <item>
      <title><code>node</code></title>
      <p>A <code>links</code> element to link from.</p>
    </item>
    <item>
      <title><code>links</code></title>
      <p>A list of links, as from a template in <file xref="mal-link">mal-link</file>.</p>
    </item>
    <item>
      <title><code>role</code></title>
      <p>A link role, used to select the appropriate title and thumbnail.</p>
    </item>
  </terms></synopsis>
  <p>This template outputs links as thumbnail tiles. For each link, it outputs a <code>div</code> element with a thumbnail, title, and desc (unless the <code>nodesc</code> style hint is used). This template calls <code style="xslt-template" xref="mal2html.ui.links.img">mal2html.ui.links.img</code> to find the best-match thumbnail and output the HTML <code>img</code> element for each link.</p>
  <p>This template handles link sorting.</p>
<list style="compact"><title>Calls Templates</title><item><p><link xref="mal.link.target"/></p></item><item><p><link xref="mal.link.tooltip"/></p></item><item><p><link xref="mal.link.content"/></p></item><item><p><link xref="mal.link.desc"/></p></item></list><list style="compact"><title>Calls Modes</title><item><p><link xref="_mal2html.links.divs.nolink.mode"/></p></item></list><list style="compact"><title>Calls Keys</title><item><p><link xref="mal.cache.key"/></p></item></list><list style="compact"><title>Calls Parameters</title><item><p><link xref="mal.cache"/></p></item></list></page>